disconnected: WS handshaking not done yet and onIceCandidate = undefined

119 views
Skip to first unread message

Larry York

unread,
Apr 1, 2015, 7:23:17 AM4/1/15
to opentele...@googlegroups.com
Dear friend,

The build instruction is very nice and we got the build process successful.
However when we ran the conf-call test, weI got no video.

Your help is greatly appreciated!
Larry,

Server log:
Copyright (C) 2013 Doubango Telecom <http://www.doubango.org>
PRODUCT: telepresence - the open source TelePresence System
LICENCE: GPLv3 or commercial(contact us)
VERSION: 2.1.0
'quit' to quit the application.
*******************************************************************

SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
***ERROR: function: "tsip_transport_layer_ws_cb()" 
file: "src/transports/tsip_transport_layer.c" 
line: "407" 
MSG: WS handshaking not done yet

Browser Chrome log: 

SIPML5 API version = 1.4.217
SIPml-api.js?svn=200:1 [TELEPRESENCE] tp.init()
SIPml-api.js?svn=200:1 'webkitURL' is deprecated. Please use 'URL' instead.
SIPml-api.js?svn=200:1 User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
SIPml-api.js?svn=200:1 WebSocket supported = yes
SIPml-api.js?svn=200:1 Navigator friendly name = chrome
SIPml-api.js?svn=200:1 OS friendly name = mac
SIPml-api.js?svn=200:1 Have WebRTC = yes
SIPml-api.js?svn=200:1 Have GUM = yes
SIPml-api.js?svn=200:1 Engine initialized
SIPml-api.js?svn=200:1 [TELEPRESENCE] realm=[conf-call.org], impi=[johndoe],ws_url=[ws://192.168.0.5:20060],ice_servers=[{"url":"stun:stun.l.google.com:19302"},{"url":"turn:us...@numb.viagenie.ca","credential":"myPassword"}],video_size={},bandwidth={}
SIPml-api.js?svn=200:1 s_websocket_server_url=ws://192.168.0.5:20060
SIPml-api.js?svn=200:1 s_sip_outboundproxy_url=(null)
SIPml-api.js?svn=200:1 b_rtcweb_breaker_enabled=no
SIPml-api.js?svn=200:1 b_click2call_enabled=no
SIPml-api.js?svn=200:1 b_early_ims=yes
SIPml-api.js?svn=200:1 b_enable_media_stream_cache=no
SIPml-api.js?svn=200:1 o_bandwidth={}
SIPml-api.js?svn=200:1 o_video_size={}
SIPml-api.js?svn=200:1 SIP stack start: proxy='ns313841.ovh.net:13060', realm='<sip:conf-call.org>', impi='johndoe', impu='"John Doe"<sip:joh...@conf-call.org>'
SIPml-api.js?svn=200:1 Connecting to 'ws://192.168.0.5:20060'
SIPml-api.js?svn=200:1 [TELEPRESENCE] stack event = starting
SIPml-api.js?svn=200:1 __tsip_transport_ws_onopen
SIPml-api.js?svn=200:1 [TELEPRESENCE] stack event = started
SIPml-api.js:1 [TELEPRESENCE] tp.call()
SIPml-api.js:1 s_websocket_server_url=(null)
SIPml-api.js:1 s_sip_outboundproxy_url=(null)
SIPml-api.js:1 b_rtcweb_breaker_enabled=no
SIPml-api.js:1 b_click2call_enabled=no
SIPml-api.js:1 b_early_ims=yes
SIPml-api.js:1 b_enable_media_stream_cache=no
SIPml-api.js:1 o_bandwidth={}
SIPml-api.js:1 o_video_size={}
SIPml-api.js:1 [TELEPRESENCE] making call from [null] to [10061]...
SIPml-api.js:1 State machine: c0000_Started_2_Outgoing_X_oINVITE
SIPml-api.js:1 PeerConnectionClass = function RTCPeerConnection() { [native code] } SessionDescriptionClass = function RTCSessionDescription() { [native code] } IceCandidateClass = function RTCIceCandidate() { [native code] }
SIPml-api.js:1 Video Contraints:{"mandatory":{},"optional":[]}
SIPml-api.js:1 ICE servers:[{"url":"stun:stun.l.google.com:19302"},{"url":"turn:us...@numb.viagenie.ca","credential":"myPassword"}]
SIPml-api.js:1 [TELEPRESENCE] stack event = m_permission_requested
SIPml-api.js:1 [TELEPRESENCE] session event = connecting
SIPml-api.js:1 onGetUserMediaSuccess
SIPml-api.js:1 createOffer
SIPml-api.js:1 onCreateSdpSuccess
SIPml-api.js:1 [TELEPRESENCE] stack event = m_permission_accepted
SIPml-api.js:1 [TELEPRESENCE] session event = m_stream_video_local_added
SIPml-api.js:1 [TELEPRESENCE] session event = m_stream_audio_local_added
SIPml-api.js:1 onSetLocalDescriptionSuccess
13SIPml-api.js:1 onIceCandidate = undefined
SIPml-api.js:1 ICE GATHERING COMPLETED!
SIPml-api.js:1 onIceGatheringCompleted
SIPml-api.js:1 SEND: INVITE sip:10...@conf-call.org SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKsQQJz5Laq362f3cRJyGwofrMpV6q9AdJ;rport
From: "John Doe"<sip:joh...@conf-call.org>;tag=UX0TkTlkwy0WyG1u7Frb
Contact: "John Doe"<sip:joh...@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=ws>;+g.oma.sip-im;+sip.ice;language="en,fr"
Call-ID: 28cfab23-ff31-b4ae-efde-d463f51c01ac
CSeq: 37594 INVITE
Content-Type: application/sdp
Content-Length: 3657
Max-Forwards: 70
TP-JobTitle: Technology Evangelist
TP-BridgePin: 0000
TP-AudioPosition: [0.0f, 0.0f, 0.0f]
TP-AudioVelocity: [0.0f, 0.0f, 0.0f]
Organization: Doubango Telecom

v=0
o=- 7715170461980185000 2 IN IP4 127.0.0.1
s=Doubango Telecom - chrome
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i
m=audio 53766 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 71.45.157.52
a=rtcp:53766 IN IP4 71.45.157.52
a=candidate:2138393493 1 udp 2122260223 192.168.0.4 53766 typ host generation 0
a=candidate:2138393493 2 udp 2122260223 192.168.0.4 53766 typ host generation 0
a=candidate:3593126976 1 udp 1686052607 71.45.157.52 53766 typ srflx raddr 192.168.0.4 rport 53766 generation 0
a=candidate:3593126976 2 udp 1686052607 71.45.157.52 53766 typ srflx raddr 192.168.0.4 rport 53766 generation 0
a=candidate:838252389 1 tcp 1518280447 192.168.0.4 0 typ host tcptype active generation 0
a=candidate:838252389 2 tcp 1518280447 192.168.0.4 0 typ host tcptype active generation 0
a=ice-ufrag:vAd88Kl4t2hIz+VS
a=ice-pwd://eqPCyleKkWffj4dyOMYuKQ
a=ice-options:google-ice
a=fingerprint:sha-256 C1:69:D5:49:BF:4D:78:4B:3C:E5:BA:01:77:05:37:D5:AA:7E:56:8F:E0:DC:8A:2D:7D:B2:74:B1:12:FF:EE:9A
a=setup:actpass
a=mid:audio
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; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
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:1535683244 cname:Uf+6kxECxdl/z/e/
a=ssrc:1535683244 msid:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i 3a79fa9e-2cef-4f1f-925a-d2bc6a2457c5
a=ssrc:1535683244 mslabel:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i
a=ssrc:1535683244 label:3a79fa9e-2cef-4f1f-925a-d2bc6a2457c5
m=video 53766 UDP/TLS/RTP/SAVPF 100 116 117 96
c=IN IP4 71.45.157.52
a=rtcp:53766 IN IP4 71.45.157.52
a=candidate:2138393493 1 udp 2122260223 192.168.0.4 53766 typ host generation 0
a=candidate:2138393493 2 udp 2122260223 192.168.0.4 53766 typ host generation 0
a=candidate:3593126976 1 udp 1686052607 71.45.157.52 53766 typ srflx raddr 192.168.0.4 rport 53766 generation 0
a=candidate:3593126976 2 udp 1686052607 71.45.157.52 53766 typ srflx raddr 192.168.0.4 rport 53766 generation 0
a=candidate:838252389 1 tcp 1518280447 192.168.0.4 0 typ host tcptype active generation 0
a=candidate:838252389 2 tcp 1518280447 192.168.0.4 0 typ host tcptype active generation 0
a=ice-ufrag:vAd88Kl4t2hIz+VS
a=ice-pwd://eqPCyleKkWffj4dyOMYuKQ
a=ice-options:google-ice
a=fingerprint:sha-256 C1:69:D5:49:BF:4D:78:4B:3C:E5:BA:01:77:05:37:D5:AA:7E:56:8F:E0:DC:8A:2D:7D:B2:74:B1:12:FF:EE:9A
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
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 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc-group:FID 1430596664 452260317
a=ssrc:1430596664 cname:Uf+6kxECxdl/z/e/
a=ssrc:1430596664 msid:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i 79596c7d-75cc-45a5-9140-3cfc8664a418
a=ssrc:1430596664 mslabel:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i
a=ssrc:1430596664 label:79596c7d-75cc-45a5-9140-3cfc8664a418
a=ssrc:452260317 cname:Uf+6kxECxdl/z/e/
a=ssrc:452260317 msid:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i 79596c7d-75cc-45a5-9140-3cfc8664a418
a=ssrc:452260317 mslabel:DJHbsxMZGyl7M0hdQfqYI9ltmuMpMMouF57i
a=ssrc:452260317 label:79596c7d-75cc-45a5-9140-3cfc8664a418

SIPml-api.js:1 __tsip_transport_ws_onclose
SIPml-api.js:1 [TELEPRESENCE] stack event = stopped
index.html:210 'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its value is true if the video is loaded.

Mamadou DIOP

unread,
Apr 1, 2015, 7:27:30 AM4/1/15
to opentele...@googlegroups.com
On Apr 1, 2015, at 12:31 AM, Larry York <loce...@gmail.com> wrote:

Dear friend,

The build instruction is very nice and we got the build process successful.
However when we ran the conf-call test, weI got no video.

Your help is greatly appreciated!
Larry,

Server log:
Copyright (C) 2013 Doubango Telecom <http://www.doubango.org>
PRODUCT: telepresence - the open source TelePresence System
LICENCE: GPLv3 or commercial(contact us)
VERSION: 2.1.0
'quit' to quit the application.
*******************************************************************

SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
***ERROR: function: "tsip_transport_layer_ws_cb()" 
file: "src/transports/tsip_transport_layer.c" 
line: "407" 
MSG: WS handshaking not done yet

Browser Chrome log: 

SIPML5 API version = 1.4.217
SIPml-api.js?svn=200:1 [TELEPRESENCE] tp.init()
SIPml-api.js?svn=200:1 'webkitURL' is deprecated. Please use 'URL' instead.
SIPml-api.js?svn=200:1 User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
SIPml-api.js?svn=200:1 WebSocket supported = yes
SIPml-api.js?svn=200:1 Navigator friendly name = chrome
SIPml-api.js?svn=200:1 OS friendly name = mac
SIPml-api.js?svn=200:1 Have WebRTC = yes
SIPml-api.js?svn=200:1 Have GUM = yes
SIPml-api.js?svn=200:1 Engine initialized
SIPml-api.js?svn=200:1 [TELEPRESENCE] realm=[conf-call.org], impi=[johndoe],ws_url=[ws://192.168.0.5:20060],ice_servers=[{"url":"stun:stun.l.google.com:19302"},{"url":"turn:user@numb.viagenie.ca","credential":"myPassword"}],video_size={},bandwidth={}
SIPml-api.js:1 ICE servers:[{"url":"stun:stun.l.google.com:19302"},{"url":"turn:user@numb.viagenie.ca","credential":"myPassword"}]

--
You received this message because you are subscribed to the Google Groups "OpenTelepresence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentelepresen...@googlegroups.com.
To post to this group, send email to opentele...@googlegroups.com.
Visit this group at http://groups.google.com/group/opentelepresence.
For more options, visit https://groups.google.com/d/optout.

Mamadou

unread,
Aug 20, 2015, 12:05:17 PM8/20/15
to OpenTelepresence
SIPml-api.js?svn=200:1 [TELEPRESENCE] realm=[conf-call.org], impi=[johndoe],ws_url=[ws://192.168.0.5:20060],ice_servers=[{"url":"stun:stun.l.google.com:19302"},{"url":"turn:user@numb.viagenie.ca","credential":"myPassword"}],video_size={},bandwidth={}
Contact: "John Doe"<sip:johndoe@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=ws>;+g.oma.sip-im;+sip.ice;language="en,fr"
Reply all
Reply to author
Forward
0 new messages