Problem solved:
There was no problem with synchronization between my test program and
VLC. Although my test file played back fine locally in VLC, there must
have been some problems in the file that VLC could overcome when playing
locally that got exposed when trying to stream using RTSP. I was u
I've attached my test program, each stream has rtcp, and the timestamps
are being set using timeofday. The VLC says the streams are
synchronized, but I am looking into doing more debug on the client side.
It looks like the video is started streaming before the audio and that
is where the streams g
How do you go about streaming video and audio at the same time using
RTSP? I want to stream two elemental streams that I got out of a mp4
file to VLC and have them playback just as if I was watching the
original file. Using the testOnDemandRTSPServer I can open the video
stream in one instance o
It really looks like the timestamps are correct, I think the reason the
voice is not in sync with the video is because the video starts
streaming before the audio. I put some debug into the source code to
show the timestamp for each packet of video and audio. This output
shows me that multiple fr
According to the output from VLC it says the rtp source has been
synchronized twice (once for each??). I looked through the code and see
where the timestamp is getting set for each packet, the absolute time
for each packet is very close, but after convertToRTPTimestamp gets
called the time stamps
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
Ok, so I got it working somewhat. I can play the stream using VLC
(although it stops after 41 seconds for some reason). I found that
Quicktime plays back the entire stream without any problems. However,
with both players, the audio is no in sync with the video. Not sure why
this is, I'm sure the
ROTECTED]
Subject: [Live-devel] streaming video and audio via RTSP
How do you go about streaming video and audio at the same time using
RTSP? I want to stream two elemental streams that I got out of a mp4
file to VLC and have them playback just as if I was watching the
original file. U
How do you go about streaming video and audio at the same time using
RTSP? I want to stream two elemental streams that I got out of a mp4
file to VLC and have them playback just as if I was watching the
original file. Using the testOnDemandRTSPServer I can open the video
stream in one instance of