Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using only for audio routing #184

Open
Bayramito opened this issue Oct 2, 2024 · 3 comments
Open

Using only for audio routing #184

Bayramito opened this issue Oct 2, 2024 · 3 comments

Comments

@Bayramito
Copy link

Is there any chance to use only for audio routing ? Like get and set audio routes?

Is this possible?

@YuliaGrigorieva
Copy link
Contributor

@Bayramito

Could you please provide more details regarding your question?

What do you mean by "audio routing"? Android and iOS platforms have different audio system and different API to manage audio devices. Voximplant React Native SDK provides a common API to select an audio device and monitor audio device changes such as Bluetooth headset connection/disconnection or wired devices plug/unplug.

Using only for audio routing

Do you mean that you would like to use the SDK for audio device management without using other functionality the SDK provides?

Best regards,
Yulia Grigorieva

@Bayramito
Copy link
Author

@Bayramito

Could you please provide more details regarding your question?

What do you mean by "audio routing"? Android and iOS platforms have different audio system and different API to manage audio devices. Voximplant React Native SDK provides a common API to select an audio device and monitor audio device changes such as Bluetooth headset connection/disconnection or wired devices plug/unplug.

Using only for audio routing

Do you mean that you would like to use the SDK for audio device management without using other functionality the SDK provides?

Best regards, Yulia Grigorieva

Kind of yeah.. I wan’t to use only these 2 methods. But selectAudioDevice is not working on Android on me? Is there any specific requirement for it?

@YuliaGrigorieva
Copy link
Contributor

Hello!

There are some limitations for both platforms. You can check them in the following docs:

Also, it is worth noting that audio device management in the Voximplant SDKs considers a call state made using the Voximplant platform. Using Voximplant SDK API for audio routing only may result in unpredictable behavior since other SDks may make the OS trigger system events for audio subsystem and these events may be handled incorrectly due to a different call state in the Voximplant SDK and other SDK.

Best regards,
Yulia Grigorieva

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants