docs: publish desktop audio with PocketStation - #805
Open
Raphjacksun7 wants to merge 1 commit into
Open
Conversation
Raphjacksun7
requested review from
cloudwebrtc,
lukasIO and
xianshijing-lk
as code owners
September 4, 2026 17:15
Raphjacksun7
force-pushed
the
feat/desktop-audio
branch
from
September 4, 2026 17:22
6632785 to
99022f2
Compare
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.
Summary
Add a runnable Python example that publishes one local audio source to a LiveKit room:
PocketStation owns local capture and delivers source-aware frames outside the operating-system callback. The example downmixes those frames to mono PCM16 and publishes them through LiveKit
AudioSource. Application and system audio are marked as screen-share audio; microphone capture is never enabled automatically.The example uses released packages only:
pocketstation==0.1.4,livekit==1.1.17, andlivekit-api==1.2.1.Verification
Commit:
6632785e1c195ebb5879e2cc97171f5bfeed9238A clean Python 3.11 environment installed all three packages from PyPI and passed the conversion test.
I also ran a local LiveKit 1.13.3 server with separate publisher and receiver participants on macOS:
This proves native macOS capture and same-host LiveKit delivery. It does not qualify WAN/TURN behavior. The microphone option was not opened during this run; the README directs interactive voice applications to LiveKit
PlatformAudiofor AEC, noise suppression, and gain control.