valeriansaliou / giggle Goto Github PK
View Code? Open in Web Editor NEW:telephone_receiver: Giggle Jingle library for XMPP, implementation of XEP-0166.
Home Page: https://www.npmjs.com/package/giggle
License: Mozilla Public License 2.0
:telephone_receiver: Giggle Jingle library for XMPP, implementation of XEP-0166.
Home Page: https://www.npmjs.com/package/giggle
License: Mozilla Public License 2.0
http://xmpp.org/extensions/xep-0269.html
Uno.im note: Maybe this is the XEP that the iOS lib used by Adonis implements on the top of the "standard" Jingle XEP.
Add the XEP-0167: Jingle RTP Sessions support: http://xmpp.org/extensions/xep-0167.html
It will be nice to create a file with all XEPs support (with the version number) and verify if it is the last version, if not, it is the time to update ;)
Add the XEP-0299: Codecs for Jingle Video support: http://xmpp.org/extensions/xep-0299.html.
When I call from two browser tabs I can see the video start. But the 2nd party never gets past the "waiting for acceptance"
Put JSJaCJingle.js in production in Uno.im and debug/enhance the whole lib.
http://xmpp.org/extensions/xep-0278.html
Important: discover Jingle Nodes on JSJaCJingle_listen() or so, do not request for Jingle Node services on each new session. If a session is being initiated and the services are still pending, delay the session initiation (wait for the available services to come first!).
Makes code more readable.
Add the XEP-0298: Delivering Conference Information to Jingle Participants (Coin) support: http://xmpp.org/extensions/xep-0298.html.
Support for both:
Useful in case the user wants to share his video being in an audio-only call, or the contrary: unshare his video and fall-back to audio only.
Add the XEP-0260: Jingle SOCKS5 Bytestreams Transport Method support: http://xmpp.org/extensions/xep-0260.html.
Add the XEP-0176: Jingle ICE-UDP Transport Method support: http://xmpp.org/extensions/xep-0176.html.
Make aspect ratio configurable by passing a video resolution.
Allow to disable audio or video.
Steps to reproduce:
[JSJaCJingle] _peer_connection_create > Error: TypeMismatchError: DOM Exception 17
Checked on demo page - https://demo.frenchtouch.pro/valerian.saliou/jsjac-jingle/examples/simple_client.html.
Chrome 32 beta <-> Chrome 32 beta: not work
Google Chrome console logs with "sdp=1":
user_1 (Chrome 32.0.1700.76 beta-m) OS Windows 7 SP1 start video call
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. lib.jquery.js:3
[JSJaCJingle] lib:listen > Listening. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Discovering available services... lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: udp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: tcp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Discovered available services. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Ready. lib.jsjac.js:247
[JSJaCJingle] lib:defer > Executing 0 deferred functions... lib.jsjac.js:247
[JSJaCJingle] lib:defer > Done executing deferred functions. lib.jsjac.js:247
[JSJaCJingle] initiate lib.jsjac.js:247
[JSJaCJingle] initiate > New Jingle session with media: video lib.jsjac.js:247
session_initiate_pending simple_client.js:28
[JSJaCJingle] _peer_get_user_media lib.jsjac.js:247
[JSJaCJingle] _peer_get_user_media > Getting user media... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Got user media. lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Waiting for local video to be loaded... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Local video loaded. lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Using ICE server at: stun:stun.jappix.com:3478?transport=tcp (1). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Getting local description... lib.jsjac.js:247
[JSJaCJingle] _peer_got_description lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Got local description. lib.jsjac.js:247
[JSJaCJingle] SDP (local:raw)
v=0
o=- 7596627277040944372 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS 1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=ice-options:google-ice
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:2236282588 cname:f7Zlifa8t2y2e7fa
a=ssrc:2236282588 msid:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL 6ab46667-ec05-46b0-a33e-88c7c29874e4
a=ssrc:2236282588 mslabel:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL
a=ssrc:2236282588 label:6ab46667-ec05-46b0-a33e-88c7c29874e4
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=ice-options:google-ice
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:81115015 cname:f7Zlifa8t2y2e7fa
a=ssrc:81115015 msid:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL 98d56551-dd67-4303-81d2-91b48b600cd8
a=ssrc:81115015 mslabel:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL
a=ssrc:81115015 label:98d56551-dd67-4303-81d2-91b48b600cd8
lib.jsjac.js:247
[JSJaCJingle] _util_sdp_resolution_payload > Got local video resolution (352x288). lib.jsjac.js:247
[JSJaCJingle] _util_sdp_parse_group > TypeError: Object #<Object> has no method 'exec' lib.jsjac.js:247
[JSJaCJingle] SDP (local:gen)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=6siFjWelHFLUR0vD
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=setup:actpass
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:2236282588 cname:f7Zlifa8t2y2e7fa
a=ssrc:2236282588 msid:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL 6ab46667
a=ssrc:2236282588 mslabel:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL
a=ssrc:2236282588 label:6ab46667-ec05-46b0-a33e-88c7c29874e4
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=setup:actpass
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:100 VP8/90000
a=fmtp:100 height=288;width=352
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=288;width=352
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=288;width=352
a=ssrc:81115015 cname:f7Zlifa8t2y2e7fa
a=ssrc:81115015 msid:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL 98d56551
a=ssrc:81115015 mslabel:1JHgMc38qHn1iVMjDtUpdwymT1P5frAH8lgL
a=ssrc:81115015 label:98d56551-dd67-4303-81d2-91b48b600cd8
lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Waiting for local candidates... lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onicecandidate > Got initial candidates. lib.jsjac.js:247
[JSJaCJingle] initiate > Ready to begin Jingle negotiation. lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_initiate lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_6siFjWelHFLUR0vD_1 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_6siFjWelHFLUR0vD_1, status: initiating). lib.jsjac.js:247
[JSJaCJingle] send_session_initiate > Sent. lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_initiate_success simple_client.js:38
[JSJaCJingle] handle_session_initiate_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_6siFjWelHFLUR0vD_1 and type: result lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_info lib.jsjac.js:247
session_info_request simple_client.js:120
[JSJaCJingle] handle_session_info_request lib.jsjac.js:247
[JSJaCJingle] handle_session_info_request > (name: ringing). lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
session_info_success simple_client.js:112
[JSJaCJingle] handle_session_info_success lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_accept lib.jsjac.js:247
session_accept_request simple_client.js:108
[JSJaCJingle] handle_session_accept_request lib.jsjac.js:247
session_accept_success simple_client.js:88
[JSJaCJingle] handle_session_accept_success lib.jsjac.js:247
[JSJaCJingle] SDP (remote)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=6siFjWelHFLUR0vD
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:RRlQ/gD4DYywxv4h
a=ice-pwd:e/0jQxiCzob6gkIbRug+GkFd
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=candidate:3566256226 1 udp 2113937151 192.168.4.113 53365 typ host generation 0
a=candidate:1440270038 1 udp 1845501695 89.209.126.159 30687 typ srflx raddr 192.168.4.113 rport 53365 generation 0
a=candidate:2584951954 1 tcp 1509957375 192.168.4.113 0 typ host generation 0
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:0cdtxPKGd5yHc4gg
a=ice-pwd:8Ds/gPCq3z0Dll1kPyqn3g+B
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=fmtp:100 height=360;width=640
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=360;width=640
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=360;width=640
a=candidate:3566256226 1 udp 2113937151 192.168.4.113 53366 typ host generation 0
a=candidate:1440270038 1 udp 1845501695 89.209.126.159 26962 typ srflx raddr 192.168.4.113 rport 53366 generation 0
a=candidate:2584951954 1 tcp 1509957375 192.168.4.113 0 typ host generation 0
lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onaddstream lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: checking). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: connected). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_6siFjWelHFLUR0vD_1, status: initiating-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful.
user_2 (Chrome 32.0.1700.76 beta-m) OS Windows 7 SP1 receive video call
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
[JSJaCJingle] lib:listen > Listening. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Discovering available services... lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: udp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: tcp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Discovered available services. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Ready. lib.jsjac.js:247
[JSJaCJingle] lib:defer > Executing 0 deferred functions... lib.jsjac.js:247
[JSJaCJingle] lib:defer > Done executing deferred functions. lib.jsjac.js:247
[JSJaCJingle] lib:route > New Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_initiate lib.jsjac.js:247
session_initiate_request simple_client.js:72
[JSJaCJingle] handle_session_initiate_request lib.jsjac.js:247
session_initiate_success simple_client.js:38
[JSJaCJingle] handle_session_initiate_success lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] info lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_info lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_6siFjWelHFLUR0vD_1 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_6siFjWelHFLUR0vD_1, status: initiated). lib.jsjac.js:247
[JSJaCJingle] send_session_info > Sent (name: ringing). lib.jsjac.js:247
[JSJaCJingle] accept lib.jsjac.js:247
[JSJaCJingle] accept > New Jingle session with media: video lib.jsjac.js:247
session_accept_pending simple_client.js:76
[JSJaCJingle] _peer_get_user_media lib.jsjac.js:247
[JSJaCJingle] _peer_get_user_media > Getting user media... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Got user media. lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Waiting for local video to be loaded... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Local video loaded. lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Using ICE server at: stun:stun.jappix.com:3478?transport=tcp (1). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Getting local description... lib.jsjac.js:247
[JSJaCJingle] SDP (remote)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=6siFjWelHFLUR0vD
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=candidate:3649085971 1 udp 2113937151 192.168.4.183 55364 typ host generation 0
a=candidate:3649085971 2 udp 2113937150 192.168.4.183 55365 typ host generation 0
a=candidate:1489544359 2 udp 1845501694 89.209.126.159 49719 typ srflx raddr 192.168.4.183 rport 55365 generation 0
a=candidate:1489544359 1 udp 1845501695 89.209.126.159 11312 typ srflx raddr 192.168.4.183 rport 55364 generation 0
a=candidate:2533580515 1 tcp 1509957375 192.168.4.183 0 typ host generation 0
a=candidate:2533580515 2 tcp 1509957374 192.168.4.183 0 typ host generation 0
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:Kzwj3DKLYH2CEBku
a=ice-pwd:HgC/xMYBjimgNNVZLb2Bn5ek
a=fingerprint:sha-256 2E:A5:60:66:F1:8F:37:FA:FA:A5:36:F6:1D:1F:6C:57:D2:29:18:B2:02:E8:B0:CB:FD:12:C0:6B:D0:89:6A:A1
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:gVLYv53fYO6Bd1nQrn16u5roJprv3CCfSj8lU5DT
a=rtpmap:100 VP8/90000
a=fmtp:100 height=288;width=352
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=288;width=352
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=288;width=352
a=candidate:3649085971 1 udp 2113937151 192.168.4.183 55366 typ host generation 0
a=candidate:3649085971 2 udp 2113937150 192.168.4.183 55367 typ host generation 0
a=candidate:1489544359 2 udp 1845501694 89.209.126.159 4151 typ srflx raddr 192.168.4.183 rport 55367 generation 0
a=candidate:1489544359 1 udp 1845501695 89.209.126.159 18102 typ srflx raddr 192.168.4.183 rport 55366 generation 0
a=candidate:2533580515 1 tcp 1509957375 192.168.4.183 0 typ host generation 0
a=candidate:2533580515 2 tcp 1509957374 192.168.4.183 0 typ host generation 0
lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onaddstream lib.jsjac.js:247
[JSJaCJingle] _peer_got_description lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Got local description. lib.jsjac.js:247
[JSJaCJingle] SDP (local:raw)
v=0
o=- 5604038441509852617 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:RRlQ/gD4DYywxv4h
a=ice-pwd:e/0jQxiCzob6gkIbRug+GkFd
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=setup:active
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:704753108 cname:pzAUxzKY/moDVSt0
a=ssrc:704753108 msid:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1 28e3e4ab-3eb1-4cd0-991c-e981777ef2c5
a=ssrc:704753108 mslabel:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1
a=ssrc:704753108 label:28e3e4ab-3eb1-4cd0-991c-e981777ef2c5
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:0cdtxPKGd5yHc4gg
a=ice-pwd:8Ds/gPCq3z0Dll1kPyqn3g+B
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=setup:active
a=mid:1
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:772369100 cname:pzAUxzKY/moDVSt0
a=ssrc:772369100 msid:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1 95291d13-24a9-4b61-b2ec-9637ad3e3ddf
a=ssrc:772369100 mslabel:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1
a=ssrc:772369100 label:95291d13-24a9-4b61-b2ec-9637ad3e3ddf
lib.jsjac.js:247
[JSJaCJingle] _util_sdp_resolution_payload > Got local video resolution (640x360). lib.jsjac.js:247
[JSJaCJingle] _util_sdp_parse_group > TypeError: Object #<Object> has no method 'exec' lib.jsjac.js:247
[JSJaCJingle] SDP (local:gen)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=6siFjWelHFLUR0vD
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:RRlQ/gD4DYywxv4h
a=ice-pwd:e/0jQxiCzob6gkIbRug+GkFd
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=setup:active
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:704753108 cname:pzAUxzKY/moDVSt0
a=ssrc:704753108 msid:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1 28e3e4ab
a=ssrc:704753108 mslabel:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1
a=ssrc:704753108 label:28e3e4ab-3eb1-4cd0-991c-e981777ef2c5
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:0cdtxPKGd5yHc4gg
a=ice-pwd:8Ds/gPCq3z0Dll1kPyqn3g+B
a=fingerprint:sha-1 3C:4D:FB:CD:E2:9F:61:AF:F1:6C:7A:FA:BD:42:40:3A:32:21:A7:D2
a=setup:active
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=fmtp:100 height=360;width=640
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=360;width=640
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=360;width=640
a=ssrc:772369100 cname:pzAUxzKY/moDVSt0
a=ssrc:772369100 msid:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1 95291d13
a=ssrc:772369100 mslabel:XerqqlTg5smV5LsnhQVjU2ECvXHlos2yZUK1
a=ssrc:772369100 label:95291d13-24a9-4b61-b2ec-9637ad3e3ddf
lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Waiting for local candidates... lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: checking). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onicecandidate > Got initial candidates. lib.jsjac.js:247
[JSJaCJingle] accept > Ready to complete Jingle negotiation. lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_accept lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_6siFjWelHFLUR0vD_2 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_6siFjWelHFLUR0vD_2, status: accepting). lib.jsjac.js:247
[JSJaCJingle] send_session_accept > Sent. lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_info_success simple_client.js:112
[JSJaCJingle] handle_session_info_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_6siFjWelHFLUR0vD_1 and type: result lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: 6siFjWelHFLUR0vD). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_accept_success simple_client.js:88
[JSJaCJingle] handle_session_accept_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_6siFjWelHFLUR0vD_2 and type: result lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: connected). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_6siFjWelHFLUR0vD_1, status: initiated-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful. lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_6siFjWelHFLUR0vD_2, status: accepting-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful.
DTMF from/to SDP
in Chrome 31 is still the video does not work
test result
Tested video call at JSJaCJingle.js Demo page
Chrome 30 <-> Chrome 30: ok
Firefox 25 <-> Firefox 25: ok
Firefox 25 <-> Chrome 30: ok
Chrome 30 <-> Chrome 31: not work
Chrome 31 <-> Chrome 31: not work
Firefox 25 <-> Chrome 31: not work
Next week will be the stable Chrome 31
It seems that a screensharing call does not properly terminates when calling terminate().
Add the XEP-0177: Jingle Raw UDP Transport Method support: http://xmpp.org/extensions/xep-0177.html.
Hi
please help with a problem
On the side that receives a video call
function setLocalDescription returned the error "SetLocalDescription failed: Failed to push down answer transport description."
When disabled DtlsSrtpKeyAgreement began working but does not work in Firefox
Not getting any audio on both parties, from the other party while videocalling from Firefox to Firefox (v29).
Add the XEP-0251: Jingle Session Transfer support: http://xmpp.org/extensions/xep-0251.html.
Seems that JSJaCJingle.js is unable to establish an audio-only call in FF 22 (latest stable shipped). Video calls are working fine (this is no longer true). Video calls are also broken as of FF 34 (untested on lower versions).
Weird, since audio-only calls were the only ones to work first while debugging for FF.
Error is not very explicit: SDP Error (when receiving remote SDP on caller end).
Support description-info (send/handle).
Add the XEP-0247: Jingle XML Streams support: http://xmpp.org/extensions/xep-0247.html.
Add the XEP-0261: Jingle In-Band Bytestreams Transport Method support: http://xmpp.org/extensions/xep-0261.html.
*** initiator video Chrome 33 ( 33.0.1750.117 m)
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
[JSJaCJingle] lib:listen > Listening. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Discovering available services... lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: udp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: tcp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Discovered available services. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Ready. lib.jsjac.js:247
[JSJaCJingle] lib:defer > Executing 0 deferred functions... lib.jsjac.js:247
[JSJaCJingle] lib:defer > Done executing deferred functions. lib.jsjac.js:247
[JSJaCJingle] initiate lib.jsjac.js:247
[JSJaCJingle] initiate > New Jingle session with media: video lib.jsjac.js:247
session_initiate_pending simple_client.js:28
[JSJaCJingle] _peer_get_user_media lib.jsjac.js:247
[JSJaCJingle] _peer_get_user_media > Getting user media... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Got user media. lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Waiting for local video to be loaded... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Local video loaded. lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Using ICE server at: stun:stun.jappix.com:3478?transport=tcp (1). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Getting local description... lib.jsjac.js:247
[JSJaCJingle] _peer_got_description lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Got local description. lib.jsjac.js:247
[JSJaCJingle] SDP (local:raw)
v=0
o=- 6542348703200165119 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=ice-options:google-ice
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:3500966384 cname:nRoeFGsTOScLBq9E
a=ssrc:3500966384 msid:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM 4f4c07eb-fa2f-49d3-bf06-78ac03e4af75
a=ssrc:3500966384 mslabel:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM
a=ssrc:3500966384 label:4f4c07eb-fa2f-49d3-bf06-78ac03e4af75
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=ice-options:google-ice
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:1255859621 cname:nRoeFGsTOScLBq9E
a=ssrc:1255859621 msid:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM adea7a1f-ee91-433d-a4ba-c8564fee7862
a=ssrc:1255859621 mslabel:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM
a=ssrc:1255859621 label:adea7a1f-ee91-433d-a4ba-c8564fee7862
lib.jsjac.js:247
[JSJaCJingle] _util_sdp_resolution_payload > Got local video resolution (352x288). lib.jsjac.js:247
[JSJaCJingle] SDP (local:gen)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=N2kRPo4Pwh88kN5c
t=0 0
a=group:BUNDLE audio video
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:3500966384 cname:nRoeFGsTOScLBq9E
a=ssrc:3500966384 msid:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM 4f4c07eb-fa2f-49d3-bf06-78ac03e4af75
a=ssrc:3500966384 mslabel:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM
a=ssrc:3500966384 label:4f4c07eb-fa2f-49d3-bf06-78ac03e4af75
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:100 VP8/90000
a=fmtp:100 height=288;width=352
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=288;width=352
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=288;width=352
a=ssrc:1255859621 cname:nRoeFGsTOScLBq9E
a=ssrc:1255859621 msid:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM adea7a1f-ee91-433d-a4ba-c8564fee7862
a=ssrc:1255859621 mslabel:QVpFJd73q7kDq0EEcaAJUopfTj5LQV5mxeqM
a=ssrc:1255859621 label:adea7a1f-ee91-433d-a4ba-c8564fee7862
lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Waiting for local candidates... lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onicecandidate > Got initial candidates. lib.jsjac.js:247
[JSJaCJingle] initiate > Ready to begin Jingle negotiation. lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_initiate lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_N2kRPo4Pwh88kN5c_1 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_N2kRPo4Pwh88kN5c_1, status: initiating). lib.jsjac.js:247
[JSJaCJingle] send_session_initiate > Sent. lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_initiate_success simple_client.js:38
[JSJaCJingle] handle_session_initiate_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_N2kRPo4Pwh88kN5c_1 and type: result lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_info lib.jsjac.js:247
session_info_request simple_client.js:120
[JSJaCJingle] handle_session_info_request lib.jsjac.js:247
[JSJaCJingle] handle_session_info_request > (name: ringing). lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
session_info_success simple_client.js:112
[JSJaCJingle] handle_session_info_success lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_accept lib.jsjac.js:247
session_accept_request simple_client.js:108
[JSJaCJingle] handle_session_accept_request lib.jsjac.js:247
session_accept_success simple_client.js:88
[JSJaCJingle] handle_session_accept_success lib.jsjac.js:247
[JSJaCJingle] SDP (remote)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=N2kRPo4Pwh88kN5c
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:I+eA2FT249+QJ33J
a=ice-pwd:OAOFtyQzDZE0sqHCEiDPElFt
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=candidate:3566256226 1 udp 2113937151 192.168.4.113 51589 typ host generation 0
a=candidate:2584951954 1 tcp 1509957375 192.168.4.113 0 typ host generation 0
a=candidate:1440270038 1 udp 1845501695 85.238.100.162 28266 typ srflx raddr 192.168.4.113 rport 51589 generation 0
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:S8VPQjDIxxwVf3ag
a=ice-pwd:WdhQXtbIXaVaWmp+ndiOWQuJ
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=fmtp:100 height=360;width=640
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=360;width=640
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=360;width=640
a=candidate:3566256226 1 udp 2113937151 192.168.4.113 51590 typ host generation 0
a=candidate:1440270038 1 udp 1845501695 85.238.100.162 47112 typ srflx raddr 192.168.4.113 rport 51590 generation 0
a=candidate:2584951954 1 tcp 1509957375 192.168.4.113 0 typ host generation 0
lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onaddstream lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: checking). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_N2kRPo4Pwh88kN5c_1, status: initiating-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful. lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_terminate lib.jsjac.js:247
session_terminate_request simple_client.js:161
[JSJaCJingle] handle_session_terminate_request lib.jsjac.js:247
session_terminate_success simple_client.js:133
[JSJaCJingle] handle_session_terminate_success lib.jsjac.js:247
[JSJaCJingle] _peer_stop lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] handle_session_terminate_request > (reason: failed-transport). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: closed).
*** receiver video Chrome 33 ( 33.0.1750.117 m)
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
[JSJaCJingle] lib:listen > Listening. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Discovering available services... lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: udp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Service stored (type: stun, host: stun.jappix.com, port: 3478, transport: tcp). lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > handle > Discovered available services. lib.jsjac.js:247
[JSJaCJingle] lib:extdisco > Ready. lib.jsjac.js:247
[JSJaCJingle] lib:defer > Executing 0 deferred functions... lib.jsjac.js:247
[JSJaCJingle] lib:defer > Done executing deferred functions. lib.jsjac.js:247
[JSJaCJingle] lib:route > New Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle_session_initiate lib.jsjac.js:247
session_initiate_request simple_client.js:72
[JSJaCJingle] handle_session_initiate_request lib.jsjac.js:247
session_initiate_success simple_client.js:38
[JSJaCJingle] handle_session_initiate_success lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] info lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_info lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_N2kRPo4Pwh88kN5c_1 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_N2kRPo4Pwh88kN5c_1, status: initiated). lib.jsjac.js:247
[JSJaCJingle] send_session_info > Sent (name: ringing). lib.jsjac.js:247
[JSJaCJingle] accept lib.jsjac.js:247
[JSJaCJingle] accept > New Jingle session with media: video lib.jsjac.js:247
session_accept_pending simple_client.js:76
[JSJaCJingle] _peer_get_user_media lib.jsjac.js:247
[JSJaCJingle] _peer_get_user_media > Getting user media... lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_info_success simple_client.js:112
[JSJaCJingle] handle_session_info_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_N2kRPo4Pwh88kN5c_1 and type: result lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Got user media. lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Waiting for local video to be loaded... lib.jsjac.js:247
[JSJaCJingle] _peer_got_user_media_success > Local video loaded. lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Using ICE server at: stun:stun.jappix.com:3478?transport=tcp (1). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > Getting local description... lib.jsjac.js:247
[JSJaCJingle] SDP (remote)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=N2kRPo4Pwh88kN5c
t=0 0
a=group:BUNDLE audio video
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=candidate:2469444274 1 udp 2113937151 192.168.4.123 65430 typ host generation 0
a=candidate:2469444274 2 udp 2113937151 192.168.4.123 65430 typ host generation 0
a=candidate:309902342 1 udp 1845501695 85.238.100.162 32797 typ srflx raddr 192.168.4.123 rport 65430 generation 0
a=candidate:309902342 2 udp 1845501695 85.238.100.162 32797 typ srflx raddr 192.168.4.123 rport 65430 generation 0
a=candidate:3719513666 1 tcp 1509957375 192.168.4.123 0 typ host generation 0
a=candidate:3719513666 2 tcp 1509957375 192.168.4.123 0 typ host generation 0
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:LzoWNeVPNxVpDA9x
a=ice-pwd:S5ThKJnA/QucMAyTkTaVdmP0
a=fingerprint:sha-256 BE:69:D7:29:7F:DA:3E:AB:C3:8A:46:62:CE:35:63:6B:69:21:F5:B1:09:CD:CC:FC:FF:EF:B2:EA:A1:D3:C1:27
a=setup:actpass
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:47GyxBBBbhJ2sArukmwJVB4K/0+JApVPQeN7DLus
a=rtpmap:100 VP8/90000
a=fmtp:100 height=288;width=352
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=288;width=352
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=288;width=352
a=candidate:2469444274 1 udp 2113937151 192.168.4.123 65430 typ host generation 0
a=candidate:2469444274 2 udp 2113937151 192.168.4.123 65430 typ host generation 0
a=candidate:309902342 1 udp 1845501695 85.238.100.162 32797 typ srflx raddr 192.168.4.123 rport 65430 generation 0
a=candidate:309902342 2 udp 1845501695 85.238.100.162 32797 typ srflx raddr 192.168.4.123 rport 65430 generation 0
a=candidate:3719513666 1 tcp 1509957375 192.168.4.123 0 typ host generation 0
a=candidate:3719513666 2 tcp 1509957375 192.168.4.123 0 typ host generation 0
lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onaddstream lib.jsjac.js:247
[JSJaCJingle] _peer_got_description lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Got local description. lib.jsjac.js:247
[JSJaCJingle] SDP (local:raw)
v=0
o=- 2883429942314238466 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS 6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:I+eA2FT249+QJ33J
a=ice-pwd:OAOFtyQzDZE0sqHCEiDPElFt
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:650241913 cname:J8izIyr5ugjqeuqH
a=ssrc:650241913 msid:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD b0363be2-2bb3-4da6-b0f4-acc9f87b7b1c
a=ssrc:650241913 mslabel:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD
a=ssrc:650241913 label:b0363be2-2bb3-4da6-b0f4-acc9f87b7b1c
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:S8VPQjDIxxwVf3ag
a=ice-pwd:WdhQXtbIXaVaWmp+ndiOWQuJ
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=mid:1
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:3233659077 cname:J8izIyr5ugjqeuqH
a=ssrc:3233659077 msid:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD 5cdf7ce9-22c7-4d39-8aff-c221ef858e00
a=ssrc:3233659077 mslabel:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD
a=ssrc:3233659077 label:5cdf7ce9-22c7-4d39-8aff-c221ef858e00
lib.jsjac.js:247
[JSJaCJingle] _util_sdp_resolution_payload > Got local video resolution (640x360). lib.jsjac.js:247
[JSJaCJingle] SDP (local:gen)
v=0
o=jappix 1 1 IN IP4 jappix.com
s=N2kRPo4Pwh88kN5c
t=0 0
m=audio 1 RTP/SAVPF 0 8 13 103 104 105 106 111 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:I+eA2FT249+QJ33J
a=ice-pwd:OAOFtyQzDZE0sqHCEiDPElFt
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=mid:0
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:105 CN/16000
a=rtpmap:106 CN/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:650241913 cname:J8izIyr5ugjqeuqH
a=ssrc:650241913 msid:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD b0363be2-2bb3-4da6-b0f4-acc9f87b7b1c
a=ssrc:650241913 mslabel:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD
a=ssrc:650241913 label:b0363be2-2bb3-4da6-b0f4-acc9f87b7b1c
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:S8VPQjDIxxwVf3ag
a=ice-pwd:WdhQXtbIXaVaWmp+ndiOWQuJ
a=fingerprint:sha-256 A2:81:8F:CB:F4:42:2B:7B:CA:C6:09:12:62:D1:31:16:24:E2:78:74:2C:0A:82:B1:46:BF:D9:5E:8B:8A:ED:51
a=setup:active
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=mid:1
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=fmtp:100 height=360;width=640
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=fmtp:116 height=360;width=640
a=rtpmap:117 ulpfec/90000
a=fmtp:117 height=360;width=640
a=ssrc:3233659077 cname:J8izIyr5ugjqeuqH
a=ssrc:3233659077 msid:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD 5cdf7ce9-22c7-4d39-8aff-c221ef858e00
a=ssrc:3233659077 mslabel:6anuc2Ki5jNrGELFvVWhopxdV0Se2rih5xQD
a=ssrc:3233659077 label:5cdf7ce9-22c7-4d39-8aff-c221ef858e00
lib.jsjac.js:247
[JSJaCJingle] _peer_got_description > Waiting for local candidates... lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: checking). lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > onicecandidate > Got initial candidates. lib.jsjac.js:247
[JSJaCJingle] accept > Ready to complete Jingle negotiation. lib.jsjac.js:247
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_accept lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_N2kRPo4Pwh88kN5c_2 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_N2kRPo4Pwh88kN5c_2, status: accepting). lib.jsjac.js:247
[JSJaCJingle] send_session_accept > Sent. lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_accept_success simple_client.js:88
[JSJaCJingle] handle_session_accept_success lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_N2kRPo4Pwh88kN5c_2 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_N2kRPo4Pwh88kN5c_1, status: initiated-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful. lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_N2kRPo4Pwh88kN5c_2, status: accepting-accepted). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful. lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Peer timeout. lib.jsjac.js:247
[JSJaCJingle] terminate lib.jsjac.js:247
session_terminate_pending simple_client.js:124
[JSJaCJingle] send lib.jsjac.js:247
[JSJaCJingle] send_session_terminate lib.jsjac.js:247
[JSJaCJingle] register_handler lib.jsjac.js:247
[JSJaCJingle] register_handler > Registered handler for id: jj_N2kRPo4Pwh88kN5c_3 and type: result lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Registered (id: jj_N2kRPo4Pwh88kN5c_3, status: terminating). lib.jsjac.js:247
[JSJaCJingle] send_session_terminate > Sent (reason: failed-transport). lib.jsjac.js:247
[JSJaCJingle] lib:route > Routed to Jingle session (sid: N2kRPo4Pwh88kN5c). lib.jsjac.js:247
[JSJaCJingle] handle lib.jsjac.js:247
[JSJaCJingle] handle > Submitted to custom handler. lib.jsjac.js:247
session_terminate_success simple_client.js:133
[JSJaCJingle] handle_session_terminate_success lib.jsjac.js:247
[JSJaCJingle] _peer_stop lib.jsjac.js:247
[JSJaCJingle] unregister_handler lib.jsjac.js:247
[JSJaCJingle] unregister_handler > Unregistered handler for id: jj_N2kRPo4Pwh88kN5c_3 and type: result lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange lib.jsjac.js:247
[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: closed). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Cheking (id: jj_N2kRPo4Pwh88kN5c_3, status: terminating-terminated). lib.jsjac.js:247
[JSJaCJingle] util_stanza_timeout > Stanza successful.
Update readme file with latest API changes.
Add the XEP-0269: Jingle Early Media support: http://xmpp.org/extensions/xep-0269.html.
Implement dynamic SDP mapping directly from Jingle stanzas.
SID is not properly read from some packets, for whatever reason (I don't know why). Seems to be a regex issue...
Add the XEP-0278: Jingle Relay Nodes support: http://xmpp.org/extensions/xep-0278.html.
Checked on demo page - https://demo.frenchtouch.pro/valerian.saliou/jsjac-jingle/examples/simple_client.html.
Mozilla Firefox console logs:
"[JSJaCJingle] initiate" lib.jsjac.js:247
"[JSJaCJingle] initiate > New Jingle session with media: video" lib.jsjac.js:247
"session_initiate_pending" simple_client.js:28
"[JSJaCJingle] _peer_get_user_media" lib.jsjac.js:247
"[JSJaCJingle] _peer_get_user_media > Getting user media..." lib.jsjac.js:247
"[JSJaCJingle] _peer_got_user_media_success" lib.jsjac.js:247
"[JSJaCJingle] _peer_got_user_media_success > Got user media." lib.jsjac.js:247
"[JSJaCJingle] _peer_got_user_media_success > Waiting for local video to be loaded..." lib.jsjac.js:247
"[JSJaCJingle] _peer_got_user_media_success > Local video loaded." lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create" lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create > Using ICE server at: stun:stun.jappix.com:3478 (1)." lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create > Getting local description..." lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create > TypeError: Argument 2 of mozRTCPeerConnection.createOffer is not an object." lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange" lib.jsjac.js:247
"[JSJaCJingle] _peer_connection_create > oniceconnectionstatechange > (state: new)."
And after first attemp video call, the buttons "Audio call", "Video call" and "Screen Share" are unavailable to next restart browser.
Add the XEP-0266: Codecs for Jingle Audio support: http://xmpp.org/extensions/xep-0266.html.
currently jsjac is using rtp over webrtc. Are there any guidelines for fallback support to some flash client for rtp.
Add the XEP-0179: Jingle IAX Transport Method support: http://xmpp.org/extensions/xep-0179.html.
Add the XEP-0234: Jingle File Transfer support: http://xmpp.org/extensions/xep-0234.html.
Ability to send/handle both:
Basically, a new transport is sent to the other party as 'transport-info' when it gets new data from onicecandidate RTCPeerConnection API.
Then, handle a new transport negotiation, accept or reject the given transport(s).
Fix that so that standards are respected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.