[Live-devel] streaming video and audio via RTSP

Jerry Johns Jerry.Johns at nuvation.com
Tue Jun 10 11:24:36 PDT 2008


For both streams to be synchronized, u need to ensure that you set the
presentationTime for each packet of either audio or video - that is the
only way a receiver can synchronize what otherwise would seem to be
asynchronously transmitted streams. This can be done by getting it from
the input stream, or by manually calculating it using increments of the
frame time, etc. The latter method is however prone to drift, and might
not be applicable in all codec scenarios (variable time encoded frames).
The drift might also cause VLC/Quicktime to lose sync after a while

 

As for your video/audio streams playing back, VLC will play them back at
the same time by default, unless you have disabled it manually (go to
the Video-> and Audio-> tabs to see if your stream is active, you can
disable it there too and that might have been what you did)

 

Hope it helps,

 

Jerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080610/aecc5042/attachment.html>


More information about the live-devel mailing list