Page 1 of 1

If SDP has one video stream and two audio streams?

Posted: 18 Aug 2008 13:51
by Hughes
If SDP has one video stream and two audio streams in different language,
VLC will setup for three streams.

for example:
Client->Server: Setup rtsp://audio.example.com/twister/video RTSP/1.0
Server->client: RTSP/1.0 200 Ok
Client->Server: Setup rtsp://audio.example.com/twister/audio.en RTSP/1.0
Server->client: RTSP/1.0 200 Ok
Client->Server: Setup rtsp://audio.example.com/twister/audio.fr RTSP/1.0
Server->client: RTSP/1.0 200 Ok

Is this right?
thanks!

Re: If SDP has one video stream and two audio streams?

Posted: 18 Aug 2008 16:52
by RĂ©mi Denis-Courmont
There is no well-defined semantics for multiple audio streams in a single session. VLC just sets up all of them.

Re: If SDP has one video stream and two audio streams?

Posted: 19 Aug 2008 15:26
by Hughes
I respect your work, Thanks very much!

another question:
If user select one of the audio streams, VLC will just decode the selected audio stream, not decode the others.Is this right?