rtmp-switcher
rtmp-switcher copied to clipboard
race conditions due to not blocking pads, pending state change, or unlinking when not idle?
Weird glitching video when disconnecting an input. This could be data left in the buffers?
It is possible when we try to change the state of a running pipeline. We may end up in the middle of a pending state change that's occuring.
We have not attempted to add latency or jitter to our inputs or outputs to see if the pipeline breaks https://gstreamer.freedesktop.org/documentation/tutorials/basic/streaming.html?gi-language=c
We may have issues with changing the pipeline when it is in different states. We want to add an IdlePadProbe to wait till the pad is idle before doing things...
We need to ensure that we capture errors. We can't use things like unwrap() or expect(). We don't want to kill our pipeline or worse all the live mixers for...