I am trying to demux a HLS stream which contains a fMP4 seq with audio and
one with fMP4 video but with no success.
On a hlsdemux element I am listening on on_pad_added signals. It is called
twice with structName: video/quicktime. In that callbacks I connect both
pads to qtdemux elements. From that moment on the pipeline switches back and
forth between PAUSED state and PLAYING state but on_pad_added and
no_more_pads signals are not called at all.
I'm currently working on hlsDemux with appsink. Probably what you are seeing
is loss of buffer when switch over happens after the first "new-pad". The
file probably is not playing because of loss of buffer. As you can see in my
source code, I closed the file after the first new-pad and opened another
one. Both could be played..