RTSP pipeline freezes when set to a resume after a pause (PLAYING->PAUSED->PLAYING), with Jitterbuffer in Buffering Mode
Submitted by vfu..@..ia.com
The RTP timestamp gap induced (nearly equal to the time the server/source has spent in PAUSED state), currently makes the jitter-buffer completely reset itself. This leads to freezing of the pipeline, due to the RTP-TS difference (equal to the time spent in PAUSED state) between the first RTP packet received after the the source/server has been set to PLAYING and the packet that was last received during the PAUSED state. This leads to a huge gap (TS discontinuity) between the first outgoing buffer from the jitter-buffer post-PAUSED (PLAYING before PAUSED) state and the last buffer that was sent pre-PAUSED (PLAYING after PAUSED) state. This leads to a long halt at the sink depending upon the time spent in PAUSED state . i.e long freeze of the pipeline.