-
I have a situation where I need to hand-off one RTMP broadcaster to another. Currently, when the new broadcaster tries to connect they are simply rejected. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For security reason, SRS does not allow overwriting streams, just like you should never overwrite a file in server without 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:
In this situation, you got a reliable This solution also works if you want to do use specified stream, like switching between scenes of OBS. You can do this by pull specified stream, such as stream-0 or stream-1 or stream-N and publish as stream with FFmpeg. By using the SRS HTTP callback, you can switch to the new stream automatically. In the HTTP callback handler, you can stop the FFmpeg and pull the new stream. |
Beta Was this translation helpful? Give feedback.
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:
live/stream-master
to SRS.live/stream-slave
to SRS.live/stream
to SRS.live/stream
to SRS.In this situation, you got a reliable
live/stream
as long as any i…