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

Use Alan along with audio libraries #16

Open
KhristenkoE opened this issue Dec 12, 2021 · 5 comments
Open

Use Alan along with audio libraries #16

KhristenkoE opened this issue Dec 12, 2021 · 5 comments
Assignees

Comments

@KhristenkoE
Copy link

KhristenkoE commented Dec 12, 2021

alan-ai: latest version
react-native: 0.66.3
iOS: 14.6 (Iphone XR)

In my app I have the expo-av module (for implementing audio playback). And Alan works perfectly until I use this or any other audio library. Alan just stops using phone's microphone and listening to commands after I use any methods of these libraries.
Is it possible that they use the same native audio module and interrupt each other?
And is there a way to kind of reinitialize Alan?

@snyuryev snyuryev self-assigned this Dec 13, 2021
@KhristenkoE
Copy link
Author

KhristenkoE commented Dec 13, 2021

@snyuryev Oh, and I forgot about an important thing, this happens only on a real device but works perfectly on emulators.

iOS: 14.6 (Iphone XR)

@snyuryev
Copy link
Contributor

Hey @KhristenkoE

Could you provide more information about scenario - how are you going to use expo-av and Alan button simultaneously?

@Somnus007
Copy link

Somnus007 commented Dec 14, 2021

Hi @snyuryev , I also have this problem.
When alan is in "LISTEN" status,

  • I can not record my own voice via expo-av.
  • When I make a voice call via Agora, the user on the other end cannot hear me. (Some models will have this problem)

It seems that alan sdk hijacked the microphone

@snyuryev
Copy link
Contributor

@Somnus007 the same iOS devices?

@Somnus007
Copy link

Not sure on iOS devices. I am now focusing on the android platform.

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

3 participants