DoubangoTelecom / sipml5

The world's first HTML5 SIP client (WebRTC)
BSD 3-Clause "New" or "Revised" License
939 stars 456 forks source link

I have noticed several depreciated warning on Firefox #298

Open paneru-rajan opened 6 years ago

paneru-rajan commented 6 years ago

several depreciate warning on Firefox Version 56.0 (64-bit)

WebRTC interfaces with the “moz” prefix (mozRTCPeerConnection, mozRTCSessionDescription, mozRTCIceCandidate) have been deprecated.  SIPml-api.js:49:15
onaddstream is deprecated! Use peerConnection.ontrack instead.  SIPml-api.js:2428
navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMedia  SIPml-api.js:2750:20
TypeError: this.o_pc.removeStream is not a function
Stack trace:
tmedia_session_jsep.prototype.close@http://192.168.33.10:5000/static/js/SIPml-api.js:2452:17
tmedia_session_jsep.prototype.__stop@http://192.168.33.10:5000/static/js/SIPml-api.js:2295:5
tmedia_session.prototype.stop@http://192.168.33.10:5000/static/js/SIPml-api.js:2132:12
tmedia_session_mgr.prototype.stop@http://192.168.33.10:5000/static/js/SIPml-api.js:2015:18
__tsip_dialog_invite_onterm@http://192.168.33.10:5000/static/js/SIPml-api.js:9856:17
tsk_fsm.prototype.act@http://192.168.33.10:5000/static/js/SIPml-api.js:601:13
tsip_dialog.prototype.fsm_act@http://192.168.33.10:5000/static/js/SIPml-api.js:8224:12
__tsip_dialog_invite_event_callback@http://192.168.33.10:5000/static/js/SIPml-api.js:9515:49
tsip_dialog.prototype.callback@http://192.168.33.10:5000/static/js/SIPml-api.js:8211:16
tsip_transac_nist_Started_2_Trying_X_request@http://192.168.33.10:5000/static/js/SIPml-api.js:15953:12
tsk_fsm.prototype.act@http://192.168.33.10:5000/static/js/SIPml-api.js:583:30
tsip_transac.prototype.fsm_act@http://192.168.33.10:5000/static/js/SIPml-api.js:14893:12
tsip_transac_nist.prototype.start@http://192.168.33.10:5000/static/js/SIPml-api.js:15945:26
tsip_dialog_layer.prototype.handle_incoming_message@http://192.168.33.10:5000/static/js/SIPml-api.js:10973:13
tsip_transport_layer.prototype.handle_incoming_message@http://192.168.33.10:5000/static/js/SIPml-api.js:16595:17
__tsip_transport_ws_onmessage@http://192.168.33.10:5000/static/js/SIPml-api.js:16366:16
  SIPml-api.js:1281:51
MediaStream.stop() is deprecated and will soon be removed. Use MediaStreamTrack.stop() instead.
sandeep2244 commented 5 years ago

@paneru-rajan Hey , have you found solution for this ??

paneru-rajan commented 5 years ago

Nop, I stopped using sipml5 and moved to jssip