web+publisher: align moq watch client and disable passthrough by default
This commit is contained in:
parent
5bce56ee79
commit
c2db3c6727
5 changed files with 88 additions and 23 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue