Skip to content

Instantly share code, notes, and snippets.

@mtlynch
Created January 12, 2022 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtlynch/4eadb3b51ab912255e557f2775da5328 to your computer and use it in GitHub Desktop.
Save mtlynch/4eadb3b51ab912255e557f2775da5328 to your computer and use it in GitHub Desktop.
$ docker run --privileged --network host --publish 8001:8001 --publish 8002:8002 --name janus-ustreamer janus-ustreamer:latest
WARNING: Published ports are discarded when using host network mode
-- INFO [164530.467 main] -- Using internal blank placeholder
-- INFO [164530.467 main] -- Using H264-sink: h264_memsink
-- INFO [164530.470 main] -- Listening HTTP on [127.0.0.1]:8001
-- INFO [164530.470 stream] -- Using V4L2 device: /dev/video0
-- INFO [164530.470 stream] -- Using desired FPS: 30
-- INFO [164530.470 http] -- Starting HTTP eventloop ...
-- INFO [164530.470 stream] -- H264: Initializing MMAL encoder ...
-- INFO [164530.470 stream] -- H264: Using bitrate: 5000 Kbps
-- INFO [164530.470 stream] -- H264: Using GOP: 30
-- INFO [164530.485 stream] -- H264: Configuring MMAL encoder: zero_copy=0 ...
Janus commit: 23b7c212cc89c8bb95fd67113acae9a86c65dc25
Compiled on: Mon Jan 10 23:21:48 UTC 2022
Failed to load /opt/janus/lib/janus/configs//janus.jcfg, trying the INI instead...
Error reading/parsing the configuration file in /opt/janus/lib/janus/configs/, going on with the defaults and the command line arguments
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.jcfg'... error 2 (No such file or directory)
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.cfg'... error 2 (No such file or directory)
Logger plugins folder: /opt/janus/lib/janus/loggers
[WARN] Couldn't access logger plugins folder...
---------------------------------------------------
Starting Meetecho Janus (WebRTC Server) v0.11.7
---------------------------------------------------
Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are enabled
Using 10.0.0.225 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
TURN REST API backend: (disabled)
[WARN] Janus is deployed on a private address (10.0.0.225) but you didn't specify any STUN server! Expect trouble if this is supposed to work over the internet and not just in a LAN...
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Fingerprint of our certificate: 94:32:41:C3:76:5B:F1:30:2A:54:4C:E1:C7:1E:EA:19:09:5D:A5:03:6D:FD:B5:6E:39:BA:A5:B6:21:89:D0:A8
[WARN] Data Channels support not compiled
Event handlers support disabled
Plugins folder: /opt/janus/lib/janus/plugins/
Joining Janus requests handler thread
Loading plugin 'libjanus_voicemail.so'...
Sessions watchdog started
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.voicemail.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.voicemail), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.voicemail.cfg'... error 2 (No such file or directory)
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_textroom.so'...
[WARN] Data channels support not compiled, disabling TextRoom plugin
[WARN] The 'janus.plugin.textroom' plugin could not be initialized
Loading plugin 'libjanus_sip.so'...
================================================================================
-- INFO [164530.531 stream] -- Device fd=12 opened
-- INFO [164530.531 stream] -- Using input channel: 0
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.sip.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.sip), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.sip.cfg'... error 2 (No such file or directory)
JANUS SIP plugin initialized!
Loading plugin 'libjanus_echotest.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.echotest.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.echotest), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.echotest.cfg'... error 2 (No such file or directory)
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.recordplay.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.recordplay), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.recordplay.cfg'... error 2 (No such file or directory)
[FATAL] [plugins/janus_recordplay.c:janus_recordplay_init:809] No recordings path specified, giving up...
[WARN] The 'janus.plugin.recordplay' plugin could not be initialized
Loading plugin 'libjanus_audiobridge.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.audiobridge.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.audiobridge), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.audiobridge.cfg'... error 2 (No such file or directory)
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_streaming.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.streaming.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.streaming), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.streaming.cfg'... error 2 (No such file or directory)
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.videoroom.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.videoroom), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.videoroom.cfg'... error 2 (No such file or directory)
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_nosip.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.nosip.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.nosip), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.nosip.cfg'... error 2 (No such file or directory)
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_videocall.so'...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.videocall.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.videocall), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.videocall.cfg'... error 2 (No such file or directory)
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_ustreamer.so'...
== ustreamer -- Initializing plugin ...
== ustreamer -- Reading config file '/opt/janus/lib/janus/configs//janus.plugin.ustreamer.jcfg' ...
[WARN] The 'janus.plugin.ustreamer' plugin doesn't implement any callback for RTP/RTCP/data... is this on purpose?
Transport plugins folder: /opt/janus/lib/janus/transports
== ustreamer -- No active watchers, memsink disconnected
Loading transport plugin 'libjanus_http.so'...
HTTP transport timer started
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.transport.http.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.transport.http), trying .cfg
-- ERROR [164530.554 stream] -- Requested resolution=640x480 is unavailable
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.transport.http.cfg'... error 2 (No such file or directory)
[WARN] No HTTP/HTTPS server started, giving up...
[WARN] The 'janus.transport.http' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
[WARN] libwebsockets has been built without IPv6 support, will bind to IPv4 only
libwebsockets logging: 0
-- INFO [164530.575 stream] -- Using resolution: 1280x720
-- INFO [164530.575 stream] -- Using pixelformat: UYVY
-- INFO [164530.575 stream] -- Querying HW FPS changing is not supported
-- INFO [164530.575 stream] -- Using IO method: MMAP
-- INFO [164530.581 stream] -- Requested 5 device buffers, got 5
Websockets server started (port 8002)...
JANUS WebSockets transport plugin initialized!
Loading transport plugin 'libjanus_pfunix.so'...
WebSockets thread started
-- INFO [164530.590 stream] -- Capturing started
-- INFO [164530.590 stream] -- OMX encoder sets limit for worker threads: 3
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.transport.pfunix.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.transport.pfunix), trying .cfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.transport.pfunix.cfg'... error 2 (No such file or directory)
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
-- INFO [164530.590 stream] -- Initializing OMX encoder ...
-- INFO [164530.592 stream] -- Initializing OMX encoder ...
-- INFO [164530.594 stream] -- Initializing OMX encoder ...
-- INFO [164530.603 stream] -- Using JPEG quality: 80%
-- INFO [164530.603 stream] -- Creating pool JPEG with 3 workers ...
-- INFO [164530.603 stream] -- Capturing ...
-- ERROR [164531.605 stream] -- Mainloop select() error: Inappropriate ioctl for device
-- INFO [164531.605 stream] -- Destroying workers pool JPEG ...
-- INFO [164531.642 stream] -- Capturing stopped
-- INFO [164531.644 stream] -- Device fd=12 closed
================================================================================
-- INFO [164531.679 stream] -- Device fd=12 opened
-- INFO [164531.679 stream] -- Using input channel: 0
-- ERROR [164531.701 stream] -- Requested resolution=640x480 is unavailable
-- INFO [164531.723 stream] -- Using resolution: 1280x720
-- INFO [164531.723 stream] -- Using pixelformat: UYVY
-- INFO [164531.723 stream] -- Querying HW FPS changing is not supported
-- INFO [164531.723 stream] -- Using IO method: MMAP
-- INFO [164531.728 stream] -- Requested 5 device buffers, got 5
-- INFO [164531.738 stream] -- Capturing started
-- INFO [164531.738 stream] -- OMX encoder sets limit for worker threads: 3
-- INFO [164531.754 stream] -- Using JPEG quality: 80%
-- INFO [164531.754 stream] -- Creating pool JPEG with 3 workers ...
-- INFO [164531.754 stream] -- Capturing ...
-- ERROR [164532.755 stream] -- Mainloop select() error: Inappropriate ioctl for device
-- INFO [164532.756 stream] -- Destroying workers pool JPEG ...
-- INFO [164532.793 stream] -- Capturing stopped
-- INFO [164532.794 stream] -- Device fd=12 closed
================================================================================
-- INFO [164532.832 stream] -- Device fd=12 opened
-- INFO [164532.832 stream] -- Using input channel: 0
-- ERROR [164532.853 stream] -- Requested resolution=640x480 is unavailable
-- INFO [164532.875 stream] -- Using resolution: 1280x720
-- INFO [164532.875 stream] -- Using pixelformat: UYVY
-- INFO [164532.875 stream] -- Querying HW FPS changing is not supported
-- INFO [164532.875 stream] -- Using IO method: MMAP
-- INFO [164532.880 stream] -- Requested 5 device buffers, got 5
-- INFO [164532.889 stream] -- Capturing started
-- INFO [164532.889 stream] -- OMX encoder sets limit for worker threads: 3
-- INFO [164532.904 stream] -- Using JPEG quality: 80%
-- INFO [164532.905 stream] -- Creating pool JPEG with 3 workers ...
-- INFO [164532.905 stream] -- Capturing ...
^C-- ERROR [164533.906 stream] -- Mainloop select() error: Inappropriate ioctl for device
-- INFO [164533.906 stream] -- Destroying workers pool JPEG ...
-- INFO [164533.946 stream] -- Capturing stopped
-- INFO [164533.947 stream] -- Device fd=12 closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment