[streaming] possible SAP/SDP generating/parsing problem
Antonio Querubin
tony at lava.net
Wed Aug 12 21:47:13 CEST 2009
I am running VLC 1.0.1 running on a Windows 2003 server. On that server
are 5 different VLC instances doing transcoding, each is generating a
corresponding SDP file and announcing it via SAP. On a separate
host/receiver, a VLC 1.0.1 client/receiver will list only 2 of the 5 SAP
announcements from the server in its SAP Announcements playlist.
However, if I turn off the 'Try to parse the announce' option on the VLC
receiver preferences, the playlist will list all 5 SAP announcements from
the server.
Regardless of the 'Try to parse the announce' setting, VLC is able to play
all 5 streams if the URL to the SDP file is specified directly to VLC.
This indicates that for 'playing' purposes, VLC is able to parse the
announcement enough to play it.
Below are the SDP files generated by VLC 1.0.1 on the server. The first 2
are seen in the receiver's playlist regardless of the 'Try to parse the
announce' setting. #3, #4, and #5 are displayed in the receiver's
playlist ONLY if 'Try to parse the announce' is disabled in preferences.
SDP #1:
v=0
o=- 14853895120718126907 14853895120718126907 IN IP4 hayakawa
s=LavaNet Webcam (h.264 / 256 kb/s)
i=N/A
c=IN IP4 233.25.35.1/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 10010 RTP/AVP 96
b=AS:256
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0Cg/YCIACi7GAmJaAR4wZUA==,aO48gA==;
SDP #2:
v=0
o=- 14856673365050997604 14856673365050997604 IN IP4 hayakawa
s=LavaNet Audio Test (Hawaii Public Radio)
i=N/A
c=IN IP4 233.25.35.3/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 10030 RTP/AVP 96
b=AS:32
b=RR:0
a=rtpmap:96 mpeg4-generic/24000
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1308; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
SDP #3:
v=0
o=- 14856673327402924900 14856673327402924900 IN IP4 hayakawa
s=LavaNet Video Test (NASA TV)
i=N/A
c=IN IP4 233.25.35.4/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 10042 RTP/AVP 96
b=RR:0
a=rtpmap:96 mpeg4-generic/32000
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1288b4; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
m=video 10040 RTP/AVP 97
b=RR:0
a=rtpmap:97 MP4V-ES/90000
a=fmtp:97 profile-level-id=3; config=000001b0f3000001b50ee040c0cf0000010000000120008440fa285020f0a31f00;
SDP #4:
v=0
o=- 14856686349676657508 14856686349676657508 IN IP4 hayakawa
s=Office of Hawaiian Affairs
i=N/A
c=IN IP4 233.25.35.15/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 10140 RTP/AVP 96
b=AS:64
b=RR:0
a=rtpmap:96 mpeg4-generic/32000/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1290; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
m=video 10142 RTP/AVP 97
b=AS:256
b=RR:0
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0Cg/YCIACiwqAmJaAR4wZUA==,aO48gA==;
SDP #5:
v=0
o=- 14856693983108610916 14856693983108610916 IN IP4 hayakawa
s=Hawaiian Slack Key Guitar Festival 2008 (Aug 17)
i=N/A
c=IN IP4 233.25.35.9/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 10090 RTP/AVP 96
b=AS:64
b=RR:0
a=rtpmap:96 mpeg4-generic/48000/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
m=video 10092 RTP/AVP 97
b=AS:256
b=RR:0
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0Cg/YCIACi7GAmJaAR4wZUA==,aO48gA==;
I am unable to determine what is different between the first 2 and the
last 3 SDP files that prevents VLC from 'parsing' the announcements of the
last 3, and displaying them in the playlist. Previous versions of VLC
0.8.x displayed all 5 SAP announcements in their playlist when the server
was also running VLC 0.8.x as the transcoder.
I also notice that the Media Information window does NOT show IP address
info in the 'Location' field anymore for any SAP announcement received.
Antonio Querubin
808-545-5282 x3003
e-mail/xmpp: tony at lava.net
More information about the streaming
mailing list