Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

How do i solve this? (Webrtc)

  • 4 Antworten
  • 1 hat dieses Problem
  • 4 Aufrufe
  • Letzte Antwort von 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

Geändert am von orijit17

Alle Antworten (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?