Camera switching functionality outside of SDK

Hello everyone,

I am working on integrating Zoom Meetings SDK in a web application that I am working. One of the requirement that we have is regarding switching cameras. With the current functionality, the Zoom allows to click on small button above the video tab in the bottom bar and change the cameras.

With the new requirement that we want to work, we want this outside of Zoom, as part of the web application. The user should be able to click the new buttons and the camera should be switched.

We need information on how zoom SDK switches camera so that it can be integrated on the buttons outside of the SDK and it can control the camera in SDK.

Greetings @sagar.v !

I’m here to assist in the Zoom Developer Forum. To give better advice, I’d like to gather some clarity. Can you please share the following details?

  1. Are you looking to integrate the Client or Component view of the Meeting SDK?

  2. What specific information on how Zoom SDK switches cameras? Perhaps you can share more details about your use case and the intended experience you want to implement.

This will enable me to offer more personalized suggestions and guidance.

  1. Are you looking to integrate the Client or Component view of the Meeting SDK?

–Zoom Component View

  1. What specific information on how Zoom SDK switches cameras? Perhaps you can share more details about your use case and the intended experience you want to implement.

–This is our use case:
-----We are building a web application where we will be integrating zoom component view.
-----The hardware on which our web application will run will have multiple cameras attached at the same time
-----This hardware will be a touch screen and will be running inside an Operating room inside hospital
-----We want to develop some extra buttons, outside of this SDK which will switch cameras in zoom SDK

@sagar.v,

Thank you for providing the clarifying information. Currently, there is no way to switch cameras in the Zoom Meeting SDK Component-view.

Zoom Meeting SDK Component-view Reference

https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/reference/

However, if you are looking to leverage the meeting SDK for your use case. You can consider developing a Zoom App. You could use the zoomSdk.listCameras() api to get the list of cameras, and zoomSdk.setCamera() api to change the camera.

Zoom Apps reference

https://marketplace.zoom.us/docs/zoom-apps/introduction/

Zoom Apps Reference :

https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/

Another option you can consider is developing with the Video SDK, which allows you to build out all of the custom features for your application.

https://marketplace.zoom.us/docs/sdk/video/introduction/

Video SDK Reference :

https://marketplace.zoom.us/docs/sdk/video/web/reference/

Let me know if this helps.

1 Like

Thank you Donte. We took your advice and we were able to implement what we needed. I really appreciate your quick response on this.

I have an additional question regarding contacts. We also are looking a functionality to have the contacts list within the video SDK. Does Zoom video SDK provides this functionality ?

Also, I understand, this is not a question related to camera switching and does not fall in this forum. Let me know if I need to create a new post for this.

Thank you for your question. To verify, are you looking to list contact with the Zoom Video SDK or Zoom Meeting SDK? Here is an article comparing the Meeting SDK and Video SDK for reference :

Video SDK and Meeting SDK comparison

https://support.zoom.us/hc/en-us/articles/360058998832


If you are looking to list contact with Meeting SDK, are you looking to list the contact in meeting or just in your application UI?

Zoom Meeting API: Contact Groups

https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#tag/Contact-Groups

Zoom Phone: List external contacts

https://marketplace.zoom.us/docs/api-reference/phone/methods/#operation/listExternalContacts

Zoom Chat API: List user’s contacts

https://marketplace.zoom.us/docs/api-reference/chat/methods/#operation/getUserContacts

Let me know if you have any additional comments or questions.

@sagar.v

Which option you have consider for your requirement. Could you please share your experience with us too. We are also having the same requirement where we want to switch the camera programmatically. We are using meeting sdk (ReactJS) . Our use case is, we are running this meeting sdk on yocto linux based OS device. So far I am not able to find proper solution for this. I would appreciate your response.

@nalaypatel ,

Thank you for posting on the Zoom Developer Forum. Could you please provide more details about what you have tried and the issues you are facing? This will help us identify what may be happening and provide further guidance.