Input selector hangs with tee element and live rtspsrc
Submitted by Tapas Kumar Kundu
Link to original bug (#759862)
Description
Created attachment 317876
dummy program to reproduce this bug easily
Steps to reproduce:
write a program for pipeline like
audio rtspsrc ----------------------->|
| |--->live_queue-->rtmpsink
ip cam1 --------->| |-flvmux-->mixing_queue->tee--|
ip cam2 --------->| | |--->record_queue-->fakesink
ip cam3 --------->|--inputselector--->|
ip cam4 --------->|
ip cam5 --------->|
It always hangs after switching ip cameras for 2-3 times.
Error message comes as "RTMP send error". Please note that we are using rtmpsink with sync=true and async=true.
However, The pipeline works in following cases:
- if I don't use "tee" and connect mixing_queue to rtmpsink directly then pipeline works fine.
- if replace rtmpsink with filesink and fakesink with shmsrc in above pipeline then it works fine.
I attached a dummy program which can help you to reproduce this bug on your side.
Attachment 317876, "dummy program to reproduce this bug easily":
file_759862.txt