Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How do i solve this? (Webrtc)

  • 4 ответа
  • 1 имеет эту проблему
  • 2 просмотра
  • Последний ответ от 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?