ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.3k stars 636 forks source link

Support built-in backup streams and support different output url #3917

Open mekya opened 2 years ago

mekya commented 2 years ago

Is your feature request related to a problem? Please describe. Yes, I need to have a backup url if the primary fails. But there is no built-in solution for that.

Describe the solution you'd like

  1. There will be primary and backup streams for a stream.
  2. There will be no encoding on primary and backup streams at the same time.
  3. Primary and backup should have the same output and it should be configurable.
  4. If primary stream fails for some reason, backup stream will be activated and it starts to encodes according to the bitrates.
  5. Primary and backup streams will be on the same application but they can be on different origins.
  6. Player never knows if it plays primary or backup because primary and backup will have the same output.
golgetahir commented 2 years ago

https://gitlab.com/Ant-Media/Ant-Media-Enterprise/-/merge_requests/471

lastpeony commented 1 week ago

We decided to build this feature on web player side. Check mentioned PR