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?

Yes, you should be able to do this by using a subclass (that you would write) of "SimpleRTPSink", and reimplement the virtual function virtual Boolean frameCanAppearAfterPacketStart(unsigned char const* frameStart, unsigned numBytesInFrame) const;

Thanks, it works like a charm :)

-- Slava

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to