ossrs / oryx

Oryx(SRS Stack) is an all-in-one, out-of-the-box, and open-source video solution for creating online video services, including live streaming and WebRTC, on the cloud or through self-hosting.
https://ossrs.io/oryx
MIT License
519 stars 111 forks source link

Restream: Support for multi-stream retransmission #34

Closed winlinvip closed 1 year ago

winlinvip commented 2 years ago

Currently, Cloud SRS supports single-stream retransmission, with a simple overall solution and easy operation.

However, if multiple streams are pushed to SRS, only one stream can be randomly selected, which can achieve hot backup.

But some friends have reported that hot backup is not that important. Supporting multi-stream retransmission is more useful, and currently, multiple Cloud SRS instances need to be opened, making management cumbersome.

We need to carefully consider the following:

  1. Some people have single-stream requirements, so we cannot increase operational complexity.

  2. Whether there is a hot backup requirement, if hot backup is needed, supporting multi-stream retransmission becomes very complex.

  3. If we consider transcoding in the future, it's hard to imagine, as it would be extremely complex.

If you have used multi-stream retransmission services, please feel free to share your thoughts.

guoronghui commented 2 years ago

For me, hot backup and stability are the most important things.

winlinvip commented 1 year ago

If it's just hot backup and stability, then single-stream forwarding is the most suitable. Making it multi-stream would complicate things, and complexity leads to instability.

winlinvip commented 1 year ago

Won't support it.