Replies: 1 comment
-
I am encountering a similar problem where WebRTC functionality seems to be non-operational in edge mode. @winlinvip, would you contemplate implementing WebRTC compatibility for edge mode?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am setting up an SRS origin-edge cluster using Docker. I want to publish a single RTMP stream to the origin and play it back on the proxy using HTTP-FLV, HLS, and WebRTC. My motivation is that when I stream several camera with WebRTC through my AWS server, the second camera experiences latency. From my understanding, SRS works on a single thread that might create issues. Thus, I decided to use multi-containers system (Please let me know if there are better ways to do!). For now I am just trying two containers:
I was able to:
My problem:
WebRTC playback is the only thing that fails. The browser makes a successful connection to the proxy (logs show connection established), but no video ever appears. The proxy log shows it connects to the origin to pull the stream, but the connection then times out or fails with a video parsing error (avc demux annexb : not annexb).
My docker-compose.yml:
origin.conf:
proxy.conf:
I do not understand why it is so difficult to make it work... Please help me.
Beta Was this translation helpful? Give feedback.
All reactions