transcoding option for web-video added
[vpproxy.git] / vpconfig.py
index ca11dd53d8e7b9baabb6b4e1f24af6779033db3d..05ecbbfa94ca23c899b7b976b1b62c72b31c193a 100644 (file)
@@ -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',
                      )