[Live-devel] H.264 RTP Marker Bit
Ross Finlayson
finlayson at live555.com
Tue Mar 31 22:16:25 PDT 2015
> Fortunately, however, there is a way for you to overcome this (in a subclass of “H264or5VideoStreamDiscreteFramer”): Simply define your own ‘after getting’ function that first calls “H264or5VideoStreamDiscreteFramer::afterGettingFrame1()”, and then sets “pictureEndMarker()” to the ‘correct’ value.
Looking at this some more, I realize that this won’t quite work - because the "H264or5VideoStreamDiscreteFramer::afterGettingFrame1()” code ends with calling "afterGetting(this)”, which may cause the RTP delivery code to get executed - before you have time to reset "pictureEndMarker()”.
So what I need to do instead is define a virtual function that assigns “fPictureEndMarker” (== “pictureEndMarker()”). You can then define a subclass that does nothing but redefine/reimplement this virtual function.
I’ll install a new version of the code soon that does this. Stay tuned...
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150331/3f92d1ea/attachment.html>
More information about the live-devel
mailing list