-
Notifications
You must be signed in to change notification settings - Fork 110
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
Cannot play sound effects while connecting or disconnecting a call #439
Comments
Upon further testing the audio issues above occur when calling |
@dfed we made some changes and improvements to this behavior in recent versions of the Swift SDK. Can you let me know if you still experience this problem? |
@bcherry glad you're investing here! I tried pointing the sample project attached to the OP to both latest Let me know if you have issues running the sample project – it clearly reproduces the issue when running on an iOS device. The distortion is relatively minor on simulator when I tested tonight, so maybe there were improvements within the simulator environment? |
Hello, |
Describe the bug
Enabling or disabling the microphone on a LiveKit room affects the audio stack such that playing sound effects or background noise across these events is user-visibly broken.
SDK Version
2.0.12
iOS/macOS Version
Tried on multiple iOS 17 versions, including most recent at time of writing: 17.5.1.
Xcode Version
15.4.0
Steps to Reproduce
// Set your token here
commentpause()
and thenplay()
on the audio engine after disconnecting fixes this crash.Expected behavior
Background audio can play without distortion or stopping across enabling/disabling the microphone.
Though I'll take a workaround to at a minimum let me play sound effects without distortion.
Screenshots
N/A. Sample project attached
Logs
N/A. Sample project attached
livekit-swift-example-collection-audio.zip
The text was updated successfully, but these errors were encountered: