I'm creating a meeting using amazon chime sdk library (in reactjs), where I don't want the option to open the camera at all. When the meeting is created, I'm setting the video input to null:
meetingManager.meetingSession.audioVideo.chooseVideoInputDevice(null)
What is happening is that the browser is asking for permissions to use the camera, turn it on for a second, and then turn it off (when the chooseVideoInputDevice() is being called).
What I want is to never ask for the camera permission, is that possible?
You can try join meeting with DeviceLabels.None
to achieve your goal.
import {
DeviceLabels,
useMeetingManager,
} from 'amazon-chime-sdk-component-library-react';
const meetingManager = useMeetingManager();
await meetingManager.join({
meetingInfo,
attendeeInfo,
deviceLabels: DeviceLabels.None, // here
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With