mattermost / mattermost-webrtc

23 stars 21 forks source link

How to debug? #5

Closed FingerLiu closed 5 years ago

FingerLiu commented 7 years ago

I had built a cotune, and built this mattermost-webrtc, and made config in admin page of mm, all seem work, but when I try to call my friend on mm, it told me wrong, and no error log was found, Any idea how to debug??


Update.... Now, I can connect to the webrtc server with janus demo https://janus.conf.meetecho.com/echotest.html , but, webrtc in mm still not working, and no error log found... Can anybody help me debugging?

FingerLiu commented 7 years ago

mm config is: Ihere


web rtc start log is here

docker run --rm -p 7088:7088 -p 7089:7089 -p 8188:8188 -p 8189:8189 cloudist/webrtc
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Gateway) v0.2.2
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are enabled
Adding 'vmnet' to the ICE ignore list...
Using 172.17.xxx as local IP...
Token based authentication enabled
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, IPv6 support disabled)
STUN server to use: lab.cloudist.cc:8478
ICE handles watchdog started
Testing STUN server: message is of 20 bytes
  >> Our public address is 2xxxxx
BUNDLE is NOT going to be forced
rtcp-mux is NOT going to be forced
[WARN] OpenSSL pre-1.1.0
Fingerprint of our certificate: 42xxx
Event handler plugins folder: /opt/janus/lib/janus/events
[FATAL] [janus.c:main:3683]     Couldn't access event handler plugins folder...
Plugins folder: /opt/janus/lib/janus/plugins
Sessions watchdog started
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
VideoCall watchdog started
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
VoiceMail watchdog started
JANUS Record&Play plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
Record&Play watchdog started
JANUS VideoRoom plugin initialized!
VideoRoom watchdog started
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_audiobridge.so'...
SIP watchdog started
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_streaming.so'...
AudioBridge watchdog started
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_textroom.so'...
Streaming watchdog started
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_echotest.so'...
TextRoom watchdog started
JANUS EchoTest plugin initialized!
EchoTest watchdog started
Transport plugins folder: /opt/janus/lib/janus/transports
Loading transport plugin 'libjanus_pfunix.so'...
Configuring SOCK_SEQPACKET Unix Sockets server (Janus API)
[WARN] Unix Sockets server disabled (Admin API)
JANUS Unix Sockets transport plugin initialized!
Loading transport plugin 'libjanus_websockets.so'...
Unix Sockets thread started
libwebsockets >= 1.6 available, using new API
WebSockets server started (port 8188)...
Secure WebSockets server started (port 8189)...
[WARN] Admin WebSockets server disabled
[WARN] Secure Admin WebSockets server disabled
JANUS WebSockets transport plugin initialized!
Loading transport plugin 'libjanus_http.so'...
WebSocket (Janus API) thread started
Secure WebSocket (Janus API) thread started
HTTP webserver started (port 8088, /janus path listener)...
HTTPS webserver started (port 8089, /janus path listener)...
Admin/monitor HTTP webserver started (port 7088, /admin path listener)...
Admin/monitor HTTPS webserver started (port 7089, /admin path listener)...
JANUS REST (HTTP/HTTPS) transport plugin initialized!
HTTP/Janus sessions watchdog started

cpanato commented 5 years ago

closing this, this repo is not more maintained