Replies: 20 comments
-
The Edge is just designed for live streaming, that is RTMP, so the Edge only supports RTMP/HTTP-FLV. Neither WebRTC nor HLS is not supported by Edge, it's the features of Origin. The cluster for HLS is regular HTTP file-based server, like Nginx or ATS. And cluster for WebRTC is called Cascading over QUIC, it's actually an OriginCluster connected with QUIC not RTMP. Right now, most of WebRTC server does not support cluster, or does not work well, because WebRTC is too complex. We need time to design the arch carefully, especially we support both live streaming and WebRTC.
We may support WebRTC cluster, the OriginCluster over QUIC, in SRS 5.0 or later. It depends on our time resource, and whether we get a stable and simple enough arch. The arch for WebRTC Cluster:
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Moved to #2091 (comment) |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
-
@wangjin TURN is not used for clustering, but for traversing firewalls, such as using the TCP protocol or as an exit gateway. Since TURN only forwards traffic and does not aggregate, it cannot be expanded. Therefore, the traffic after TURN will not decrease, and with SFU, clients do not need to have so many uplinks, and the same is true for clusters. @phusinh Clusters often have a service discovery mechanism. Simply put, you can use configuration files to discover each other and define the worker network within the cluster. You can also use a separate backend service for service discovery. You can refer to this article StackOverflow |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
How is the current development progress of RTC cascading? |
Beta Was this translation helpful? Give feedback.
-
There hasn't been much progress on RTC clustering lately. It would be great if you could first outline the ideas and architecture, and everyone can participate. |
Beta Was this translation helpful? Give feedback.
-
Update: I think we should support proxy for origin servers, which is much more useful than WebRTC cascading. Proxy is designed for origin server and all protocols, so we can use proxy to build RTMP/FLV cluster, or SRT cluster, or WebRTC cluster, or GB28181 cluster. |
Beta Was this translation helpful? Give feedback.
-
@winlinvip SRS5 has been released now, does it support WebRTC clustering? |
Beta Was this translation helpful? Give feedback.
-
Does this mean that RTC does not support the Origin and Edge mode? I saw an article before that said WebRTC can also expand the streaming capability through Edge. |
Beta Was this translation helpful? Give feedback.
-
Update as of 2023.07.18:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Firstly, the SRS (Simple Real-time Server) employs a Proxy to enhance system capacity. This approach is definitive and will be implemented within the SRS Stack. For more details, please refer to the discussion at #3634. Secondly, the Forward feature has been continuously proven to be another effective method for expanding downstream capacity in practice. However, currently, Forward supports RTMP forwarding. If forwarding via QUIC or WHIP is supported, it would effectively enhance the playback capabilities for RTC (Real-Time Communication). I personally have a preference for WHIP over QUIC. Of course, if in ten years WHIP can also be based on QUIC, then we can discuss it again.
|
Beta Was this translation helpful? Give feedback.
-
I saw a solution recently. I wonder if this solution can be applied to the existing SRS5. https://github.com/l7mp/stunner?tab=readme-ov-file#installation |
Beta Was this translation helpful? Give feedback.
-
Two questions:
How can WebRTC be supported in a cluster configuration?
Beta Was this translation helpful? Give feedback.
All reactions