coding-with-chaim / native-webrtc

67 stars 67 forks source link

TypeError: Cannot read property 'webkitGetUserMedia' #1

Open famjaes opened 4 years ago

famjaes commented 4 years ago

Hello, thanks for sharing this project, I having this problem, can you help me? image

ChaimF90 commented 4 years ago

I only tested this code on chrome, could it be that you are using a different browser? If you are, which browser are you using?

famjaes commented 4 years ago

I only tested this code on chrome, could it be that you are using a different browser? If you are, which browser are you using?

Hello, thanks, I use google chrome Versión 83.0.4103.116 (Build oficial) (64 bits) wind 10 ,tryed in firefox and edge, get same problem, too tryed use other prefix, webkit and moz , get same error

famjaes commented 4 years ago

This is the error in localhost:3000 image

ChaimF90 commented 4 years ago

The only other thing I can think of is that maybe the computer you are using does not have a video cam and/or a mic for the browser to find. You might have better luck at a catch and then logging the error, maybe this will provide some more info.

famjaes commented 4 years ago

La única otra cosa que puedo pensar es que tal vez la computadora que está utilizando no tiene una cámara de video y / o un micrófono para que el navegador los encuentre. Es posible que tenga mejor suerte en catchay luego de registrar el error, tal vez esto proporcionará más información.

I testing my camera in https://webrtc.github.io/samples/src/content/getusermedia/gum/ and working It, use try catch and got same error :(

ChaimF90 commented 4 years ago

are you on a secure connection? Meaning, are you using either localhost or https? Asking the browser to get voice and video requires a secure connection.

famjaes commented 4 years ago

¿Estás en una conexión segura? Es decir, ¿estás usando localhost o https? Pedirle al navegador que obtenga voz y video requiere una conexión segura.

NO, I use http localhost, how can become to https?

coding-with-chaim commented 4 years ago

localhost is the same as being on https, so if you are on localhost then that is not your issue either. Unfortunately I am out of possible ideas at the moment.

On Fri, Jul 10, 2020 at 11:42 AM famjaes notifications@github.com wrote:

¿Estás en una conexión segura? Es decir, ¿estás usando localhost o https? Pedirle al navegador que obtenga voz y video requiere una conexión segura.

NO, I use http localhost, how can become to https?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/coding-with-chaim/native-webrtc/issues/1#issuecomment-656742602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOLBBK6GPGJEBA2E3S7AMETR24ZHHANCNFSM4OWTOUTA .