Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How do i solve this? (Webrtc)

  • 4 답장
  • 1 이 문제를 만남
  • 4 보기
  • 최종 답변자: orijit17

more options

Hi, I am facing a problem with getuserMedia function for webcam display. here is my error code(navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMedia). How do i solve this? It's working with chrome but not firefox. Please help me. I'm in trouble. I'm creating a project where i need to implement webrtc brodcusting chat etc. It's working fine with chrome but now with mozilla current version. Waiting for reply. Please solve my issue. Thanks

Hi, I am facing a problem with getuserMedia function for webcam display. here is my error code(navigator.mozGetUserMedia has been replaced by navigator.mediaDevices.getUserMedia). How do i solve this? It's working with chrome but not firefox. Please help me. I'm in trouble. I'm creating a project where i need to implement webrtc brodcusting chat etc. It's working fine with chrome but now with mozilla current version. Waiting for reply. Please solve my issue. Thanks

글쓴이 orijit17 수정일시

모든 댓글 (4)

more options

Use the getUserMedia() instead of mozGetUserMedia()

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

more options

Hii TyDraniu, Thanks for your reply but this does not work for me. I got another error if use getUserMedia().

Here i have upload my js file can you check this one.

The new error I'm getting (TypeError: navigator.userAgent.match(...) is null)


http://orijit.aqualeafitsol.com/RTCPeerConnection-v1.5.js

Waiting for your reply.

more options

That's correct.

navigator.userAgent.match( /Chrom(e|ium)\/([0-9]+)\./ )

is null when it's not Chrome/Chromium and then

navigator.userAgent.match( /Chrom(e|ium)\/([0-9]+)\./ )[2] 

is not a table so it throws an error

more options

Thanks for your reply but it does'n solve my problem. I have solve it by changing some code. Right now i have get another error that is socket error. I have install socket in my server. But when i try to use var SIGNALING_SERVER = 'mydomain,.com:3000/'; it not responding. what is the problem?