*** id: 15cb60a8-6c7e-47aa-a97e-a1c2fb14ab4f title: addCamera slug: /js/reference/video/room-session/add-camera description: addCamera method for the RoomSession class. max-toc-depth: 3 ---------------- ### addCamera * **addCamera**(`opts`): `Promise` - See [RoomSessionDevice documentation](/docs/browser-sdk/v3/js/reference/video/room-session-device) for more details. Adds a camera device to the room. Using this method, a user can stream multiple video sources at the same time. #### Parameters Specify the constraints for the device. In addition, you can add the `autoJoin` key to specify whether the device should immediately join the room or joining will be performed manually later. #### Returns `Promise` - See [RoomSessionDevice documentation](/docs/browser-sdk/v3/js/reference/video/room-session-device) for more details. #### Permissions * `room.self.additional_source` You need to specify the permissions when [creating the Video Room Token](/docs/apis/video/room-tokens/create-room-token) on the server side. #### Examples Adding any of the camera devices to the room (duplicate streams are possible): ```javascript await roomSession.addCamera(); ``` Adding a specific camera: ```javascript await roomSession.addCamera({ deviceId: "gOtMHwZdoA6wMlAnhbfTmeRgPAsqa7iw1OwgKYtbTLA=", }); ``` Adding a high-resolution camera, joining it manually: ```javascript const roomDev = await roomSession.addCamera({ autoJoin: false, width: { min: 1280 }, }); await roomDev.join(); ```