starofviolence
New Member
Hello, I have an RTMP stream set up as a Media Source in OBS Studio, and I was wondering if there is a way to have it reconnect to that stream automatically if it cuts out and comes back? At the moment, it will start fine the first time, and it will cut out and hide upon stopping (so far, behavior I desire), but if that stream restarts, the source does not start again.
I noticed what looks like a related message in the log:
02:01:15.506: [Media Source 'RTMP_1']: settings:
02:01:15.506: input: [rtmp://my_server_address/goes_here]
02:01:15.506: input_format:
02:01:15.506: is_looping: no
02:01:15.506: is_forcing_scale: yes
02:01:15.506: is_hw_decoding: yes
02:01:15.506: is_clear_on_media_end: yes
02:01:15.506: restart_on_activate: yes
02:01:15.507: warning: unable to find input format
02:01:16.136: warning: video stream discovered after head already parsed
In particular, the last two lines seem to be the stream disconnecting, and then unsuccessfully trying to reconnect.
Thanks for the help!
I noticed what looks like a related message in the log:
02:01:15.506: [Media Source 'RTMP_1']: settings:
02:01:15.506: input: [rtmp://my_server_address/goes_here]
02:01:15.506: input_format:
02:01:15.506: is_looping: no
02:01:15.506: is_forcing_scale: yes
02:01:15.506: is_hw_decoding: yes
02:01:15.506: is_clear_on_media_end: yes
02:01:15.506: restart_on_activate: yes
02:01:15.507: warning: unable to find input format
02:01:16.136: warning: video stream discovered after head already parsed
In particular, the last two lines seem to be the stream disconnecting, and then unsuccessfully trying to reconnect.
Thanks for the help!