livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
176 stars 69 forks source link

Why does room close all audio driver nodes when disconnecting, causing my device's voice wake-up service to be unusable? #500

Closed tombang closed 3 weeks ago

tombang commented 3 weeks ago

Bug Description My phone includes iFlytek's voice wake-up feature, and the Livekit application I use is on the permission whitelist. When connecting to Livekit during voice wake-up and then disconnecting the phone from the network, Livekit deletes the audio node of iFlytek's voice wake-up feature, causing the voice wake-up to become unusable.

Steps to Reproduce Connect to Livekit during voice wake-up. Disconnect the phone from the network while Livekit is working normally. Attempt voice wake-up again after 15 seconds. Expected Behavior The phone should wake up normally.

Actual Behavior Voice wake-up does not work.

Screenshots The application is a service with no interface.

Device Device Model: Qualcomm 6490 Operating System: Android 13 Livekit SDK Version: 2.7.0

davidliu commented 3 weeks ago

Closing as dupe of #493.