-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC:Support Cluster over QUIC. #2091
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:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Moved to #2091 (comment) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
@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 |
This comment was marked as off-topic.
This comment was marked as off-topic.
How is the current development progress of RTC cascading? |
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. |
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. |
@winlinvip SRS5 has been released now, does it support WebRTC clustering? |
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. |
Update as of 2023.07.18:
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Two questions:
How can WebRTC be supported in a cluster configuration?
The text was updated successfully, but these errors were encountered: