Page 1 of 1

How to specify ipv6 source address in output stream

Posted: 23 Sep 2019 00:55
by Hstocki
I am in need of specifying the source ipv6 address on a output stream. Right now vlc is using the link local address but in my application I need the source ip to be the global address.
Is there a way to do this from the command line or GUI?
Using freeBSD and vlc 3.0.8.

Re: How to specify ipv6 source address in output stream

Posted: 23 Sep 2019 18:58
by RĂ©mi Denis-Courmont
Typically between square brackets, but you're not being very specific here.

Re: How to specify ipv6 source address in output stream

Posted: 23 Sep 2019 22:30
by Hstocki
Hi,

What is the option to use for specifying the source address for the stream?
Here is the cli that I am currently using:
vlc <FILENAME> --sout "#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}" --sout "rtp{dst=[ff30:1:1:1:1:1:1:1],port5004,mux=ts}" --sout-all --sout-keep --loop

When I use the above and look at the output from the server with wireshark, vlc is using the local link address (ff80:xx:xx....) for the source address of the stream. I need the source address of the stream to be the global address (2001:666::666) of the interface.

Re: How to specify ipv6 source address in output stream

Posted: 23 Sep 2019 22:32
by Hstocki
Hi,

Sorry local link address should be fe80:xx:xx... not ff80:xx:xx...