No microphone & camera detected

We have integrated the comet-chat in our application and doing Testing. Chat functionality is working fine whereas “Video chat” is not working and we are getting the below error.
What could be the reason for the issue?

Error:-
“No microphone & camera detected. Kindly fix your microphone & camera or allow permission to use the microphone & camera.”

We have tried with the “React Js” and “EXTJS” framework, the issue persists.

Hey @mariaprabudass,
you are getting this error because our calling component is not able to access the camera and microphones. Can you make sure the website is given the camera and microphone permission?. Also if you are facing this issue in a staging or production environment then make sure that you are using HTTPS not HTTP as browsers don’t allow to access cameras and microphones with HTTP.

Regards,
Tirath Bhuva

As part of our analysis, we have launched the comet-chat using HTTPS, the audio & video call is working fine but the audio & video call is not working in HTTP.
What could be the reason for the issue?
How to activate audio & video in HTTP?

Hello @mariaprabudass,
Unfortunately, the browser does not allow to access the camera and microphone when the website is hosted over HTTP. So in order to use the calling component, you need to host it using HTTPS.

Regards,
Tirath Bhuva

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.