Help Center/ SparkRTC/ SDK Reference/ Web SDK/ API Reference/ Granting the Permissions of Accessing Cameras or Microphones to a Browser
Updated on 2023-11-01 GMT+08:00

Granting the Permissions of Accessing Cameras or Microphones to a Browser

Google Chrome

  1. Open Google Chrome and click the settings icon in the upper right corner.

  2. Choose Settings from the drop-down list. On the Settings page, select Privacy and security, and then click Site Settings.

  3. On the Site Settings page, click Camera or Microphone.

  4. On the camera or microphone permissions page, select Sites can ask to use your camera or Sites can ask to use your microphone.

  5. After the preceding settings are complete, the browser displays a dialog box asking you whether to allow a website to use the camera or microphone. Enable the Camera or Microphone switch.

Firefox Browser

  1. Open the Firefox browser, click the settings icon in the upper right corner, and choose Settings from the drop-down list.

  2. Click Privacy & Security, and click Settings nest to Camera or Microphone.

  3. On the permissions settings page, add the websites that request the camera and microphone permissions to the list and click Save Changes.

  4. After the preceding settings are complete, the browser displays a dialog box asking you whether to allow a website to use the camera or microphone. Select Allow.

macOS Browser

  1. Click the System Preferences icon in the Dock.

  2. Click Security & Privacy.

  3. On the Security & Privacy page, click the Privacy tab, click Camera or Microphone, and select the apps that are allowed to use the camera or microphone.