Hi Ross,
Should both streams at least have the same start value in presentation time? 
the fact is that the current calculation does not synched correctly between the 
two streams...


    
Daniel Yacouboff 
QA and SW Engineer

T: +972(73)2447-945 M: +972(54)6805-505 
E: danie...@essence-grp.com  | www.essence-grp.com
Come and meet us at our next events


             

-----Original Message-----
From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross 
Finlayson
Sent: Thursday, November 05, 2015 8:21 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Live video and audio streaming using one RTSPServer

> Can you please give me a head start on how to correctly calculate the 
> presentation times? For instance, do I need to have the same time value for 
> an audio frame and a video frame that should be played together?

Yes.


> Should I use a shared presentation time variable for both streams?

I’m not sure what you mean by this, but I think the answer is no.  You 
(presumably) have defined and implemented two subclasses of “FramedSource” - 
one for audio; one for video.  Each of these has a “fPresentationTime” variable 
(in its parent class “FramedSource”).  Each implementation of the 
“doGetNextFrame()” virtual function will need to set the “fPresentationTime” 
variable to an appropriate value before it completes delivery of the frame (by 
calling “FramedSource::afterGetting(this);”).

For an example of this, see the example code in “liveMedia/DeviceSource.cpp”.


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

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

Reply via email to