Skip to main content

Camera Controls

Different webcam control permissions allows participant to enable/disable their own webcam and other participant's webcam too & also can set default participant's webcam settings, when meeting start.

How it works ?

  • While participantCanToggleSelfWebcam value is set to true, you can enable/disable your own webcam as display in below image.

  • While participantCanToggleSelfWebcam value is set to false, the below webcam button will not appear.

Go live with VideoSDK

Camera Attributes

  • webcamEnabled: Default webcam setting for meeting joinee, true enables webcam & false disable webcam.
  • participantCanToggleSelfWebcam: Allow participant to enable/disable their own webcam.
index.html
const config = {
// ...
webcamEnabled: true,
participantCanToggleSelfWebcam: true,
// ...
};

Set webcam resolution

If you want to restrict the webcam stream quality of any participant that is being uploaded to server, you can use maxResolution.

How it works ?

  • maxResolution can be set to sd or hd. If it is sd then the upload resolution will be 360p else if it is set to hd then it will be 720p. By default it is set to sd.

Max resolution Attributes

index.html
const config = {
// ...
maxResolution: "sd", // "sd" or "hd"
// ...
};

Got a Question? Ask us on discord