You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been encountering some issues while running this program. Assuming its user error, I would love to help with the docs - this project is very interesting.
Basically, I have followed the instructions for running the application, and can't get the actual seeing the stream part to work (as in, loading video from the browser).
Websockets appear to be working.
I get the expected 'candidate success' in the browser.
There are no errors in the web browser console, and no errors in the application logs either.
The counter for the number of connected users appears to be accurate as well - when I open the page on a new browser, the counter increases.
I can record video and stream to twitch fine using the same OBS setup.
Its running on an EC2 instance, with what I understand to be an open enough set of firewall options.
One clue that I have is sometimes, I get the 'no_connections' info message on the websocket data before it closes:
When this happens, it closes and attempts to reopen the websocket, giving the following log in the console:
could not read message: websocket: close 1001 (going away)
could not read message: read tcp XX.XX.XX.XXX:8080->XX.XX.XXX.XX:27559: use of closed network connection
However, I do not get this all the time, only depending on the settings/environment (for example, doesn't happen in docker, but video still doesn't load).
Things I have tried
Following the firewall instructions from here: #41 (comment)
Streaming from OBS to an ssh-tunneled localhost port, as well as the port on the public IP of the VPS (ingest log suggests it works with both)
Connected to the website on ssh-tunneled localhost port, as well as the port on the public IP of the VPS.
Tested on Firefox and Chrome.
Tested on different IP address from where I'm streaming OBS from.
Tested on docker (docker compose) and when built and run from source
Tested WEBSOCKET_HOST of VPS' public ip, local IP, 172.17.0.1 (for docker), and localhost
Clicking the play button in the bottom left
I stopped just short of running the debugger on the webrtc code. Do you have any other suggestions or ideas for what I might be able to try, or where to go from here?
The text was updated successfully, but these errors were encountered:
Hey Andrew, I'm sorry you're running into this. Can you try clicking the play button in the bottom left hand corner of the video? I think autoplay fails sometimes
My mistake - I should have added this to the list of things I've tried (I've edited original to include). I tried clicking both the video itself and the play button on both chrome and firefox, on docker and built from source. I also tried on mobile browsers, where the video section appears like a normal html video embed (not a custom play button)
Hello,
I've been encountering some issues while running this program. Assuming its user error, I would love to help with the docs - this project is very interesting.
Basically, I have followed the instructions for running the application, and can't get the actual seeing the stream part to work (as in, loading video from the browser).
Websockets appear to be working.
![image](https://user-images.githubusercontent.com/48414170/224195770-6009510a-aea0-4b2c-89d8-5629de22095a.png)
I get the expected 'candidate success' in the browser.
There are no errors in the web browser console, and no errors in the application logs either.
The counter for the number of connected users appears to be accurate as well - when I open the page on a new browser, the counter increases.
OBS appears to be working as well:
I can record video and stream to twitch fine using the same OBS setup.
Its running on an EC2 instance, with what I understand to be an open enough set of firewall options.
One clue that I have is sometimes, I get the 'no_connections' info message on the websocket data before it closes:
![image](https://user-images.githubusercontent.com/48414170/224198212-341568ed-7325-47c5-bce4-22fdaae33473.png)
When this happens, it closes and attempts to reopen the websocket, giving the following log in the console:
However, I do not get this all the time, only depending on the settings/environment (for example, doesn't happen in docker, but video still doesn't load).
Things I have tried
Following the firewall instructions from here: #41 (comment)
Streaming from OBS to an ssh-tunneled localhost port, as well as the port on the public IP of the VPS (ingest log suggests it works with both)
Connected to the website on ssh-tunneled localhost port, as well as the port on the public IP of the VPS.
Tested on Firefox and Chrome.
Tested on different IP address from where I'm streaming OBS from.
Tested on docker (docker compose) and when built and run from source
Tested WEBSOCKET_HOST of VPS' public ip, local IP, 172.17.0.1 (for docker), and localhost
Clicking the play button in the bottom left
I stopped just short of running the debugger on the webrtc code. Do you have any other suggestions or ideas for what I might be able to try, or where to go from here?
The text was updated successfully, but these errors were encountered: