2 VPProxy configuration script
10 # Message level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
16 # If started as root, drop privileges to this user.
17 # Leave empty to disable.
18 vpproxyuser = 'aceproxy'
21 # Firewall mode. True for blackilst, False for whitelist
22 firewallblacklistmode = False
23 # Network ranges. Please don't forget about comma in the end
24 # of every range, especially if there is only one.
30 # Maximum concurrent connections (video clients)
33 loggingtoafile = False
34 # Path for logs, default is current directory. For example '/tmp/'
37 # ----------------------------------------------------
39 # ----------------------------------------------------
42 # Spawn VLC automaticaly
44 # VLC cmd line (use `--file-logging --logfile=filepath` to write log)
45 vlccmd = "vlc -I telnet --clock-jitter -1 --network-caching -1 --sout-mux-caching 2000 --telnet-password admin --telnet-port 4212"
47 # Adjust this if you get error 'Cannot spawn VLC!'
51 # VLC telnet interface port
53 # VLC streaming port (you shouldn't set it in VLC itself)
55 # VLC telnet interface password
57 # Pre-access (HTTP) VLC parameters
58 # You can add transcode options here
59 # Something like #transcode{acodec=mpga,ab=128,channels=2,samplerate=44100}
61 # VLC muxer. You probably want one of these streamable muxers:
62 # ts, asf, flv, ogg, mkv
63 # You can use ffmpeg muxers too, if your VLC is built with it
64 # ffmpeg{mux=NAME} (i.e. ffmpeg{mux=mpegts})
65 # VLC's ts muxer sometimes can work badly, but that's the best choice for
68 # Force ffmpeg INPUT demuxer in VLC. Sometimes can help.
69 vlcforceffmpeg = False
70 # Stream start delay for dumb players (in seconds)
72 # PLEASE set this to 0 if you use VLC
75 # Stream send delay after PAUSE/RESUME commands (works only if option
78 # PLEASE set this to 0 if you use VLC
82 # Seeks stream back for specified amount of seconds.
85 # Delay before closing connection when client disconnects
88 # Pre-buffering timeout. In seconds.
91 # Some video players (mostly STBs and Smart TVs) can generate dummy requests
92 # to detect MIME-type or something before playing.
93 # We send them 200 OK and do nothing.
94 # We add their User-Agents here
95 fakeuas = ('Mozilla/5.0 IMC plugin Macintosh', )
97 # Some video players have very short timeout and can disconnect from the proxy
98 # before the headers sent.
99 # We send them 200 OK and MPEG MIME-type right after connection has been initiated
100 fakeheaderuas = ('HLS Client/2.0 (compatible; LG NetCast.TV-2012)',
101 'Mozilla/5.0 (DirectFB; Linux armv7l) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ LG Browser/5.00.00(+mouse+3D+SCREEN+TUNER; LGE; 42LM670T-ZA; 04.41.03; 0x00000001;); LG NetCast.TV-2012 0'