sap.cfg 1.22 KB
Newer Older
1 2
# sap.cfg - Configuration file of the mini SAP server

3
[global]
4
sap_ttl=255 # TTL (Time To Live) of the SAP announces. You should put 255
5
sap_ipversion=4 # Version of IP Protocol to use: 4 for IPv4, 6 for IPv6
6
ipv6_scope=8
7 8
# This is the "scope" of the IPv6 announce (if it exists)
# it is between 1 and F. For link-local multicast, use 2
9

10
# Then you should have one "[program]" section per program announced
11

12
# IPv4 exemple
13
[program]
14
name=Tele V1   # Name of the program (as will show up in the VLC playlist)
15
user=videolan # Name of the streaming entity
16 17
machine=vlcs.via.ecp.fr # Name of the streaming machine
site=www.videolan.org # Site of the streaming entity
18
address=239.255.12.42 # Multicast IP address of the program
19
port=1234 # UDP Port
20
program_ttl=32 # TTL for this program (15 is the default value)
21
program_ipversion=4 # 4 or 6 (4 is the default value)
22

23
# IPv6 exemple
24
[program]
25
name=TV2
26 27 28
user=videolan
machine=vlcs.via.ecp.fr
site=www.videolan.org
29
program_ttl=12
30
program_ipversion=6
31
address=ff08::1
32
port=1234
33 34 35 36 37 38 39 40 41 42 43


# HTTP exemple (not yet implemented)
[program]
name=TV3
user=videolan
machine=vlcs.via.ecp.fr
site=www.videolan.org
program_ttl=12
program_ipversion=4
type=http
44
address=echo.via.ecp.fr
45
port=80
46
path=/~zorglub/2k3.avi