I've set up an SRT stream in OBS. It displays perfectly. The owner of the stream decided to change its parameters from 50P to 25P or vice versa, or to 50I - it doesn't matter. Then, OBS starts to display the stream with delays, and unless you turn off and then turn back on the stream, it won't resume normal playback. Here are the logs:
11:17:37.776: [Media Source 'srt stream']: Disconnected. Reconnecting...
11:17:41.430: [Media Source 'srt stream']: Reconnected.
11:18:36.894: Source srt stream audio is lagging (over by 34642.66 ms) at max audio buffering. Restarting source audio.
How can I make OBS restart the stream in such a case? If it can't do it automatically, is there a way to do it through a script, triggered by a line appearing in the log?
11:17:37.776: [Media Source 'srt stream']: Disconnected. Reconnecting...
11:17:41.430: [Media Source 'srt stream']: Reconnected.
11:18:36.894: Source srt stream audio is lagging (over by 34642.66 ms) at max audio buffering. Restarting source audio.
How can I make OBS restart the stream in such a case? If it can't do it automatically, is there a way to do it through a script, triggered by a line appearing in the log?