X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1e2c0e679beb33f10c2e551768c17ccd77576b54..68a65fd06255411599601a0b9857be6ef2e8eba2:/vpconfig.py diff --git a/vpconfig.py b/vpconfig.py index ca11dd5..05ecbbf 100644 --- a/vpconfig.py +++ b/vpconfig.py @@ -15,7 +15,7 @@ class VPConfig(): httpport = 8001 # If started as root, drop privileges to this user. # Leave empty to disable. - vpproxyuser = 'aceproxy' + vpproxyuser = 'vpproxy' # Enable firewall firewall = False # Firewall mode. True for blackilst, False for whitelist @@ -32,7 +32,7 @@ class VPConfig(): # Logging to a file loggingtoafile = False # Path for logs, default is current directory. For example '/tmp/' - logpath = '' + logpath = '/var/log/vpproxy/' # # ---------------------------------------------------- # VLC configuration @@ -42,10 +42,10 @@ class VPConfig(): # Spawn VLC automaticaly vlcspawn = True # VLC cmd line (use `--file-logging --logfile=filepath` to write log) - vlccmd = "vlc -I telnet --clock-jitter -1 --network-caching -1 --sout-mux-caching 2000 --telnet-password admin --telnet-port 4212" + vlccmd = "vlc -I telnet --clock-jitter 0 --network-caching 500 --sout-mux-caching 2000 --telnet-password admin --telnet-port 4212" # VLC spawn timeout # Adjust this if you get error 'Cannot spawn VLC!' - vlcspawntimeout = 4 + vlcspawntimeout = 15 # VLC host vlchost = '127.0.0.1' # VLC telnet interface port @@ -98,5 +98,5 @@ class VPConfig(): # before the headers sent. # We send them 200 OK and MPEG MIME-type right after connection has been initiated fakeheaderuas = ('HLS Client/2.0 (compatible; LG NetCast.TV-2012)', - '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' + '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', )