mix moqx.roundtrip (moqx v0.7.1)

Copy Markdown View Source

End-to-end relay roundtrip test: connect publisher + subscriber, publish one frame, and verify the subscriber receives it.

Usage

mix moqx.roundtrip [relay_url] [options]

Examples:

mix moqx.roundtrip
mix moqx.roundtrip https://interop-relay.cloudflare.mediaoverquic.com:443
mix moqx.roundtrip --namespace moqx-e2e/demo --track demo --payload hello

Options:

  • --namespace - broadcast namespace to publish/subscribe. Default: "moqx-e2e/<unix_ms>".
  • --track - track name. Default: "demo".
  • --payload - frame payload to send. Default: "hello-from-moqx-e2e".
  • --timeout - timeout in ms for each await step. Default: 10_000.
  • --help - print this help.