tsc-core: audio settings, client and stream volumes, media pipeline
Audio: sessions start their audio thread with the engine's AudioSettings (SetAudioSettings, engine-wide), SetClientVolume / SetClientMuted reach the mixer, clients that leave are forgotten, and the audio thread reports the microphone level (InputLevel, also from TestMicrophone without a session). Audio of watched streams plays through the mixer under a made-up client id with its own volume (SetStreamVolume). Media (feature `media`, default): Streamer captures a screen and system audio, encodes VP8 (the offered codec) at the setup's bitrate and Opus, honours keyframe requests and feeds a StreamSink or, as EncodedSource, a FrameSource. VideoPipeline / Viewer decode watched streams on their own thread, skip to keyframes after losses and ask for them. A test streams the test pattern through two stream tasks and loopback peers and checks the rectangle in the decoded pictures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
0c83716fa1
commit
af5b202347
7 files changed
+1573
-47
No files matched your search
Generated
+1
@@ -8607,6 +8607,7 @@ dependencies = [
|
||||
"tracing",
|
||||
"tsc-audio",
|
||||
"tsc-gateway-proto",
|
||||
"tsc-media",
|
||||
"tsc-model",
|
||||
"tsc-observer",
|
||||
"tsc-query",
|
||||
|
||||
Reference in new issue
Block a user