Queue2 and RTP

Tim Müller tim at centricular.com
Mon Dec 9 02:59:27 PST 2013


On Mon, 2013-12-09 at 10:49 +0000, Tim Müller wrote:

> So you basically want some kind of timeshifting element for RTP?
> 
> The problem with queue2 is that the ringbuffer functionality doesn't
> maintain the packetisation of the RTP UDP packets, and this
> packetisation is pretty essential. The ringbuffer in queue2 was written
> with other goals in mind.
> 
> I would recommend you write a new element for your purposes.

Sorry, I just saw that you have a depayloader before the queue2, so are
not actually putting rtp packets into the queue2, but I think in general
the conclusion is the same, that queue2 wasn't really meant for this.
also check what stream-format the H.264 data is that you put into the
ring buffer. If it's avc, you have the packetisation problem again. But
even if not, the ring buffer just contains data, it will not maintain
any timestamp information or similar (while MPEG-TS will still have
timing info in the stream).

Still best to write a new element imho.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list