Twilio javascript sdk client - firefox problem

I can not get the Twilio client to work with the FireFox browser. I tested with client 1.3 and client 1.4.

  • The call goes through, but I can’t listen to the voice of the person being called. The called person can hear me.

  • I hear DTMF tones with senddigits, but numbers are not sent.

My version of FireFox is 53.0.3.

Edit: Debug messages from the console log are enabled.

WebRTC interfaces with the prefix "moz" (mozRTCPeerConnection, mozRTCSessionDescription, mozRTCIceCandidate) are deprecated. twilio.min.js: 116: 384

Device.sounds is deprecated and will be removed in a future release. Use the new functionality available on Device.audio. twilio.min.js: 70: 21

Warning. This browser does not support audio output selection. twilio.min.js: 5: 393 [Device] PStream setup twilio.min.js: 69: 375

[WSTransport] Opening the nest twilio.min.js: 69: 375

[WSTransport] trying to connect twilio.min.js: 69: 375

[WSTransport] Connector open twilio.min.js: 69: 375

[PStream] Setting a marker and publishing listening twilio.min.js: 69: 375

[Device] Stream ready twilio.min.js: 69: 375

onaddstream is out of date! Use peerConnection.ontrack instead.
twilio.min.js: 102

[Twilio.PeerConnection] signalingState - "have-local offer" twilio.min.js: 69: 375

MediaStream passed to createMediaStreamSource has a cross-origin resource, node will produce silence. twilio.min.js: 91: 322

[Twilio.PeerConnection] signalingState is "stable" twilio.min.js: 69: 375

[Twilio.PeerConnection] iceConnectionState - "" twilio.min.js: 69: 375

MediaStream, createMediaStreamSource, -, node .
callme.php

pc.getStats, , !

! . http://w3c.imtqy.com/webrtc-pc/#getstats-example . twilio.min.js: 120

[Connection] HANGUP twilio.min.js: 69: 375

[] ... twilio.min.js: 69: 375

[Twilio.PeerConnection] iceConnectionState "" twilio.min.js: 69: 375

[Twilio.PeerConnection] signalingState "" twilio.min.js: 69: 375 XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 274ms]

onaddstream ! peerConnection.ontrack. twilio.min.js: 102

[Twilio.PeerConnection] signalingState - "- " twilio.min.js: 69: 375 XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 210ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 71ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 70ms]

MediaStream, createMediaStreamSource, -, node .  twilio.min.js: 91: 322

[Twilio.PeerConnection] signalingState "" twilio.min.js: 69: 375 XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 68ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 71ms]

[Twilio.PeerConnection] iceConnectionState - "" twilio.min.js: 69: 375

XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 70ms]

MediaStream, createMediaStreamSource, -, node .
callme.php

XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 68ms] https://media.twiliocdn.com/sdk/js/client/sounds/releases/1.0.0/outgoing.mp3 [HTTP/1.1 206 Partial Content 0ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 67ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 73ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 73ms] XHR https://eventgw.twilio.com/v2/EndpointEvents [HTTP/1.1 200 OK 69ms]

pc.getStats, , ! !

http://w3c.imtqy.com/webrtc-pc/#getstats-example . twilio.min.js: 120 XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 69ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 77ms]

RTCPeerConnection.getLocalStreams/getRemoteStreams .

RTCPeerConnection.getSenders/getReceivers. twilio.min.js: 112: 259

[Twilio.PeerConnection] RTCRtpSender # dtmf twilio.min.js: 69: 375

[] RTCDTMFSender twilio.min.js: 69: 375 https://media.twiliocdn.com/sdk/js/client/sounds/releases/1.0.0/dtmf-5.mp3 [HTTP/1.1 206 Partial Content 0ms]

[] RTCDTMFSender twilio.min.js: 69: 375 https://media.twiliocdn.com/sdk/js/client/sounds/releases/1.0.0/dtmf-0.mp3 [HTTP/1.1 206 Partial Content 0ms]

[] RTCDTMFSender twilio.min.js: 69: 375 XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 68ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 78ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 67ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 75ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 67ms] XHR https://eventgw.twilio.com/v2/EndpointMetrics [HTTP/1.1 200 OK 77ms]

[] RTCDTMFSender twilio.min.js: 69: 375 https://media.twiliocdn.com/sdk/js/client/sounds/releases/1.0.0/dtmf-2.mp3 [HTTP/1.1 206 Partial Content 0ms]

[] ... twilio.min.js: 69: 375

[Twilio.PeerConnection] iceConnectionState "" twilio.min.js: 69: 375

[Twilio.PeerConnection] signalingState "" twilio.min.js: 69: 375 XHR

?

+4

Source: https://habr.com/ru/post/1678880/


All Articles