Hi, thank for Janus really nice project.
I have a problem:
I'm only on HTTPS
I have:
server {
listen 443 ssl;
server_name janus.domain.name;
ssl_certificate /etc/certs/janus.domain.name/fullchain.pem;
ssl_certificate_key /etc/certs/janus.domain.name/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
root /home/ubuntu/janus-gateway/html;
location /janus {
proxy_pass https://127.0.0.1:8889/janus;
}
}
Error juste 3 sec after the stream start.
Server Log debug = 5
[Tue Jan 19 10:43:40 2016] [227755585] There's a message for JANUS VideoRoom plugin
[Tue Jan 19 10:43:40 2016] Handling message: {
"request": "join",
"room": 1234,
"ptype": "publisher",
"display": "pippo"
}
[Tue Jan 19 10:43:40 2016] Configuring new participant
[Tue Jan 19 10:43:40 2016] Configuring new publisher
[Tue Jan 19 10:43:40 2016] -- Publisher ID: 3353896326
[Tue Jan 19 10:43:40 2016] Preparing JSON event as a reply
[Tue Jan 19 10:43:40 2016] [227755585] Sending event to transport...
[Tue Jan 19 10:43:40 2016] >> 0 (Success)
[Tue Jan 19 10:43:40 2016] We have a message to serve...
{
"janus": "event",
"session_id": 3823999119,
"sender": 227755585,
"transaction": "fjl9OlItI1LY",
"plugindata": {
"plugin": "janus.plugin.videoroom",
"data": {
"videoroom": "joined",
"room": 1234,
"description": "Demo Room",
"id": 3353896326,
"publishers": []
}
}
}
[Tue Jan 19 10:43:41 2016] Got a HTTP GET request on /janus/3823999119...
[Tue Jan 19 10:43:41 2016] Got a Janus API request from janus.transport.http (0x7fb76c01a220)
[Tue Jan 19 10:43:41 2016] Transport task pool, serving request
[Tue Jan 19 10:43:41 2016] Got a keep-alive on session 3823999119
[Tue Jan 19 10:43:41 2016] Session 3823999119 found... returning up to 1 messages
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x17afef0)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] There's a message for JANUS VideoRoom plugin
[Tue Jan 19 10:43:42 2016] [227755585] Remote SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-43.0.4 1034295389072244965 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 FA:9F:16:78:CC:1C:4A:ED:6E:1F:2A:F8:5A:D4:AA:DE:73:D2:9B:C9:AF:47:0D:77:62:77:77:72:08:68:95:F0
a=group:BUNDLE sdparta_0 sdparta_1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8
c=IN IP4 0.0.0.0
a=sendonly
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=ice-pwd:4332bf45b77580b035b453ba38ca5fa4
a=ice-ufrag:0ae46dbb
a=mid:sdparta_0
a=msid:{fc43c71e-74ce-3d43-b534-68f10f3fd067} {4bd21de7-adcf-a74e-8d02-fdceb41187da}
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=setup:actpass
a=ssrc:3464110468 cname:{f06e89b4-3bd3-bd4f-bb68-cb62ef8c36e5}
m=video 9 UDP/TLS/RTP/SAVPF 120 126 97
c=IN IP4 0.0.0.0
a=sendonly
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=ice-pwd:4332bf45b77580b035b453ba38ca5fa4
a=ice-ufrag:0ae46dbb
a=mid:sdparta_1
a=msid:{fc43c71e-74ce-3d43-b534-68f10f3fd067} {a23c480b-b158-374b-a46f-6cc3b987dc49}
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-mux
a=rtpmap:120 VP8/90000
a=rtpmap:126 H264/90000
a=rtpmap:97 H264/90000
a=setup:actpass
a=ssrc:1345410135 cname:{f06e89b4-3bd3-bd4f-bb68-cb62ef8c36e5}
[Tue Jan 19 10:43:42 2016] [227755585] Audio has been negotiated, Video has been negotiated, SCTP/DataChannels have NOT been negotiated
[Tue Jan 19 10:43:42 2016] [227755585] The browser: supports BUNDLE, supports rtcp-mux, is doing Trickle ICE
[Tue Jan 19 10:43:42 2016] [227755585] Setting ICE locally: got OFFER (1 audios, 1 videos)
[Tue Jan 19 10:43:42 2016] [227755585] Creating ICE agent (ICE Full mode, controlled)
[Tue Jan 19 10:43:42 2016] [227755585] Adding 172.31.35.164 to the addresses to gather candidates for
[Tue Jan 19 10:43:42 2016] [227755585] Gathering done for stream 1
[Tue Jan 19 10:43:42 2016] [227755585] Fingerprint (global) : sha-256 FA:9F:16:78:CC:1C:4A:ED:6E:1F:2A:F8:5A:D4:AA:DE:73:D2:9B:C9:AF:47:0D:77:62:77:77:72:08:68:95:F0
[Tue Jan 19 10:43:42 2016] [227755585] Parsing audio candidates (stream=1)...
[Tue Jan 19 10:43:42 2016] [227755585] ICE pwd (local): 4332bf45b77580b035b453ba38ca5fa4
[Tue Jan 19 10:43:42 2016] [227755585] ICE ufrag (local): 0ae46dbb
[Tue Jan 19 10:43:42 2016] [227755585] Audio mid: sdparta_0
[Tue Jan 19 10:43:42 2016] [227755585] DTLS setup (local): actpass
[Tue Jan 19 10:43:42 2016] [227755585] Peer audio SSRC: 3464110468
[Tue Jan 19 10:43:42 2016] [227755585] Parsing video candidates (stream=0)...
[Tue Jan 19 10:43:42 2016] [227755585] ICE pwd (local): 4332bf45b77580b035b453ba38ca5fa4
[Tue Jan 19 10:43:42 2016] [227755585] ICE ufrag (local): 0ae46dbb
[Tue Jan 19 10:43:42 2016] [227755585] Video mid: sdparta_1
[Tue Jan 19 10:43:42 2016] [227755585] DTLS setup (local): actpass
[Tue Jan 19 10:43:42 2016] [227755585] Peer video SSRC: 1345410135
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] >> Anonymized (1520 --> 739 bytes)
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] v=0
o=mozilla...THIS_IS_SDPARTA-43.0.4 1034295389072244965 0 IN IP4 0.0.0.0
s=-
t=0 0
m=audio 1 UDP/TLS/RTP/SAVPF 109 9 0 8
c=IN IP4 1.1.1.1
a=sendonly
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
m=video 1 UDP/TLS/RTP/SAVPF 120 126 97
c=IN IP4 1.1.1.1
a=sendonly
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtpmap:120 VP8/90000
a=rtpmap:126 H264/90000
a=rtpmap:97 H264/90000
[Tue Jan 19 10:43:42 2016] Handling message: {
"request": "configure",
"audio": true,
"video": true
}
[Tue Jan 19 10:43:42 2016] Setting audio property: true (room 1234, user 3353896326)
[Tue Jan 19 10:43:42 2016] Setting video property: true (room 1234, user 3353896326)
[Tue Jan 19 10:43:42 2016] Preparing JSON event as a reply
[Tue Jan 19 10:43:42 2016] This is involving a negotiation (offer) as well:
v=0
o=mozilla...THIS_IS_SDPARTA-43.0.4 1034295389072244965 0 IN IP4 0.0.0.0
s=-
t=0 0
m=audio 1 UDP/TLS/RTP/SAVPF 109 9 0 8
c=IN IP4 1.1.1.1
a=sendonly
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
m=video 1 UDP/TLS/RTP/SAVPF 120 126 97
c=IN IP4 1.1.1.1
a=sendonly
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtpmap:120 VP8/90000
a=rtpmap:126 H264/90000
a=rtpmap:97 H264/90000
[Tue Jan 19 10:43:42 2016] The publisher is going to send an audio stream
[Tue Jan 19 10:43:42 2016] -- Will answer with media direction 'recvonly'
[Tue Jan 19 10:43:42 2016] The publisher is going to send a video stream
[Tue Jan 19 10:43:42 2016] -- Will answer with media direction 'recvonly'
[Tue Jan 19 10:43:42 2016] The publisher is NOT going to open a data channel
[Tue Jan 19 10:43:42 2016] Handling publisher: turned this into an 'answer':
v=0
o=- 1453200222450631 1453200222450631 IN IP4 127.0.0.1
s=Demo Room
t=0 0
m=audio 1 RTP/SAVPF 111
c=IN IP4 1.1.1.1
a=recvonly
a=rtpmap:111 opus/48000/2
m=video 1 RTP/SAVPF 100
c=IN IP4 1.1.1.1
a=recvonly
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] >> Anonymized (334 --> 334 bytes)
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] v=0
o=- 1453200222450631 1453200222450631 IN IP4 127.0.0.1
s=Demo Room
t=0 0
m=audio 1 RTP/SAVPF 111
c=IN IP4 1.1.1.1
a=recvonly
a=rtpmap:111 opus/48000/2
m=video 1 RTP/SAVPF 100
c=IN IP4 1.1.1.1
a=recvonly
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
[Tue Jan 19 10:43:42 2016] [227755585] No RTP maps?? trying formats...
[Tue Jan 19 10:43:42 2016] [227755585] We have 1 candidates for Stream #1, Component #1
[Tue Jan 19 10:43:42 2016] [227755585] Stream #1, Component #1
[Tue Jan 19 10:43:42 2016] [227755585] Address: 172.31.35.164:42242
[Tue Jan 19 10:43:42 2016] [227755585] Priority: 2013266431
[Tue Jan 19 10:43:42 2016] [227755585] Foundation: 1
[Tue Jan 19 10:43:42 2016] [227755585] a=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host
[Tue Jan 19 10:43:42 2016] [227755585] No RTP maps?? trying formats...
[Tue Jan 19 10:43:42 2016] [227755585] We have 1 candidates for Stream #1, Component #1
[Tue Jan 19 10:43:42 2016] [227755585] Stream #1, Component #1
[Tue Jan 19 10:43:42 2016] [227755585] Address: 172.31.35.164:42242
[Tue Jan 19 10:43:42 2016] [227755585] Priority: 2013266431
[Tue Jan 19 10:43:42 2016] [227755585] Foundation: 1
[Tue Jan 19 10:43:42 2016] [227755585] a=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] >> Merged (334 --> 1032 bytes)
[Tue Jan 19 10:43:42 2016] -------------------------------------------
[Tue Jan 19 10:43:42 2016] v=0
o=- 1453200222450631 1453200222450631 IN IP4 0.0.0.0
s=Demo Room
t=0 0
a=group:BUNDLE sdparta_0 sdparta_1
a=msid-semantic: WMS janus
m=audio 1 RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=mid:sdparta_0
a=recvonly
a=rtcp-mux
a=ice-ufrag:DveT
a=ice-pwd:o35uGn8dEbxTx+BzyQpwTb
a=ice-options:trickle
a=fingerprint:sha-256 AD:15:48:AB:25:1C:9C:3D:47:C9:4D:B2:2B:FB:2A:7C:F3:C1:D4:74:4C:2A:BE:56:F3:D6:6B:67:7C:A2:FA:D1
a=setup:active
a=connection:new
a=rtpmap:111 opus/48000/2
a=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=mid:sdparta_1
a=recvonly
a=rtcp-mux
a=ice-ufrag:DveT
a=ice-pwd:o35uGn8dEbxTx+BzyQpwTb
a=ice-options:trickle
a=fingerprint:sha-256 AD:15:48:AB:25:1C:9C:3D:47:C9:4D:B2:2B:FB:2A:7C:F3:C1:D4:74:4C:2A:BE:56:F3:D6:6B:67:7C:A2:FA:D1
a=setup:active
a=connection:new
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host
[Tue Jan 19 10:43:42 2016] [227755585] Done! Ready to setup remote candidates and send connectivity checks...
[Tue Jan 19 10:43:42 2016] [227755585] -- bundle is supported by the browser, getting rid of one of the RTP/RTCP components, if any...
[Tue Jan 19 10:43:42 2016] [227755585] -- rtcp-mux is supported by the browser, getting rid of RTCP components, if any...
[Tue Jan 19 10:43:42 2016] [227755585] -- ICE Trickling is supported by the browser, waiting for remote candidates...
[Tue Jan 19 10:43:42 2016] [227755585] Sending event to transport...
[Tue Jan 19 10:43:42 2016] >> Pushing event: 0 (took 143 us)
[Tue Jan 19 10:43:42 2016] [227755585] ICE thread started
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb758018c90)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_0): candidate:0 1 UDP 2122252543 10.30.2.74 57112 typ host
[Tue Jan 19 10:43:42 2016] [227755585] Adding remote candidate component:1 stream:1 type:host 10.30.2.74:57112
[Tue Jan 19 10:43:42 2016] [227755585] ICE already started for this component, setting candidates we have up to now
[Tue Jan 19 10:43:42 2016] [227755585] ## Setting remote candidates: stream 1, component 1 (1 in the list)
[Tue Jan 19 10:43:42 2016] [227755585] >> Remote Stream #1, Component #1
[Tue Jan 19 10:43:42 2016] [227755585] Address: 10.30.2.74:57112
[Tue Jan 19 10:43:42 2016] [227755585] Priority: 2122252543
[Tue Jan 19 10:43:42 2016] [227755585] Foundation: 0
[Tue Jan 19 10:43:42 2016] [227755585] Username: 0ae46dbb
[Tue Jan 19 10:43:42 2016] [227755585] Password: 4332bf45b77580b035b453ba38ca5fa4
[Tue Jan 19 10:43:42 2016] [227755585] Setting remote credentials...
[Tue Jan 19 10:43:42 2016] [227755585] Component state changed for component 1 in stream 1: 2 (connecting)
[Tue Jan 19 10:43:42 2016] [227755585] Remote candidates set!
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb754007aa0)
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb75c006330)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_1): candidate:0 2 UDP 2122252542 10.30.2.74 59880 typ host
[Tue Jan 19 10:43:42 2016] [227755585] Got a sdparta_1 candidate but we're bundling, ignoring...
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_0): candidate:0 2 UDP 2122252542 10.30.2.74 52591 typ host
[Tue Jan 19 10:43:42 2016] [227755585] -- Skipping component 2 in stream 1 (rtcp-muxing)
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb760005f40)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_1): candidate:0 1 UDP 2122252543 10.30.2.74 54038 typ host
[Tue Jan 19 10:43:42 2016] [227755585] Got a sdparta_1 candidate but we're bundling, ignoring...
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb760000af0)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_0): candidate:1 1 UDP 1686052863 159.180.240.174 47198 typ srflx raddr 10.30.2.74 rport 57112
[Tue Jan 19 10:43:42 2016] [227755585] Adding remote candidate component:1 stream:1 type:srflx 10.30.2.74:57112 --> 159.180.240.174:47198
[Tue Jan 19 10:43:42 2016] We have a message to serve...
{
"janus": "event",
"session_id": 3823999119,
"sender": 227755585,
"transaction": "6QJPkWuVVs5P",
"plugindata": {
"plugin": "janus.plugin.videoroom",
"data": {
"videoroom": "event",
"room": 1234,
"configured": "ok"
}
},
"jsep": {
"type": "answer",
"sdp": "v=0\r\no=- 1453200222450631 1453200222450631 IN IP4 0.0.0.0\r\ns=Demo Room\r\nt=0 0\r\na=group:BUNDLE sdparta_0 sdparta_1\r\na=msid-semantic: WMS janus\r\nm=audio 1 RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=mid:sdparta_0\r\na=recvonly\r\na=rtcp-mux\r\na=ice-ufrag:DveT\r\na=ice-pwd:o35uGn8dEbxTx+BzyQpwTb\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AD:15:48:AB:25:1C:9C:3D:47:C9:4D:B2:2B:FB:2A:7C:F3:C1:D4:74:4C:2A:BE:56:F3:D6:6B:67:7C:A2:FA:D1\r\na=setup:active\r\na=connection:new\r\na=rtpmap:111 opus/48000/2\r\na=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host\r\nm=video 1 RTP/SAVPF 100\r\nc=IN IP4 0.0.0.0\r\na=mid:sdparta_1\r\na=recvonly\r\na=rtcp-mux\r\na=ice-ufrag:DveT\r\na=ice-pwd:o35uGn8dEbxTx+BzyQpwTb\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AD:15:48:AB:25:1C:9C:3D:47:C9:4D:B2:2B:FB:2A:7C:F3:C1:D4:74:4C:2A:BE:56:F3:D6:6B:67:7C:A2:FA:D1\r\na=setup:active\r\na=connection:new\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=candidate:1 1 udp 2013266431 172.31.35.164 42242 typ host\r\n"
}
}
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb75c006870)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_0): candidate:1 2 UDP 1686052862 159.180.240.174 11820 typ srflx raddr 10.30.2.74 rport 52591
[Tue Jan 19 10:43:42 2016] [227755585] -- Skipping component 2 in stream 1 (rtcp-muxing)
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb754001c00)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_1): candidate:1 2 UDP 1686052862 159.180.240.174 45680 typ srflx raddr 10.30.2.74 rport 59880
[Tue Jan 19 10:43:42 2016] [227755585] Got a sdparta_1 candidate but we're bundling, ignoring...
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb758013840)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] [227755585] Trickle candidate (sdparta_1): candidate:1 1 UDP 1686052863 159.180.240.174 59478 typ srflx raddr 10.30.2.74 rport 54038
[Tue Jan 19 10:43:42 2016] [227755585] Got a sdparta_1 candidate but we're bundling, ignoring...
[Tue Jan 19 10:43:42 2016] Got a HTTP POST request on /janus/3823999119/227755585...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x17ad6f0)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] No more remote candidates for handle 227755585!
[Tue Jan 19 10:43:42 2016] Got a HTTP GET request on /janus/3823999119...
[Tue Jan 19 10:43:42 2016] Got a Janus API request from janus.transport.http (0x7fb758018060)
[Tue Jan 19 10:43:42 2016] Transport task pool, serving request
[Tue Jan 19 10:43:42 2016] Got a keep-alive on session 3823999119
[Tue Jan 19 10:43:42 2016] Session 3823999119 found... returning up to 1 messages
[Tue Jan 19 10:43:51 2016] [227755585] Component state changed for component 1 in stream 1: 5 (failed)
[Tue Jan 19 10:43:51 2016] [ERR] [ice.c:janus_ice_cb_component_state_changed:1338] [227755585] ICE failed for component 1 in stream 1...
[Tue Jan 19 10:43:51 2016] [227755585] Telling the plugin about it (JANUS VideoRoom plugin)
[Tue Jan 19 10:43:51 2016] No WebRTC media anymore
[Tue Jan 19 10:43:51 2016] [227755585] Notifying WebRTC hangup
[Tue Jan 19 10:43:51 2016] [227755585] Sending event to transport...
[Tue Jan 19 10:43:51 2016] We have a message to serve...
{
"janus": "hangup",
"session_id": 3823999119,
"sender": 227755585,
"reason": "ICE failed"
}
Any idea with this error ? on Firefox 43 && Chrome 47
[Tue Jan 19 10:43:51 2016] [227755585] Component state changed for component 1 in stream 1: 5 (failed)
[Tue Jan 19 10:43:51 2016] [ERR] [ice.c:janus_ice_cb_component_state_changed:1338] [227755585] ICE failed for component 1 in stream 1...
EDIT
Same problem with screensharingtest
Same problem without nginx
As explained in the guidelines, please do NOT paste huge bunches of text: there's services like pastebin or gist for those. Besides, please refer to the meetecho-janus group, as github is for issues in the code and not connectivity ones (which can be debugged following the tutorial here, www.meetecho.com/blog/understanding-the-janus-admin-api/ ).
OK sorry
Thanks
This link helped me to detect problem
http://www.meetecho.com/blog/understanding-the-janus-admin-api/
thanks a lot
Cool, that's good to know! Was it a connectivity issue of some kind?
Yes exact
Debug with admin with case ICE "state": "failed"
All port are open, i have checked and rechecked
And finally, i'm on AWS so need option when launch server /opt/janus/bin/janus :
-1, --nat-1-1=ip Public IP to put in all host candidates,
assuming a 1:1 NAT is in place (e.g., Amazon
EC2 instances, default=none)
Just need to learn how to use Janus, it's comes slowly
Yes, on AWS you need to specify both that option and a STUN server, or sometimes ICE fails.
Had the same issue,
my issue was that I forgot to set
stun_server = stun.l.google.com
stun_port = 19302
in janus.cfg
we also use AWS
So I run my app on AWS .. on AWS.. there is one instance running WebApp and it's connected to another instance running Janus...
I am serving traffic using AWS load balancer used for https and talking with web app.
I faced this issue .. of ICE "state": "failed"
WebRTC somehow used to work fine at my office internet.. but elsewhere it was failing with above ICE state failed issue.
After setting
stun_server = stun.l.google.com
stun_port = 19302
It's working now. Can someone confirm that my deployment really needed stun server to be set in janus.cfg?
@lminiero what is the analog for -1, --nat-1-1=ip if we want to setup it in janus.cfg file ? Is it the same as nat_1_1_mapping ?
Most helpful comment
Yes exact
Debug with admin with case ICE
"state": "failed"All port are open, i have checked and rechecked
And finally, i'm on AWS so need option when launch server
/opt/janus/bin/janus:Just need to learn how to use Janus, it's comes slowly