We are building a tutoring whiteboard application using Agora Video SDK on Flutter. We have customers who uses different devices (Android and iPad tablets and Web Browsers [Chrome, Safari, Edge] ) and need to be supported on those devices and platforms. One of our use case is to allow users to switch audio input/output device from the list of available audio/video devices on their environment. Currently there is no option available to switch to any audio input/output and video devices other than than default ones configured at the native OS level. I am looking for API to switch my audio/video input/output device during an active session. Currently the platform does not support this due to some limitations available in Iris Web SDK.
Provide an API to switch to any available device using device id.
deviceManager = await _engine!.getAudioDeviceManager();
await deviceManager.setPlaybackDevice(deviceId);
There is no work around for this as of now as per the support team.
If I use the above API on the Web, it throws the error -4 which indicate Agora currently not supporting this. I think this is a common use case which ideally should be supported.
We are building a tutoring whiteboard application using Agora Video SDK on Flutter. We have customers who uses different devices (Android and iPad tablets and Web Browsers [Chrome, Safari, Edge] ) and need to be supported on those devices and platforms. One of our use case is to allow users to switch audio input/output device from the list of available audio/video devices on their environment. Currently there is no option available to switch to any audio input/output and video devices other than than default ones configured at the native OS level. I am looking for API to switch my audio/video input/output device during an active session. Currently the platform does not support this due to some limitations available in Iris Web SDK.
Provide an API to switch to any available device using device id.
deviceManager = await _engine!.getAudioDeviceManager();
await deviceManager.setPlaybackDevice(deviceId);
There is no work around for this as of now as per the support team.
If I use the above API on the Web, it throws the error -4 which indicate Agora currently not supporting this. I think this is a common use case which ideally should be supported.