Chapter 10.  Stream in IPv6

Table of Contents

Stream in IPv6
Receive in IPv6

Stream in IPv6

Requirements

You will need an IPv6-aware operating system, like Linux 2.4 or 2.6 with the ipv6 module loaded, Windows 2000 with the IPv6 stack, Windows XP Service Pack 1 or Mac OS X version 10.2 or higher. Please look at the features pages on the VideoLAN web site to know about the status of IPv6 in VLC and VLS for each O.S..

Note

Under Windows 2000, you must add by hand a default multicast IPv6 route, with the following command:

# ipv6 rtu ff::/8 4

where the last number (4 in this example) is the number of your true IPv6 interface. To have a list of your IPv6 interfaces, run ipv6 if.

Warning

Under Windows XP, you may have problems with a hidden IPv6 firewall. To solve the problem, go to the list of Windows Services and stop the IPv6 firewalling service.

Warning

If you are using VMware under Linux, you will have to stop VMware and unload the VMware kernel modules, because we noticed it prevented IPv6 streaming !

Stream with VLC

% vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1] --ttl 12

where:

  • video1.xyz is the file you want to stream (you can also put dvdsimple:/dev/dvd to stream a DVD or any other input configuration) ,

  • ff08::1 is either :

    • the IPv6 address of the machine you want to unicast to ;

    • or the multicast IPv6 address.

  • 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).

Note

Under Unix/Linux, you may have to protect the square brackets around the IPv6 address:

% vlc -vvv video1.xyz --ipv6 --sout udp:\[ff08::1\] --ttl 12

Note

You may have to specify the output network interface:

% vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1%eth0] --ttl 12

where eth0 is the name of the network interface (under Linux the network interfaces are named ethX, under Mac OS X it's enX and under Windows it's X, where X is the appropriate number).

Stream with VLS

You will need to use the configuration file vls.cfg. Please, see the VLS user guide to know how to write one for IPv6 streaming in unicast or multicast.

Receive in IPv6

Receive an unicast stream

% vlc -vvv --ipv6 udp:

Receive a multicast stream

% vlc -vvv --ipv6 udp:@[ff08::1]

Note

Under Unix/Linux, you may have to protect the square brackets around the IPv6 address:

% vlc -vvv --ipv6 udp:@\[ff08::1\]

Note

You may have to specify the output network interface:

% vlc -vvv video1.xyz --ipv6 --sout udp:[ff08::1%eth0] --ttl 12

where eth0 is the name of the network interface (under Linux the network interfaces are named ethX, under Mac OS X it's enX and under Windows it's X, where X is the appropriate number).