WebM transcoding added
[vpproxy.git] / vpconfig.py
index 05ecbbfa94ca23c899b7b976b1b62c72b31c193a..97d24fb1c5c99fb46d0ba7b42ec54d22ffbe8cb3 100644 (file)
@@ -8,7 +8,7 @@ import logging
 class VPConfig():
 
     # Message level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
-    debug = logging.DEBUG
+    debug = logging.INFO
     # HTTP Server host
     httphost = '0.0.0.0'
     # HTTP Server port
@@ -30,7 +30,7 @@ class VPConfig():
     # Maximum concurrent connections (video clients)
     maxconns = 20
     # Logging to a file
-    loggingtoafile = False
+    loggingtoafile = True
     # Path for logs, default is current directory. For example '/tmp/'
     logpath = '/var/log/vpproxy/'
     #
@@ -38,9 +38,6 @@ class VPConfig():
     # VLC configuration
     # ----------------------------------------------------
     #
-    vlcuse = True
-    # Spawn VLC automaticaly
-    vlcspawn = True
     # VLC cmd line (use `--file-logging --logfile=filepath` to write log)
     vlccmd = "vlc -I telnet --clock-jitter 0 --network-caching 500 --sout-mux-caching 2000 --telnet-password admin --telnet-port 4212"
     # VLC spawn timeout
@@ -67,21 +64,6 @@ class VPConfig():
     vlcmux = 'ts'
     # Force ffmpeg INPUT demuxer in VLC. Sometimes can help.
     vlcforceffmpeg = False
-    # Stream start delay for dumb players (in seconds)
-    # !!!
-    # PLEASE set this to 0 if you use VLC
-    # !!!
-    videodelay = 0
-    # Stream send delay after PAUSE/RESUME commands (works only if option
-    # above is enabled)
-    # !!!
-    # PLEASE set this to 0 if you use VLC
-    # !!!
-    videopausedelay = 0
-    # Seek back feature.
-    # Seeks stream back for specified amount of seconds.
-    # Set it to 30 or so.
-    videoseekback = 5
     # Delay before closing connection when client disconnects
     # In seconds.
     videodestroydelay = 5