Question / Help Refresh Media Source

iFozer

New Member
I'm trying to watch surveillance cameras with OBS through RTSP with a switch, I can watch them and record but when a camera disconnect of switch for any reason or disconnect the power adapter I can't see the camera again, the media source not refresh I must add it manually to watch them.

I searched scripts but I not found anything related with this.
 

YannickB

New Member
I have the same problem yet the situation is a bit different : I have various smartphones sending video streams to OBS, the streams are not continuous (the phones send for a few minutes, then stop, then resumes and so on...).
When one stream stops, the media source freezes (or disappear if I have checked "Hide source when playback ends") and the console says "[hls,applehttp @ 0x7f91ac008500] keepalive request failed for 'http://mystream.mywowza.be:1935/iPhone/live/chunklist_w1561063342.m3u8', retrying with new connection: Server returned 404 Not Found". The 404 is expected since the stream has stopped.
The problem is the same as mentionned by iFozer : when the stream resumes, the Media Source is not refreshed automatically so it stays frozen until I go to properties (or double click on the media source) and press OK. Any solution to that?
ffmpeg has those "reconnect" options (-reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2) but how could I add them in obs ? Thanks!
 
Top