[Live-devel] MultiFramedRTPSink flush collected packet

Viatcheslav.Sysoltsev at h-d-gmbh.de Viatcheslav.Sysoltsev at h-d-gmbh.de
Thu Aug 30 03:02:19 PDT 2012


Hi people,

I am using SimpleRTPSink with my frame source (based on FramedSource). The  
frame may be small, so SimpleRTPSink packs several frames into a single  
packet. That's right, I wish it to do so. I have nevertheless troubles to  
realize, how to make SimpleRTPSink flush its packets in a time manner,  
after for example the first frame of a packet has 10ms overdue time. Is  
there an easy way to achieve sending the not-yet-full packets in time? I  
think of calling MultiFramedRTPSink::sendPacketIfNecessary() on timer, but  
I'm not not sure.

-- Slava



More information about the live-devel mailing list