Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Issue with Firefox

Naresh_R_1
New Contributor I
712 Views

Hi Lei,

With the firefox latest version camera access is getting failed, any work around for below error

navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMedia
WebRTC interfaces with the “moz” prefix (mozRTCPeerConnection, mozRTCSessionDescription, mozRTCIceCandidate) have been deprecated.woogeen.sdk.js:9:11825
onaddstream is deprecated! Use peerConnection.ontrack instead.

Thanks

Naresh

0 Kudos
10 Replies
Lei_Z_Intel1
Employee
712 Views

What Firefox version you are using?

0 Kudos
Naresh_R_1
New Contributor I
712 Views

Hi Lei,

We are using Firefox version 49.0.1

Thanks

Naresh

0 Kudos
Lei_Z_Intel1
Employee
712 Views

Which MCU and SDK version are you using?

0 Kudos
Naresh_R_1
New Contributor I
712 Views

Hi Lei,

We used both latest 3.2.1 and 3.2 versions, we just configured MCU and tested with basic example

https://182.74.255.54:3004/?room=57fb767596d716130bde7bdd      -- v 3.2.1

https://182.74.255.52:3004/?room=57bd8b38233c480a53c26454      -- v 3.2

Thanks

Naresh

0 Kudos
Lei_Z_Intel1
Employee
712 Views

We tried your server, it works well with Firefox 49, see attached screen shot file. We also got the warning log you showed, but that's just API will be deprecated in future warning, not error. Any more info you can provide on your client side?

0 Kudos
Naresh_R_1
New Contributor I
712 Views

Hi Lei,

Issue exactly is local camera access getting failed with Firefox, have to published your local video from firefox?

Thanks

Naresh

0 Kudos
Lei_Z_Intel1
Employee
712 Views

Is it possible related to your firefox setting? Any more logs besides the deprecated API warning?

0 Kudos
Naresh_R_1
New Contributor I
712 Views

Hi Lei,

below is the log of firefox version  49.0.1

navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMediawoogeen.sdk.js:8:20109
INFO: stream in conference: 57c3d98061bacd390c13ad3bwoogeen.sdk.js:8:9318
INFO: subscribing: 57c3d98061bacd390c13ad3bwoogeen.sdk.js:8:9318
INFO: stream in conference: 874069163808599200woogeen.sdk.js:8:9318
INFO: won`t subscribe 874069163808599200woogeen.sdk.js:8:9318
INFO: user in conference: Object { id: "/#LGHc0CyoUvSmFGahAAAA", name: "user", role: "presenter" }woogeen.sdk.js:8:9318
INFO: user in conference: Object { id: "/#r3zjLV8zutSuWFnyAAAB", name: "user", role: "presenter" }woogeen.sdk.js:8:9318
WebRTC interfaces with the “moz” prefix (mozRTCPeerConnection, mozRTCSessionDescription, mozRTCIceCandidate) have been deprecated.woogeen.sdk.js:9:11825
onaddstream is deprecated! Use peerConnection.ontrack instead.woogeen.sdk.js:9
Set remote and local description v=0
o=- 0 0 IN IP4 127.0.0.1
s=IntelWebRTCMCU
t=0 0
a=group:BUNDLE sdparta_0 sdparta_1
a=msid-semantic: WMS UTEbDA0lUq
m=audio 1 RTP/SAVPF 109 0
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=candidate:1 1 udp 2013266431 182.74.255.52 59982 typ host generation 0
a=ice-ufrag:tF8b
a=ice-pwd:0PTrZFwMajpEcFSqzZhhG4
a=fingerprint:sha-256 7B:EA:EC:C5:C2:28:9F:EB:85:32:CB:62:72:D4:D6:47:DD:32:06:43:17:E3:AE:BE:34:45:E4:07:0B:96:CA:32
a=sendonly
a=mid:sdparta_0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:0 PCMU/8000
a=maxptime:60
a=ssrc:1429165063 cname:o/i14u9pJrxRKAsu
a=ssrc:1429165063 msid:UTEbDA0lUq a0
a=ssrc:1429165063 mslabel:UTEbDA0lUq
a=ssrc:1429165063 label:UTEbDA0lUqa0
m=video 1 RTP/SAVPF 120 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=candidate:1 1 udp 2013266431 182.74.255.52 59982 typ host generation 0
a=ice-ufrag:tF8b
a=ice-pwd:0PTrZFwMajpEcFSqzZhhG4
a=fingerprint:sha-256 7B:EA:EC:C5:C2:28:9F:EB:85:32:CB:62:72:D4:D6:47:DD:32:06:43:17:E3:AE:BE:34:45:E4:07:0B:96:CA:32
a=sendonly
a=mid:sdparta_1
a=rtcp-mux
a=rtpmap:120 VP8/90000
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 nack
a=rtcp-fb:120 goog-remb
a=rtpmap:126 H264/90000
a=fmtp:126 profile-level-id=42e01f;packetization-mode=1
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 nack
a=rtcp-fb:126 goog-remb
a=ssrc:3429255293 cname:o/i14u9pJrxRKAsu
a=ssrc:3429255293 msid:UTEbDA0lUq v0
a=ssrc:3429255293 mslabel:UTEbDA0lUq
a=ssrc:3429255293 label:UTEbDA0lUqv0
woogeen.sdk.js:9:14065
INFO: Remote Description successfully setwoogeen.sdk.js:8:9318
INFO: subscribed: 57c3d98061bacd390c13ad3bwoogeen.sdk.js:8:9318
End of candidates.woogeen.sdk.js:9:12213
ERROR: create LocalStream failed: Object { code: 1100, msg: "SourceUnavailableError" }

Thanks

Naresh

0 Kudos
Lei_Z_Intel1
Employee
712 Views

Such error usually happens when the user grants permission but a hardware error such as an OS/program/webpage lock prevents access webcam. For example, another program is using the webcam. How about double check your Firefox?

0 Kudos
Naresh_R_1
New Contributor I
712 Views

Hi Lei,

It seems to be issue with my machine i updated to beta version 50 and it worked well. thanks for the support

Thanks & Regards

Naresh

0 Kudos
Reply