> I have seen from reading the lists that care must be taken to ensure the 
> timing is correct between the two streams

Yes.  Problems like this are usually caused by not setting proper 
“fPresentationTime” values in your (video and audio) 
“OnDemandServerMediaSubsession” subclasses (when you deliver each frame).

You should also read
        http://lists.live555.com/pipermail/live-devel/2016-January/019856.html

If your H.264 video source is coming from a byte stream (i.e., you’re using 
“H264VideoStreamFramer” rather than “H264VideoStreamDiscreteFramer”), then you 
can’t expect to get good audio/video synchronization, because the H.264 video 
stream parsing code can’t give you accurate presentation times (it can only 
give you accurate presentation times relative to the rest of the video stream). 
 Instead, you’ll need to use a “H264VideoStreamDiscreteFramer”, and set 
accurate presentation times when you deliver H.264 NAL units to it.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


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

Reply via email to