-
Notifications
You must be signed in to change notification settings - Fork 121
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
Delay Microphone Engine stopping #597
Comments
Can you try |
@hiroshihorie Unfortunately this doesn't work as you have described. Immediately when room is disconnected we get engine stopping |
if Can you record a demo video ? |
I will see what I can do, maybe it is related to iOS CallKit? We have those integrated. EDIT1: Okay my observations: ✅ isRecordingAlwaysPrepared - true This works as you described above, engine works as expected, although when I leave LiveKit room, there is the system muting sound ✅ isRecordingAlwaysPrepared - true No system sounds, although, engine stops when leaving LiveKit room. In my app, I am playing a custom sound when the call is ended. So I'd rather not have any audio session changes during LiveKit leaving. Do you think we can also control the way if LiveKit controls muting?
This makes me think that LiveKit actually mutes the mic on disconnecting. Can you change that? |
The mic mute after disconnection was not happening till version 2.0.19 |
Would be nice to have a full option when to start microphone engine and when to stop it instead of having it handled by the SDK.
We can use:
This works great, although when we leave the room, the engine is killed immediately.
This causes some audio glitches on our end.
What we do is that when we have the connection ended. We want to play a disconnect sound. This glitches with AudioSession changes because of microphone turning off.
Is there any way we can control when to turn off the mic?
The text was updated successfully, but these errors were encountered: