-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ini
64 lines (60 loc) · 3.04 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[Mode]
mode = server # change to gateway to launch the app in gateway mode
[Source]
v_enc = avc
a_enc = aac
sizes = 1280*720
fps = 25
stream_src = # source link, if not specified the 'avgen' generator will be used
[Server]
protocol = mabr://
ifce = 127.0.0.1 # default network interface to use for multicast ; empty means default system interface; use 127.0.0.1 to try using the loopback
ip_dst = 234.1.1.1
port_dst = 1234
manifest_dst =
carousel = 1000
manifest_src = Manifest.mpd # for avgen only (i.e. stream_src is empty)
low_latency =
runfor = 0 # run for the given time in ms (0=infinite)
fdt_absolute_url = false # option to use relative or absolute url in FDT's content location field
use_inband_transport = false # if true send the manifest and init segments in content transport sessions instead of configuration transport session
errsim = # simulation error, default for this option must be left empty to not be activated, if you add a value it will be activated
logs = route@warning
[Gateway]
protocol = mabr://
ifce = 127.0.0.1 # default network interface to use for multicast ; empty means default system interface; use 127.0.0.1 to try using the loopback
ip_src = 234.1.1.1
port_src = 1234
# GPAC-specific options:
gcache = true # indicate the files should populate GPAC HTTP cache
buffer = 0x80000 # receive buffer size to use in bytes
timeout = 5000 # timeout in ms after which tunein fails
nbcached = 64 # number of segments to keep in cache per service
kc = false # keep corrupted file
skipr = true # skip repeated files (ignored in cache mode)
stsi = false # define one output PID per tsi/serviceID (ignored in cache mode)
stats = 1000 # log statistics at the given rate in ms (0 disables stats)
max_segs = 64 # maximum number of segments to keep on disk
rtimeout = 5000 # default timeout in ms to wait when gathering out-of-order packets
keep_base_url = keep # control BaseURL in manifest:
# - strip: strip BaseURL (default)
# - keep: keep BaseURL
# - inject: inject local relative URL before BaseURL value specified by relative_url option.
relative_url = ./ # relative string to inject before BaseURL when keep_base_url is set to inject, default to "./"
# HTTP end point server params
ip_addr = http://localhost
port_addr = 8080
dst = Manifest.mpd
rdirs = gmem
max_cache_size = 64
sutc = false # (bool, default: false) insert server UTC in response headers as Server-UTC: VAL_IN_M
logs = http:route@info
[Repair]
repair = full # repair mode for corrupted files
# no: no repair is performed
# simple: simple repair is performed (incomplete mdat boxes will be kept)
# strict: incomplete mdat boxes will be lost as well as preceding moof boxes
# full: HTTP-based repair
repair_urls = http://127.0.0.1:8080/ # Source URL to be used for repair ex : http://127.0.0.1:8080/
# add other urls here ...
# one url per line