# This file contains the default values of SOME of the available # options for the UV4L core module, the raspicam driver, and the # streaming server front-end. # # This file is referenced by the 'uv4l_raspicam' init script. # Alternatively, it can be passed as argument to # the '--driver-config-file' driver option and/or to the # '--config-file' option of uv4l. # # Please refer to the 'uv4l', 'uv4l-raspicam' and 'uv4l-server' manual # pages for all the valid options and values or for more informations # about their meaning. # NOTE: for multi argument options you must specify one arg per line, # e.g --min-object-size 80 120 becomes: # min-object-size = 80 # min-object-size = 120 ################################## # uv4l core options ################################## driver = raspicam # video_nr = 0 auto-video_nr = yes # verbosity = 6 # syslog-host = localhost # syslog-port = 514 # frame-timeout = 5000 frame-buffers = 4 # drop-bad-frames = yes # relaxed-ownership = yes ################################## # raspicam driver options ################################## encoding = mjpeg # width = 640 # height = 480 framerate = 30 #custom-sensor-config = 2 ### dual camera options: # stereoscopic-mode = side_by_side # camera-number = 1 # decimate = yes # swap-eyes = yes ### still and/or video options: # quality = 85 # stills-denoise = yes video-denoise = no # raw = no ### h264 options: # profile = high # bitrate = 17000000 # intra-refresh-mode = dummy # intra-period = #arg # inline-headers = yes # quantisation-parameter #arg ### video overlay options: nopreview = no fullscreen = no # opacity = 255 ### preview window : preview = 480 preview = 240 preview = 320 preview = 240 ### post-processing options: # text-overlay = yes # text-filename = /usr/share/uv4l/raspicam/text.json # object-detection = yes # object-detection-mode = accurate_tracking # min-object-size = 80 # min-object-size = 80 # main-classifier = /usr/share/uv4l/raspicam/lbpcascade_frontalface.xml # secondary-classifier =/usr/share/uv4l/raspicam/lbpcascade_frontalface.xml ### image settings options: # sharpness = 0 # contrast = 0 # brightness = 50 # saturation = 0 # iso = 400 # vstab = yes # ev = 0 # exposure = auto # awb = auto # imgfx = none # metering = average # rotation = 0 # hflip = no # vflip = no # shutter-speed = 0 # drc = off # red-gain = 100 # blue-gain = 100 # text-annotation = HelloWorld! # text-annotation-background = yes ### ROI normalized to [0, 1] # roi = 0 # roi = 0 # roi = 1 # roi = 1 ### advanced options: # statistics = yes # output-buffers = 3 ### serial Number & License Key: # serial-number = #arg # license-key = #arg ################################# # streaming server options ################################# ### path to another config file parsed by the streaming server directly ### in which you are allowed to specify all the streaming server options ### listed below in the short form "option=value" instead of the longer ### "--server-option = --option=value" form that you must use ### in this configuration file. server-config-file = /etc/uv4l/uv4l-raspicam.conf server-option = --port=9090 # server-option = --md5-passwords=no # server-option = --user-password=myp4ssw0rd # server-option = --admin-password=myp4ssw0rd ### To enable 'config' user authentication # server-option = --config-password=myp4ssw0rd ### HTTPS options: server-option = --use-ssl=yes server-option = --ssl-private-key-file=/etc/ssh/selfsign.key server-option = --ssl-certificate-file=/etc/ssh/selfsign.crt ### WebRTC options: server-option = --enable-webrtc=yes server-option = --enable-webrtc-video=yes server-option = --enable-webrtc-audio=yes # server-option = --webrtc-receive-video=yes ### video rendering window size on display ### all four lines below one for each (x, y, width, height) ### fullscreen should be disabled if you want to set the size of the window: # server-option = --webrtc-renderer-window=0 # server-option = --webrtc-renderer-window=0 # server-option = --webrtc-renderer-window=480 # server-option = --webrtc-renderer-window=352 # server-option = --webrtc-renderer-fullscreen=no # server-option = --webrtc-renderer-rotation=180 # server-option = --webrtc-renderer-opacity=255 # server-option = --webrtc-renderer2-window=480 # server-option = --webrtc-renderer2-window=0 # server-option = --webrtc-renderer2-window=320 # server-option = --webrtc-renderer2-window=240 # server-option = --webrtc-receive-audio=yes # server-option = --webrtc-received-audio-volume=5.0 # server-option = --webrtc-prerenderer-smoothing=yes # server-option = --webrtc-vad=yes # server-option = --webrtc-echo-cancellation=no # server-option = --webrtc-preferred-vcodec=0 # server-option = --webrtc-enable-hw-codec=yes # server-option = --webrtc-hw-vcodec-minbitrate=256 # server-option = --webrtc-hw-vcodec-maxbitrate=4000 # server-option = --webrtc-hw-vcodec-startbitrate=800 # server-option = --webrtc-cpu-overuse-detection=no # server-option = --webrtc-combined-audiovideo-bwe=no # server-option = --webrtc-stun-urls=stun:stun.l.google.com:19302 # server-option = --webrtc-ice-servers=[{"urls": "stun:stun1.example.net"}, {"urls": "turn:turn.example.org", "username": "user", "credential": "myPassword"}] # server-option = --webrtc-stun-server=yes # server-option = --webrtc-tcp-candidate-policy=yes # server-option = --webrtc-ignore-loopback=yes ### XMPP options: # server-option = --xmpp-server=lambada.jitsi.net # server-option = --xmpp-port=5222 # server-option = --xmpp-muc-domain=meet.jit.si # server-option = --xmpp-room=room # server-option = --xmpp-room-password=room_password # server-option = --xmpp-username=me # server-option = --xmpp-password=mypassword # server-option = --xmpp-reconnect=yes # server-option = --xmpp-bosh-enable # server-option = --xmpp-bosh-tls # server-option = --xmpp-bosh-server # server-option = --xmpp-bosh-port # server-option = --xmpp-bosh-hostname # server-option = --xmpp-bosh-path # server-option = --xmpp-bridge-host=localhost # server-option = --xmpp-bridge-port=7999 ### Janus WebRTC Gateway options: # server-option = --janus-gateway-url=http://janus.conf.meetecho.com:8088 # server-option = --janus-gateway-root=/janus # server-option = --janus-room=1234 # server-option = --janus-room-pin=#pin # server-option = --janus-username=test # server-option = --janus-token=#token # server-option = --janus-proxy-host=#host # server-option = --janus-proxy-port=80 # server-option = --janus-proxy-username=#user # server-option = --janus-proxy-password=#password # server-option = --janus-proxy-bypass=#regex # server-option = --janus-force-hw-vcodec=no # server-option = --janus-video-format=#code # server-option = --janus-publish=yes # server-option = --janus-subscribe=no # server-option = --janus-reconnect=yes ### Fine-tuning options: # server-option = --connection-timeout=15 # server-option = --enable-keepalive=yes # server-option = --max-keepalive-requests=0 # server-option = --keepalive-timeout=7 # server-option = --max-queued-connections=8 # server-option = --max-streams=3 # server-option = --max-threads=5 # server-option = --thread-idle-time=10 # server-option = --chuncked-transfer-encoding=yes ### Advanced options: # server-option = --frame-timeout=5000 # server-option = --frame-buffers=auto ### Other options: # server-option = --editable-config-file=/etc/uv4l/uv4l-raspicam.conf # server-option = --enable-control-panel=yes