This file is here to talk a bit about gstreamer. Gstreamer is an "open-source multimedia framework" for streaming media.
We care about it because it can seem to handle stream reconnections better than OBS's built in sources.
-
Install obs-gstreamer for use with OBS.
-
Once it is up and running create a gstreamer source in OBS.
-
The following gstreamer pipeline will display a stream and will properly handle reconnects:
rtmpsrc location=rtmp://
/app/key ! queue max-size-time=1000000000 max-size-bytes=10485760 max-size-buffers=1000 ! decodebin name=bin bin. ! queue max-size-time=1000000000 ! videoconvert ! video/x-raw ! video.sink bin. ! queue max-size-time=1000000000 ! audioconvert ! audio/x-raw ! audio.sink