Repository navigation
feat(audio): expose public recording configuration - #1133
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
David Elner (delner)
force-pushed
the
delner/sdk-851-4-public-audio-config
branch
from
November 17, 2026 18:59
e024512 to
5a7817c
Compare
Abhijeet Prasad (AbhiPrasad)
approved these changes
Nov 17, 2026
David Elner (delner)
force-pushed
the
delner/sdk-851-4-public-audio-config
branch
from
November 18, 2026 04:14
5a7817c to
77e6190
Compare
David Elner (delner)
force-pushed
the
delner/sdk-851-3-livekit-latency
branch
from
November 18, 2026 04:14
8f55958 to
e68687c
Compare
David Elner (delner)
force-pushed
the
delner/sdk-851-4-public-audio-config
branch
from
November 18, 2026 04:24
77e6190 to
961db7c
Compare
David Elner (delner)
force-pushed
the
delner/sdk-851-3-livekit-latency
branch
from
November 18, 2026 04:24
e68687c to
4877c0e
Compare
> 🤖 **This text was AI-generated.** Applications had to import recording options from a private module. The same classes now have a supported public path without importing a codec or voice framework: ```python from braintrust.audio import AudioEncoding, AudioRecordingOptions ``` Existing private imports continue to work. Documentation now explains that Opus/Ogg depends on an available PyAV/libopus backend, including PyAV installed by LiveKit. The audio extra installs our qualified version on Python 3.12+ and never enables capture by itself. Default encoding retains its PCM fallback. Explicit Opus still raises when unavailable, with an error that also identifies missing libopus. Refs: https://linear.app/braintrustdata/issue/SDK-833 Refs: https://linear.app/braintrustdata/issue/SDK-828
David Elner (delner)
force-pushed
the
delner/sdk-851-4-public-audio-config
branch
from
November 18, 2026 04:34
961db7c to
fac43d3
Compare
David Elner (delner)
enabled auto-merge (squash)
November 18, 2026 04:34
David Elner (delner)
deleted the
delner/sdk-851-4-public-audio-config
branch
November 18, 2026 04:42
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.
Problem
Shared audio recording options require an internal import, and the setup guidance does not clearly explain which audio dependencies are needed.
Solution
Make recording options available through a public import for LiveKit and Pipecat. For example, configure LiveKit recordings in 30-second segments:
Clarify the dependency guidance and encoding messages so users can configure recordings more easily.