I am receiving audio and video rtp streams using RTSP and filling two queue from audio and video buffersink , after this I am playing the video and audio from these queues using directshow, how can I synchronize audio and video while playing.

Assuming that your client is also implementing RTCP (as it should), then you can synchronize the audio and video streams using the presentation timestamp values that are delivered along with each audio or video frame.

See <http://www.live555.com/liveMedia/faq.html#separate-rtp-streams>
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to