[Live-devel] Live video and audio streaming using one RTSPServer
Daniel Yacouboff
danielya at essence-grp.com
Thu Nov 5 01:02:19 PST 2015
Last question please,
My audio is 16bit PCM, and the calculation of the presentation time and duration seems to be ok.
However, my video is raw h264, and I don't guarantee that on each recv() call I get exactly one complete frame (I might get more than one frame, or a partial one), so 1) how can I calculate the prefferedFrameSize if it's h264 video, as it depends on the movement level in the frame, and 2) The fact that I might get more than one frame in one read means that the duration calculation (fPlayTime) is inaccurate in the first place, is it? is fPlayTime important for sync, or only the fPresentationTime?
Thanks again.
-----Original Message-----
From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Thursday, November 05, 2015 10:47 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Live video and audio streaming using one RTSPServer
> Should both streams at least have the same start value in presentation time?
If they’re intended to be played at the same time, then yes.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list