alan-sdk-reactnative
alan-sdk-reactnative copied to clipboard
Use Alan along with audio libraries
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 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)
Hey @KhristenkoE
Could you provide more information about scenario - how are you going to use expo-av and Alan button simultaneously?
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
@Somnus007 the same iOS devices?
Not sure on iOS devices. I am now focusing on the android platform.