]> git.sesse.net Git - cubemap/blobdiff - cubemap.config.sample
Add server-side TLS support, through kTLS.
[cubemap] / cubemap.config.sample
index 35bfe5ea221a1b69f97324807a2d33b7f176a275..c1780ece46315230e0d40cd41f0fd34e1f381aa4 100644 (file)
@@ -9,7 +9,10 @@
 num_servers 1
 
 #
-# All input ports are treated exactly the same, but you may use multiple ones nevertheless.
+# You may specify multiple input ports; save for TLS settings (TLS is automatically
+# enabled for a port if you give a key pair), they are treated exactly the same.
+# “port N” is equivalent to “listen [::]:N”. TLS requires kTLS support (Linux >= 4.13,
+# CONFIG_TLS enabled).
 #
 port 9094
 # listen 127.0.0.1:9095
@@ -51,6 +54,11 @@ stream /test-jwplayer.flv src=http://gruessi.zrh.sesse.net:4013/test.flv force_p
 # for sending on to another Cubemap instance.
 stream /test.flv.metacube src=http://gruessi.zrh.sesse.net:4013/test.flv encoding=metacube
 
+# A stream where the input is _not_ Metacube framed. Note that the stream needs to
+# have no header and be self-synchronizing (like with UDP input below), and most formats
+# are not like this. A typical example, however, is MPEG-TS.
+stream /test.ts src=http://gruessi.zrh.sesse.net:4013/test.ts src_encoding=raw
+
 # UDP input. TS is the most common container to use over UDP (you cannot
 # take any arbitrary container and expect it to work).
 # backlog_size=<number of bytes> overrides the backlog, which is normally 10 MB.