Глава 11. Внещание IPv6а (Streaming over IPv6)

ОГЛАВЛЕНИЕ

Streaming over IPv6

Streaming over IPv6 (Внещание IPv6)

Эта глава  покрывает особенности вещания IPv6. Вы должны прочитать предшествующие  главы если вы - не понимаете вещание в общих чертах.

Requirements (Требования)

You will obviously need an IPv6-aware operating system. That includes Windows XP/2003, Linux 2.6, Mac OS X (starting from version 10.2). Windows  2000 and Linux 2.4 are supported too, but their IPv6 stacks are not as good, so upgrade if you can. IPv6 must be properly configured and  working on your system and network.

На Linux, ipv6 модуль kernel должен быть загружен (или компилированное-в).  На Windows, блок протоколов IPv6 может быть установлен прогоном ipv6 install" из командной строки, или через панель конфигурации Сети.

Примечание0

Под Windows 2000, Вы должны добавить вручную встроенный multicast маршрут IPv6,  с следующим команды:

Ьipv6 ЬЬ ff::/8 40

где последнее число (4 в этом примере) - номер вашего интерфейса истины IPv6.  Для того, чтобы иметь список ваших интерфейсов IPv6, запустите ipv6.

Предупреждениеi

Под Windows XP SP1, Вы можете иметь проблемы с скрытым IPv6 firewall. Для того, чтобы решать проблему, пойдите в список Услуг Окна и останавливайте IPv6  firewalling услуга. Вы должны решать модернизироваться в ФИРМЕННУЮ упаковку  которые обеспечивают встроенный IPv4/IPv6 firewall, что может быть  сконфигурировано через ГРАФИЧЕСКИЙ интерфейс пользователя.

Предупреждение

Если Вы используете VMware под Linux, Вы должны останавливать VMware и снимать  модули kernel VMware, поскольку мы обратили внимание как предохранено IPv6  вещанием!

ОграниченияP

Есть все еще некоторые характеристики VLC какие не  поддерживает IPv6. В конкретном, возможно не должно использовать  RTSP над IPv6 поскольку основная библиотека, Live.com, не ■с2 Ёс25╘ы поддерживает IPv6 на момент сочинения.
 

Additionnaly, Отметьте, что в данное время, VLC устанавливается  по умолчанию в использование IPv4 по большей части каждое, как это -   что большинство людей используется. Это могло быть изменено на  что-то более прозрачное в будущих версиях.

 

Streaming with VLC (Вещание с VLC)

With the Streaming Wizard (GUI)

The streaming wizard accepts IPv6 addresses between braces, for example: [2002:8ac3:802d:1242:211:11ff:fe25:e6b4]. If you specify a link-local address, you will most likely need to specify the networking interface to use. On Unix, that can be done this way: [fe80::211:11ff:fe25:e6b4%eth0] to attach to eth0. Similarly, on Windows, you may specify [fe80::211:11ff:fe25:e6b4%1] where 1 is the number of the network interface as defined by the operating system.

If you're streaming over HTTP, note that IPv6 is automatically used by default (so that both IPv6 and IPv4 clients will be allowed).

If you want to specify DNS hostname, keep in mind that the VLC defaults to IPv4 resolution. You must either specify hostnames that only resolves to IPv6 addresses, or enable the "Force IPv6" advanced option in Preferences / General Settings / Input.

From the command-line

The --ipv6 command line option force the use of IPv6 by default (ie. IPv6 is always attempted before IPv4).

% 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).

Receiving an IPv6 stream

With the graphical user interface

Select File / Open Network Stream. To receive an UDP/RTP unicast stream sent to your system, you should select the Force IPv6 option (and possibly adjust the destination UDP port). To receive an UDP multicast stream, select the UDP/RTP Multicast option, and specify the multicast address to subscribe to inside square brackets. The IPv6 addresses syntax is the same as that explained in the Streaming over IPv6 section of this chapter.

From the command line

As for streaming, the --ipv6 command line option force the use of IPv6 by default (ie. IPv6 is always attempted before IPv4).

% 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).

Сайт управляется системой uCoz
Качественный хостинг по самым низким ценам - VIPstorage.ru
 http://www.vipstorage.ru.