I ran the same tests of starting and stopping the echotest on 3 of my computers about 30 times using your Janus Server. I did not experience the problem of any of the test machines failing to connect to the Janus Server. It appears my problem is caused by something in way I have configured my Janus Server.
I am configuring the server using command line parameters currently with the settings below. I have included server start up outputs from different debug levels and noticed when I set debug to level 2 I get an error about the Stun server setting.
wilbert@wilbert-Gazelle-Professional:~/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --debug-level=2 --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
Checking command line arguments...
Debug/log level is 2
STUN unknown: 0 mandatory attribute(s)!
wilbert@wilbert-Gazelle-Professional:~/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway --debug-level=3
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
Checking command line arguments...
Debug/log level is 3
STUN unknown: 0 mandatory attribute(s)!
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
~/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway --debug-level=4
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
Checking command line arguments...
Debug/log level is 4
Adding 'vmnet' to the ICE ignore list...
Using 192.168.1.2 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
ICE port range: 0-0
Testing STUN server: message is of 20 bytes
STUN unknown: 0 mandatory attribute(s)!
>> Our public address is 108.20.20.72
Using 108.20.20.72 as our public IP in SDP
Fingerprint of our certificate: 49:E6:0B:3C:7B:B6:02:06:A3:96:DB:32:52:5F:14:E2:38:DC:15:E6:DD:1B:35:04:AD:9E:FE:0B:8E:CD:96:AB
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
VoiceMail watchdog started
JANUS Record&Play plugin initialized!
Record&Play watchdog started
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_audiobridge.so'...
Streaming watchdog started
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_videocall.so'...
AudioBridge watchdog started
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_echotest.so'...
VideoCall watchdog started
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
Echotest watchdog started
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
VideoRoom watchdog started
JANUS SIP plugin initialized!
SIP watchdog started
HTTP webserver started (port 8088, /janus-gateway path listener)...
HTTPS webserver started (port 7090, /janus-gateway path listener)...
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
Sessions watchdog started
Admin/monitor HTTPS webserver started (port 7089, /janus-gateway path listener)...
~/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway --debug-level=5
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 4
[webserver]
base_path: /janus
threads: unlimited
http: yes
port: 8088
https: no
ws: yes
ws_port: 8188
ws_ssl: no
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /admin
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: no
admin_secret: janusoverlord
[certificates]
cert_pem: /opt/janus/share/janus/certs/mycert.pem
cert_key: /opt/janus/share/janus/certs/mycert.key
[nat]
ice_ignore_list: vmnet
Checking command line arguments...
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 5
[webserver]
base_path: /janus-gateway
threads: unlimited
http: yes
port: 8088
https: yes
ws: yes
ws_port: 8188
ws_ssl: no
secure_port: 7090
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /janus-gateway
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: yes
admin_secret: janusoverlord
admin_secure_port: 7089
[certificates]
cert_pem: /home/wilbert/janus-gateway/certs/ssl.pem
cert_key: /home/wilbert/janus-gateway/certs/ssl.key
[nat]
ice_ignore_list: vmnet
stun_server: 173.194.68.127
stun_port: 19302
public_ip: 108.20.20.72
Debug/log level is 5
Adding 'vmnet' to the ICE ignore list...
Available interfaces:
lo: 127.0.0.1
eth0: 192.168.1.2
Using 192.168.1.2 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
ICE port range: 0-0
Testing STUN server: message is of 20 bytes
>> Got 32 bytes...
STUN unknown: 0 mandatory attribute(s)!
>> XOR-MAPPED-ADDRESS: 0
>> Our public address is 108.20.20.72
Using 108.20.20.72 as our public IP in SDP
Using certificates:
/home/wilbert/janus-gateway/certs/ssl.pem
/home/wilbert/janus-gateway/certs/ssl.key
Fingerprint of our certificate: 49:E6:0B:3C:7B:B6:02:06:A3:96:DB:32:52:5F:14:E2:38:DC:15:E6:DD:1B:35:04:AD:9E:FE:0B:8E:CD:96:AB
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.voicemail.cfg
[janus.plugin.voicemail.cfg]
[general]
path: /tmp/voicemail/
base: /voicemail/
Recordings path: /tmp/voicemail/
Recordings base: /voicemail/
JANUS VoiceMail plugin initialized!
VoiceMail watchdog started
Joining thread
Version: 4 (0.0.4)
[janus.plugin.voicemail] JANUS VoiceMail plugin
This is a plugin implementing a very simple VoiceMail service for Janus, recording Opus streams.
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.recordplay.cfg
[janus.plugin.recordplay.cfg]
[general]
path: /opt/janus/share/janus/recordings
Updating recordings list in /opt/janus/share/janus/recordings
Importing recording '1234.nfo'...
JANUS Record&Play plugin initialized!
Version: 1 (0.0.1)
[janus.plugin.recordplay] JANUS Record&Play plugin
Joining thread
Record&Play watchdog started
This is a trivial Record&Play plugin for Janus, to record WebRTC sessions and replay them.
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.cfg
[janus.plugin.streaming.cfg]
[gstreamer-sample]
type: rtp
id: 1
description: Opus/VP8 live stream coming from gstreamer
audio: yes
video: yes
audioport: 5002
audiopt: 111
audiortpmap: opus/48000/2
videoport: 5004
videopt: 100
videortpmap: VP8/90000
secret: adminpwd
[file-live-sample]
type: live
id: 2
description: a-law file source (radio broadcast)
filename: /opt/janus/share/janus/streams/radio.alaw
audio: yes
video: no
secret: adminpwd
[file-ondemand-sample]
type: ondemand
id: 3
description: mu-law file source (music)
filename: /opt/janus/share/janus/streams/music.mulaw
audio: yes
video: no
secret: adminpwd
Adding stream 'gstreamer-sample'
Audio enabled, Video enabled
Audio enabled, Video enabled
Adding stream 'file-live-sample'
Starting relay thread
Adding stream 'file-ondemand-sample'
::: [1][gstreamer-sample] Opus/VP8 live stream coming from gstreamer (live, RTP source)
::: [2][file-live-sample] a-law file source (radio broadcast) (live, file source)
[gstreamer-sample] Audio listener bound to port 5002
::: [3][file-ondemand-sample] mu-law file source (music) (on demand, file source)
Filesource RTP thread starting...
[gstreamer-sample] Video listener bound to port 5004
Opening file source /opt/janus/share/janus/streams/radio.alaw...
Streaming audio file: /opt/janus/share/janus/streams/radio.alaw
JANUS Streaming plugin initialized!
Version: 3 (0.0.3)
[janus.plugin.streaming] JANUS Streaming plugin
This is a streaming plugin for Janus, allowing WebRTC peers to watch/listen to pre-recorded files or media generated by gstreamer.
Streaming watchdog started
Loading plugin 'libjanus_audiobridge.so'...
Joining thread
JANUS AudioBridge plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.audiobridge.cfg
[janus.plugin.audiobridge.cfg]
[1234]
description: Demo Room
secret: adminpwd
sampling_rate: 16000
record: false
Adding audio room '1234'
Created audiobridge: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 16000 (will NOT be recorded)
Audio bridge thread starting...
Thread is for mixing room 1234 (Demo Room)...
JANUS AudioBridge plugin initialized!
Version: 4 (0.0.4)
[janus.plugin.audiobridge] JANUS AudioBridge plugin
This is a plugin implementing an audio conference bridge for Janus, mixing Opus streams.
Loading plugin 'libjanus_videocall.so'...
AudioBridge watchdog started
Joining thread
JANUS VideoCall plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videocall.cfg
[janus.plugin.videocall.cfg]
JANUS VideoCall plugin initialized!
Version: 3 (0.0.3)
Joining thread
[janus.plugin.videocall] JANUS VideoCall plugin
VideoCall watchdog started
This is a simple video call plugin for Janus, allowing two WebRTC peers to call each other through the gateway.
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.echotest.cfg
[janus.plugin.echotest.cfg]
JANUS EchoTest plugin initialized!
Version: 4 (0.0.4)
Joining thread
Echotest watchdog started
[janus.plugin.echotest] JANUS EchoTest plugin
This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface.
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videoroom.cfg
[janus.plugin.videoroom.cfg]
[1234]
description: Demo Room
secret: adminpwd
publishers: 6
bitrate: 128000
fir_freq: 10
record: false
Adding video room '1234'
Created videoroom: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 128000, max 6 publishers, FIR frequency of 10 seconds
JANUS VideoRoom plugin initialized!
Version: 4 (0.0.4)
Joining thread
[janus.plugin.videoroom] JANUS VideoRoom plugin
VideoRoom watchdog started
This is a plugin implementing a videoconferencing MCU for Janus, something like Licode.
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.sip.cfg
[janus.plugin.sip.cfg]
[general]
autodetect_ignore: vmnet
Adding 'vmnet' to the c-line ignore list...
Autodetecting through available interfaces...
Going to use 192.168.1.2 as a c-line in the SDPs
JANUS SIP plugin initialized!
Version: 3 (0.0.3)
Joining thread
[janus.plugin.sip] JANUS SIP plugin
SIP watchdog started
This is a simple SIP plugin for Janus, allowing WebRTC peers to register at a SIP server and call SIP user agents through the gateway.
Using a thread per connection for the HTTP webserver
HTTP webserver started (port 8088, /janus-gateway path listener)...
Using a thread per connection for the HTTPS webserver
HTTPS webserver started (port 7090, /janus-gateway path listener)...
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
Using a thread per connection for the admin/monitor HTTPS webserver
Sessions watchdog started
Admin/monitor HTTPS webserver started (port 7089, /janus-gateway path listener)...
/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway --debug-level=6
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 4
[webserver]
base_path: /janus
threads: unlimited
http: yes
port: 8088
https: no
ws: yes
ws_port: 8188
ws_ssl: no
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /admin
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: no
admin_secret: janusoverlord
[certificates]
cert_pem: /opt/janus/share/janus/certs/mycert.pem
cert_key: /opt/janus/share/janus/certs/mycert.key
[nat]
ice_ignore_list: vmnet
Checking command line arguments...
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 6
[webserver]
base_path: /janus-gateway
threads: unlimited
http: yes
port: 8088
https: yes
ws: yes
ws_port: 8188
ws_ssl: no
secure_port: 7090
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /janus-gateway
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: yes
admin_secret: janusoverlord
admin_secure_port: 7089
[certificates]
cert_pem: /home/wilbert/janus-gateway/certs/ssl.pem
cert_key: /home/wilbert/janus-gateway/certs/ssl.key
[nat]
ice_ignore_list: vmnet
stun_server: 173.194.68.127
stun_port: 19302
public_ip: 108.20.20.72
Debug/log level is 6
Adding 'vmnet' to the ICE ignore list...
Available interfaces:
lo: 127.0.0.1
eth0: 192.168.1.2
Using 192.168.1.2 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
ICE port range: 0-0
Testing STUN server: message is of 20 bytes
>> Got 32 bytes...
STUN unknown: 0 mandatory attribute(s)!
>> XOR-MAPPED-ADDRESS: 0
>> Our public address is 108.20.20.72
Using 108.20.20.72 as our public IP in SDP
Using certificates:
/home/wilbert/janus-gateway/certs/ssl.pem
/home/wilbert/janus-gateway/certs/ssl.key
Fingerprint of our certificate: 49:E6:0B:3C:7B:B6:02:06:A3:96:DB:32:52:5F:14:E2:38:DC:15:E6:DD:1B:35:04:AD:9E:FE:0B:8E:CD:96:AB
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.voicemail.cfg
[janus.plugin.voicemail.cfg]
[general]
path: /tmp/voicemail/
base: /voicemail/
Recordings path: /tmp/voicemail/
Recordings base: /voicemail/
JANUS VoiceMail plugin initialized!
Version: 4 (0.0.4)
[janus.plugin.voicemail] JANUS VoiceMail plugin
This is a plugin implementing a very simple VoiceMail service for Janus, recording Opus streams.
Loading plugin 'libjanus_recordplay.so'...
Joining thread
JANUS Record&Play plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.recordplay.cfg
[janus.plugin.recordplay.cfg]
[general]
path: /opt/janus/share/janus/recordings
Updating recordings list in /opt/janus/share/janus/recordings
Importing recording '1234.nfo'...
JANUS Record&Play plugin initialized!
Version: 1 (0.0.1)
[janus.plugin.recordplay] JANUS Record&Play plugin
This is a trivial Record&Play plugin for Janus, to record WebRTC sessions and replay them.
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.cfg
[janus.plugin.streaming.cfg]
[gstreamer-sample]
type: rtp
id: 1
description: Opus/VP8 live stream coming from gstreamer
audio: yes
video: yes
audioport: 5002
Joining thread
audiopt: 111
audiortpmap: opus/48000/2
videoport: 5004
VoiceMail watchdog started
Record&Play watchdog started
videopt: 100
videortpmap: VP8/90000
secret: adminpwd
[file-live-sample]
type: live
id: 2
description: a-law file source (radio broadcast)
filename: /opt/janus/share/janus/streams/radio.alaw
audio: yes
video: no
secret: adminpwd
[file-ondemand-sample]
type: ondemand
id: 3
description: mu-law file source (music)
filename: /opt/janus/share/janus/streams/music.mulaw
audio: yes
video: no
secret: adminpwd
Adding stream 'gstreamer-sample'
Audio enabled, Video enabled
Audio enabled, Video enabled
Adding stream 'file-live-sample'
Starting relay thread
Adding stream 'file-ondemand-sample'
[gstreamer-sample] Audio listener bound to port 5002
[gstreamer-sample] Video listener bound to port 5004
Filesource RTP thread starting...
Opening file source /opt/janus/share/janus/streams/radio.alaw...
::: [1][gstreamer-sample] Opus/VP8 live stream coming from gstreamer (live, RTP source)
Streaming audio file: /opt/janus/share/janus/streams/radio.alaw
::: [2][file-live-sample] a-law file source (radio broadcast) (live, file source)
::: [3][file-ondemand-sample] mu-law file source (music) (on demand, file source)
JANUS Streaming plugin initialized!
Version: 3 (0.0.3)
[janus.plugin.streaming] JANUS Streaming plugin
Streaming watchdog started
This is a streaming plugin for Janus, allowing WebRTC peers to watch/listen to pre-recorded files or media generated by gstreamer.
Joining thread
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.audiobridge.cfg
[janus.plugin.audiobridge.cfg]
[1234]
description: Demo Room
secret: adminpwd
sampling_rate: 16000
record: false
Adding audio room '1234'
Created audiobridge: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 16000 (will NOT be recorded)
Audio bridge thread starting...
Thread is for mixing room 1234 (Demo Room)...
JANUS AudioBridge plugin initialized!
Joining thread
Version: 4 (0.0.4)
AudioBridge watchdog started
[janus.plugin.audiobridge] JANUS AudioBridge plugin
This is a plugin implementing an audio conference bridge for Janus, mixing Opus streams.
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videocall.cfg
[janus.plugin.videocall.cfg]
JANUS VideoCall plugin initialized!
Version: 3 (0.0.3)
[janus.plugin.videocall] JANUS VideoCall plugin
Joining thread
This is a simple video call plugin for Janus, allowing two WebRTC peers to call each other through the gateway.
VideoCall watchdog started
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.echotest.cfg
[janus.plugin.echotest.cfg]
JANUS EchoTest plugin initialized!
Version: 4 (0.0.4)
Joining thread
[janus.plugin.echotest] JANUS EchoTest plugin
Echotest watchdog started
This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface.
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videoroom.cfg
[janus.plugin.videoroom.cfg]
[1234]
description: Demo Room
secret: adminpwd
publishers: 6
bitrate: 128000
fir_freq: 10
record: false
Adding video room '1234'
Created videoroom: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 128000, max 6 publishers, FIR frequency of 10 seconds
JANUS VideoRoom plugin initialized!
Version: 4 (0.0.4)
VideoRoom watchdog started
Joining thread
[janus.plugin.videoroom] JANUS VideoRoom plugin
This is a plugin implementing a videoconferencing MCU for Janus, something like Licode.
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.sip.cfg
[janus.plugin.sip.cfg]
[general]
autodetect_ignore: vmnet
Adding 'vmnet' to the c-line ignore list...
Autodetecting through available interfaces...
Going to use 192.168.1.2 as a c-line in the SDPs
JANUS SIP plugin initialized!
Version: 3 (0.0.3)
[janus.plugin.sip] JANUS SIP plugin
Joining thread
SIP watchdog started
This is a simple SIP plugin for Janus, allowing WebRTC peers to register at a SIP server and call SIP user agents through the gateway.
Using a thread per connection for the HTTP webserver
HTTP webserver started (port 8088, /janus-gateway path listener)...
Using a thread per connection for the HTTPS webserver
HTTPS webserver started (port 7090, /janus-gateway path listener)...
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
Using a thread per connection for the admin/monitor HTTPS webserver
Sessions watchdog started
Admin/monitor HTTPS webserver started (port 7089, /janus-gateway path listener)...
~/janus-gateway$ ./janus --secure-port=7090 -c /home/wilbert/janus-gateway/certs/ssl.pem -k /home/wilbert/janus-gateway/certs/ssl.key --base-path=/janus-gateway --stun-server=
173.194.68.127:19302 --public-ip=108.20.20.72 --admin-port=7088 --admin-secure-port=7089 --admin-base-path=/janus-gateway --debug-level=7
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.0.6
---------------------------------------------------
Reading configuration from /opt/janus/etc/janus/janus.cfg
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 4
[webserver]
base_path: /janus
threads: unlimited
http: yes
port: 8088
https: no
ws: yes
ws_port: 8188
ws_ssl: no
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /admin
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: no
admin_secret: janusoverlord
[certificates]
cert_pem: /opt/janus/share/janus/certs/mycert.pem
cert_key: /opt/janus/share/janus/certs/mycert.key
[nat]
ice_ignore_list: vmnet
Checking command line arguments...
[janus.cfg]
[general]
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
debug_level: 7
[webserver]
base_path: /janus-gateway
threads: unlimited
http: yes
port: 8088
https: yes
ws: yes
ws_port: 8188
ws_ssl: no
secure_port: 7090
[rabbitmq]
enable: no
host: localhost
to_janus: to-janus
from_janus: from-janus
[admin]
admin_base_path: /janus-gateway
admin_threads: unlimited
admin_http: no
admin_port: 7088
admin_https: yes
admin_secret: janusoverlord
admin_secure_port: 7089
[certificates]
cert_pem: /home/wilbert/janus-gateway/certs/ssl.pem
cert_key: /home/wilbert/janus-gateway/certs/ssl.key
[nat]
ice_ignore_list: vmnet
stun_server: 173.194.68.127
stun_port: 19302
public_ip: 108.20.20.72
Debug/log level is 7
Adding 'vmnet' to the ICE ignore list...
Available interfaces:
lo: 127.0.0.1
eth0: 192.168.1.2
Using 192.168.1.2 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
ICE port range: 0-0
Testing STUN server: message is of 20 bytes
>> Got 32 bytes...
STUN unknown: 0 mandatory attribute(s)!
>> XOR-MAPPED-ADDRESS: 0
>> Our public address is 108.20.20.72
Using 108.20.20.72 as our public IP in SDP
Using certificates:
/home/wilbert/janus-gateway/certs/ssl.pem
/home/wilbert/janus-gateway/certs/ssl.key
Fingerprint of our certificate: 49:E6:0B:3C:7B:B6:02:06:A3:96:DB:32:52:5F:14:E2:38:DC:15:E6:DD:1B:35:04:AD:9E:FE:0B:8E:CD:96:AB
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.voicemail.cfg
[janus.plugin.voicemail.cfg]
[general]
path: /tmp/voicemail/
base: /voicemail/
Recordings path: /tmp/voicemail/
Recordings base: /voicemail/
JANUS VoiceMail plugin initialized!
Version: 4 (0.0.4)
VoiceMail watchdog started
Joining thread
[janus.plugin.voicemail] JANUS VoiceMail plugin
This is a plugin implementing a very simple VoiceMail service for Janus, recording Opus streams.
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.recordplay.cfg
[janus.plugin.recordplay.cfg]
[general]
path: /opt/janus/share/janus/recordings
Updating recordings list in /opt/janus/share/janus/recordings
Importing recording '1234.nfo'...
JANUS Record&Play plugin initialized!
Version: 1 (0.0.1)
Record&Play watchdog started
Joining thread
[janus.plugin.recordplay] JANUS Record&Play plugin
This is a trivial Record&Play plugin for Janus, to record WebRTC sessions and replay them.
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.cfg
[janus.plugin.streaming.cfg]
[gstreamer-sample]
type: rtp
id: 1
description: Opus/VP8 live stream coming from gstreamer
audio: yes
video: yes
audioport: 5002
audiopt: 111
audiortpmap: opus/48000/2
videoport: 5004
videopt: 100
videortpmap: VP8/90000
secret: adminpwd
[file-live-sample]
type: live
id: 2
description: a-law file source (radio broadcast)
filename: /opt/janus/share/janus/streams/radio.alaw
audio: yes
video: no
secret: adminpwd
[file-ondemand-sample]
type: ondemand
id: 3
description: mu-law file source (music)
filename: /opt/janus/share/janus/streams/music.mulaw
audio: yes
video: no
secret: adminpwd
Adding stream 'gstreamer-sample'
Audio enabled, Video enabled
Audio enabled, Video enabled
Adding stream 'file-live-sample'
Starting relay thread
Adding stream 'file-ondemand-sample'
Filesource RTP thread starting...
[gstreamer-sample] Audio listener bound to port 5002
Opening file source /opt/janus/share/janus/streams/radio.alaw...
::: [1][gstreamer-sample] Opus/VP8 live stream coming from gstreamer (live, RTP source)
::: [2][file-live-sample] a-law file source (radio broadcast) (live, file source)
::: [3][file-ondemand-sample] mu-law file source (music) (on demand, file source)
Streaming audio file: /opt/janus/share/janus/streams/radio.alaw
[gstreamer-sample] Video listener bound to port 5004
JANUS Streaming plugin initialized!
Version: 3 (0.0.3)
[janus.plugin.streaming] JANUS Streaming plugin
This is a streaming plugin for Janus, allowing WebRTC peers to watch/listen to pre-recorded files or media generated by gstreamer.
Loading plugin 'libjanus_audiobridge.so'...
Joining thread
JANUS AudioBridge plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.audiobridge.cfg
[janus.plugin.audiobridge.cfg]
[1234]
description: Demo Room
secret: adminpwd
sampling_rate: 16000
record: false
Adding audio room '1234'
Created audiobridge: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 16000 (will NOT be recorded)
Audio bridge thread starting...
Thread is for mixing room 1234 (Demo Room)...
JANUS AudioBridge plugin initialized!
Version: 4 (0.0.4)
[janus.plugin.audiobridge] JANUS AudioBridge plugin
Joining thread
AudioBridge watchdog started
This is a plugin implementing an audio conference bridge for Janus, mixing Opus streams.
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videocall.cfg
[janus.plugin.videocall.cfg]
JANUS VideoCall plugin initialized!
Version: 3 (0.0.3)
VideoCall watchdog started
Joining thread
[janus.plugin.videocall] JANUS VideoCall plugin
Streaming watchdog started
This is a simple video call plugin for Janus, allowing two WebRTC peers to call each other through the gateway.
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.echotest.cfg
[janus.plugin.echotest.cfg]
JANUS EchoTest plugin initialized!
Version: 4 (0.0.4)
Joining thread
Echotest watchdog started
[janus.plugin.echotest] JANUS EchoTest plugin
This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface.
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videoroom.cfg
[janus.plugin.videoroom.cfg]
[1234]
description: Demo Room
secret: adminpwd
publishers: 6
bitrate: 128000
fir_freq: 10
record: false
Adding video room '1234'
Created videoroom: 1234 (Demo Room, secret: adminpwd)
::: [1234][Demo Room] 128000, max 6 publishers, FIR frequency of 10 seconds
JANUS VideoRoom plugin initialized!
Version: 4 (0.0.4)
[janus.plugin.videoroom] JANUS VideoRoom plugin
VideoRoom watchdog started
Joining thread
This is a plugin implementing a videoconferencing MCU for Janus, something like Licode.
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.sip.cfg
[janus.plugin.sip.cfg]
[general]
autodetect_ignore: vmnet
Adding 'vmnet' to the c-line ignore list...
Autodetecting through available interfaces...
Going to use 192.168.1.2 as a c-line in the SDPs
JANUS SIP plugin initialized!
Version: 3 (0.0.3)
Joining thread
SIP watchdog started
[janus.plugin.sip] JANUS SIP plugin
This is a simple SIP plugin for Janus, allowing WebRTC peers to register at a SIP server and call SIP user agents through the gateway.
Using a thread per connection for the HTTP webserver
HTTP webserver started (port 8088, /janus-gateway path listener)...
Using a thread per connection for the HTTPS webserver
HTTPS webserver started (port 7090, /janus-gateway path listener)...
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
Using a thread per connection for the admin/monitor HTTPS webserver
Sessions watchdog started
Admin/monitor HTTPS webserver started (port 7089, /janus-gateway path listener)...
Any help is much appreciated.
wilbert