voelin-stream: simulcast layer types and the layer seam between capture and streams

LayerSpec describes one encoding (size or scale, fps cap, bitrate range,
minimum estimate, RID); LayerSet is a growable set of layers. Encoded
frames carry their layer, FrameSource and MediaSink gain per-layer
keyframe requests and bitrate targets, and StreamerOptions and
StreamerConfig take the layer list. Behaviour is unchanged: one layer, 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 23:14:05 +00:00
1 parent b49ce78b15
commit 8b826da63d
9 files changed
+262 -10

No files matched your search

+3 -1
View File
@@ -199,7 +199,9 @@ async fn stream_between_sessions() {
let _ = tracing_subscriber::fmt().with_env_filter("warn").with_test_writer().try_init();
let mut net = Net::new();
let setup = StreamSetup { name: "fake".into(), kind: StreamKind::Screen, ..Default::default() };
net.clients[STREAMER].start(StreamerOptions { setup, auto_accept: false }).unwrap();
net.clients[STREAMER]
.start(StreamerOptions { setup, auto_accept: false, ..Default::default() })
.unwrap();
net.until("live", |i, e| {
i == STREAMER && matches!(e, StreamEvent::Streamer(StreamerEvent::Live { .. }))
})