[vlc-devel] Bug using SAP

Thomas Knauer lists-vlc-devel at gmx.net
Sun Aug 14 16:44:03 CEST 2005


Hi,

there seems to be a bug in the SAP module introduced in recent VLC
builds (subversion), because SAP announces go to the wrong IP.

command line (quoted without the rss, marq, time an logo stuff):

vlc v4l:/dev/v4l/video0:norm=pal:size=702x576:channel=1:adev=/dev/dsp:audio=0 \
	--sout '#transcode{sfilter=marq:time:logo:rss,vcodec=mp1v,\
		acodec=mpga,vb=1300,ab=128,vt=800000,keyint=80}:\
		std{access=udp,mux=ts,url=239.255.12.41,sap,\
		name="WebCam"}' --ttl=12

netstat -an:

udp   0      0 172.17.96.16:32787      239.255.12.41:1234      ESTABLISHED
udp   0      0 172.17.96.16:32788      229.255.12.41:9875      ESTABLISHED

As you can see, the SAP announce is broadcasted to the IP of the
stream instead of 224.2.127.254:9875.

Using VLC 0.8.2 everything is fine and SAP is announced properly:

udp   0      0 172.17.96.16:32790      239.255.12.41:1234      ESTABLISHED
udp   0      0 172.17.96.16:32791      224.2.127.254:9875      ESTABLISHED


Perhaps it's possible to fix this issue?

Thank you and kind regards,
Thomas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list