Have a question for us?

How do I hot-switch the camera?

Agora SDKs have encapsulated the function of camera hot-switching, and you can simply call one API to use this function: virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]); For more detailed code, refer to the DEMO project:BOOL CDeviceTestPage::OnApply();

Have more questions? Submit a request