You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I'm new to RTSP and streaming. I’ve tried the server example in the gortsplib repo (https://github.com/bluenviron/gortsplib/blob/main/examples/server/main.go), but the clients get terminated when the input stream ends. My application already automatically restarts the FFmpeg process that sends the RTSP input stream.
I think it's because the sh.stream.Close() when a new stream is announced what happens, when I'm restarting my ffmpeg input process.
I would like to build a RTSP server that:
Receives an RTSP stream from an FFmpeg process.
Allows multiple FFmpeg clients to connect and receive the stream.
Keeps the FFmpeg clients connected even if the input stream is interrupted (e.g., network failure or FFmpeg process termination).
Automatically resumes feeding the stream to clients once the input stream is restored without requiring clients to reconnect.
Description:
I'm new to RTSP and streaming. I’ve tried the server example in the
gortsplib
repo (https://github.com/bluenviron/gortsplib/blob/main/examples/server/main.go), but the clients get terminated when the input stream ends. My application already automatically restarts the FFmpeg process that sends the RTSP input stream.I think it's because the
sh.stream.Close()
when a new stream is announced what happens, when I'm restarting my ffmpeg input process.I would like to build a RTSP server that:
Example FFmpeg processes:
Questions:
gortsplib
?The text was updated successfully, but these errors were encountered: