Add runtime audio processing controls and diagnostics - #97
Open
hiroshihorie wants to merge 19 commits into
Open
Conversation
Diagnostics read the factory-owned engine-wide state and the renamed platform (formerly built-in) device state: requested shows as one optional request, the resolved/active split replaces tri-state booleans, and the redundant has* flags are gone.
Per-effect mode types drive the pickers generically, so the high-pass filter row only offers its legal modes. setAudioProcessingOptions now returns a success-only result and throws on failure. Diagnostics use the path-grouped component state and the renamed platformVoiceProcessingState, and the voice processing toggle follows the platform-allowed rename.
The SDK dropped the flag from AudioProcessingState.
Pins the release branch revision ae672652 so LiveKitSDK.version reports 2.15.2. TestFlight build 2.15.2b20260717.1.
Demonstrates RoomOptions(defaultAudioCaptureOptions:), the way most apps configure processing modes. The mic toggle still passes options explicitly, which takes precedence and picks up panel changes made after connecting.
The mode is irrelevant while the effect is disabled; graying the picker makes that visible.
Default restores the communication profile via the AudioProcessingOptions initializer; No processing uses the .noProcessing preset.
Also derive capture options from the processing options and replace the AudioProcessingEffectiveResult wrapper with the SDK's AudioProcessingImplementation.
hiroshihorie
marked this pull request as ready for review
July 29, 2026 16:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Demonstrates the runtime audio processing API added in SDK 2.15 (livekit/client-sdk-swift#1048).
Adds a Runtime Audio Processing section to the audio controls panel:
setAudioProcessingOptionsand reports whether the options were applied immediately or storedAlso: