tsctl: stream start/list/watch; smoke test streams on TS6

tsctl connect <addr> stream [--loopback|--stun X|--no-stun]
  start --synthetic [--name] [--auto-accept] [--seconds N] [--fps]
        [--frame-size] [--no-audio]
        Streams SyntheticSource frames through tsc-stream's sessions.
        Without --auto-accept, join requests are answered on stdin
        (accept/deny/kick <clid>, stop). frame_source() is the seam for
        real capture and encoders.
  list  Streams announced in our channel, plus clients whose
        client_is_streaming is set but whose stream id we were not told.
  watch [--id] [--streamer-nick] [--expect-frames N] [--timeout S]
        Joins the matching stream (or the first one); exits 0 once N video
        frames arrived.

it-smoke.sh (TS6 only): a viewer waits for a uniquely named streamer,
which then streams 10 s of synthetic VP8 + Opus over loopback; also runs
the engine's stream_live test.

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 05:07:36 +00:00
1 parent 43879fec40
commit 462034df38
6 files changed
+560 -1

No files matched your search

+3
View File
@@ -5,6 +5,7 @@ mod identity;
mod observe;
mod query;
mod session;
mod stream;
mod tree;
mod versions;
mod voice;
@@ -133,6 +134,8 @@ pub enum Action {
#[command(subcommand)]
command: VoiceCommand,
},
/// TeamSpeak 6 streams (screen sharing): start, list or watch.
Stream(stream::StreamArgs),
/// Interactive session. Type `/help` for commands.
Repl,
}