Replies: 5 comments
-
I've looked through your questions, and it seems like you are expecting the following: For WebRTC push-pull streaming, you want to use
|
Beta Was this translation helpful? Give feedback.
-
Hello, I set
In other words, are the peer-to-peer connection targets between the two users each other or SRS? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
So, to implement WebRTC live streaming with WebRTC push streaming and a large number of WebRTC pull streams (for example, hundreds of thousands or millions of clients), as long as there are not too many push streams, a single SRS server can handle it? If we need to expand the push streaming scale, we can use the Origin Cluster mode, right? On the other hand, using RTMP push streaming and WebRTC pull streaming with a cluster would be limited because the transmitted stream remains RTMP until it actually goes out? |
Beta Was this translation helpful? Give feedback.
-
Yes, I talked with Mr. Yang yesterday, and this should be done. You are welcome to submit a PR (pull request). |
Beta Was this translation helpful? Give feedback.
-
Description
I have looked at the wiki but couldn't find the architecture of SRS implementing WebRTC push-pull streaming. I originally thought that the push stream would be uniformly converted to RTMP and then the pull stream would be converted to WebRTC, so that during live streaming, multiple connections would be occupied when multiple clients pull the same stream.
So, I set max_connections to 3 to test what would happen when the connections are full, because I also wanted to test this article: https://www.zhihu.com/question/25497090. Someone said that WebRTC can only support less than ten connections and is not suitable for live streaming. In fact, I opened more than ten players to play the same stream, and all the players played normally, without being affected by the max_connections limit.
So, the questions are, when I use WebRTC for push-pull streaming:
Is the pull stream not limited by max_connections? Or is there any other built-in limit?
Is there a limit for the push stream?
How large does the WebRTC pull stream scale have to be before the picture becomes blurry, or has SRS already optimized this part?
Are there any documents or architecture diagrams for the WebRTC push-pull streaming architecture?
SRS version:
4.0release
SRS log:
Beta Was this translation helpful? Give feedback.
All reactions