video streaming over UDP
Hi,
Does anyone know how to stream a video file, that includes an audio and video codec(from any kind), to a remote client using UDP/RTP ?
I don't really know how to synch the audio/video over RTP.
I know this is a hard one, but I'm searching for a guru that knows how do it.
Thanks,
em.
[326 byte] By [
Santo22a] at [2007-10-3 1:43:23]

First off, I don't recall if Java has an API or any access at all to QoS mapping.
UDP is not reliable, so unless you have some sort of packet integrity protocol on your app, then TCP is a much better way to go.
When you say Codec, are you transporting the codec along with the stream or is that something your client has - or download seperately - as a codec (and you don't need the encoder part to playback on the client) is something extra to the app.
If you are multicasting a single file such as AVI, WMV, etc. then just transport the file.
If you are moving seperate streams for the audio, video, and data. Then create three sockets, and create a sync header in the data payload of each, and then the client will recombine the streams' packets to match each sync header.