Skip to content

Can I allow a new broadcaster to kick off an existing broadcaster with RTMP? #4031

Closed Answered by winlinvip
Baa14453 asked this question in Q&A
Discussion options

You must be logged in to vote

For security reason, SRS does not allow overwriting streams, just like you should never overwrite a file in server without --force. SRS does not support --force mode.

If you want publishing multiple streams for fault tolerance, these streams should be the same to others and published simultaneously. This means you should use different stream name, for exmaple:

  1. Publish live/stream-master to SRS.
  2. Publish live/stream-slave to SRS.
  3. Use FFmpeg to pull master and publish as live/stream to SRS.
  4. If stream-master experiences error, pull stream-slave and publish as live/stream to SRS.
  5. Go to step 3 if stream-slave is not available.

In this situation, you got a reliable live/stream as long as any i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Baa14453
Comment options

Answer selected by Baa14453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
EnglishNative This issue is conveyed exclusively in English.
2 participants