Receiving two audio streams with RTP
Posted: 13 Mar 2009 19:05
Hello all,
I would like to know if it is possible to listen to two simultaneous audio streams via RTP. It seems to be possible, but I can't make it work.
I tried to do that in the two following ways:
Via VLC User Interface:
- went to "Media" -> "Advanced Open File" -> "Network" and entered the first stream address.
- then went to "show more options" -> "Play another media synchronously" and entered the second stream address.
and via SDP file:
v=0
o=root 282212517 282212517 IN IP4 127.0.0.1
s=music.sdp
c=IN IP4 127.0.0.1
t=0 0
m=audio 8000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=audio 8002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
In both cases VLC shows me (in the "Media Information ..." window) that I have two streams, but it only plays the first one. Am I missing something or does VLC not support this feature?
thanks,
ps: using VLC 0.9.8a
I would like to know if it is possible to listen to two simultaneous audio streams via RTP. It seems to be possible, but I can't make it work.
I tried to do that in the two following ways:
Via VLC User Interface:
- went to "Media" -> "Advanced Open File" -> "Network" and entered the first stream address.
- then went to "show more options" -> "Play another media synchronously" and entered the second stream address.
and via SDP file:
v=0
o=root 282212517 282212517 IN IP4 127.0.0.1
s=music.sdp
c=IN IP4 127.0.0.1
t=0 0
m=audio 8000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=audio 8002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
In both cases VLC shows me (in the "Media Information ..." window) that I have two streams, but it only plays the first one. Am I missing something or does VLC not support this feature?
thanks,
ps: using VLC 0.9.8a