[Live-devel] Write completed Nal / frame to sink when a new begins

Alberto Alvarez alvarezgalberto at uniovi.es
Wed Dec 7 01:24:55 PST 2011


Hi all,

I have been messing around with doGetNextFrame1() code in
MultiFramedRTPSource
AFAIK, currently this function sends to its sink the completed frame
whenever the "currenPacketCompletesFrames" is flagged, which makes perfect
sense.

However, i would like to be able to send it to the sink once i detect the
new begining of a frame/nal. It would require to "pass" to the sink all
appended packets but the latest, which will be part of the next call to the
sink.

Is it possible, with a few changes, to accomplish this?

Also, i am a bit lost at how the data is transfered between source and
sink. Where is the data appended to the buffer from which the sink reads?
is it in nextPacket->use() ?

Kind Regards,


Alberto Álvarez González
alvarezgalberto at uniovi.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111207/75a781ce/attachment.html>


More information about the live-devel mailing list