web+publisher: align moq watch client and disable passthrough by default

This commit is contained in:
every.channel 2026-02-21 01:49:46 -08:00
parent 5bce56ee79
commit c2db3c6727
No known key found for this signature in database
5 changed files with 88 additions and 23 deletions

View file

@ -401,8 +401,8 @@ struct WsSubscribeArgs {
#[derive(Parser, Debug)]
struct WtPublishArgs {
/// Relay URL (WebTransport) to connect to.
/// Default points at Cloudflare's MoQ technical preview relay.
#[arg(long, default_value = "https://relay.cloudflare.mediaoverquic.com/")]
/// Default points at moq.dev's public relay.
#[arg(long, default_value = "https://cdn.moq.dev/anon")]
url: String,
/// Broadcast name to publish.
///
@ -418,7 +418,7 @@ struct WtPublishArgs {
transcode: bool,
/// Transmit fMP4 fragments directly (passthrough mode).
/// When false, the importer may reframe into CMAF fragments.
#[arg(long, default_value_t = true, action = clap::ArgAction::Set)]
#[arg(long, default_value_t = false, action = clap::ArgAction::Set)]
passthrough: bool,
/// Danger: disable TLS verification for the relay.
#[arg(long, default_value_t = false)]