diff --git a/Cargo.lock b/Cargo.lock index ba8b5aa3fc3..d5bde2a2e90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,9 +106,9 @@ checksum = "85965b6739a430150bdd138e2374a98af0c3ee0d030b3bb7fc3bddff58d0102e" [[package]] name = "android_system_properties" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" dependencies = [ "libc", ] @@ -728,9 +728,9 @@ checksum = "6099cdc01846bc367c4e7dd630dc5966dccf36b652fae7a74e17b640411a91b2" [[package]] name = "blake3" -version = "1.8.5" +version = "1.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aa83c34e62843d924f905e0f5c866eb1dd6545fc4d719e803d9ba6030371fce" +checksum = "76ae7bad254120e9e4c63bafc385310756f90c484eac0e36b8317cf09cb92a77" dependencies = [ "arrayref", "arrayvec", @@ -2975,7 +2975,7 @@ dependencies = [ [[package]] name = "hang" -version = "0.20.3" +version = "0.20.4" dependencies = [ "anyhow", "bytes", @@ -4087,7 +4087,7 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "libmoq" -version = "0.5.4" +version = "0.5.5" dependencies = [ "anyhow", "bytes", @@ -4337,7 +4337,7 @@ dependencies = [ [[package]] name = "moq-audio" -version = "0.0.15" +version = "0.0.16" dependencies = [ "block2", "bytes", @@ -4383,7 +4383,7 @@ dependencies = [ [[package]] name = "moq-boy" -version = "0.4.4" +version = "0.4.5" dependencies = [ "anyhow", "boytacean", @@ -4403,7 +4403,7 @@ dependencies = [ [[package]] name = "moq-cli" -version = "0.9.7" +version = "0.9.8" dependencies = [ "anyhow", "axum", @@ -4432,7 +4432,7 @@ dependencies = [ [[package]] name = "moq-ffi" -version = "0.3.7" +version = "0.3.8" dependencies = [ "bytes", "hang", @@ -4462,7 +4462,7 @@ dependencies = [ [[package]] name = "moq-gst" -version = "0.3.3" +version = "0.3.4" dependencies = [ "anyhow", "bytes", @@ -4480,7 +4480,7 @@ dependencies = [ [[package]] name = "moq-hls" -version = "0.4.5" +version = "0.4.6" dependencies = [ "anyhow", "axum", @@ -4538,7 +4538,7 @@ dependencies = [ [[package]] name = "moq-mux" -version = "0.9.3" +version = "0.9.4" dependencies = [ "anyhow", "base64 0.23.1", @@ -4569,7 +4569,7 @@ dependencies = [ [[package]] name = "moq-native" -version = "0.19.7" +version = "0.19.8" dependencies = [ "anyhow", "bytes", @@ -4621,7 +4621,7 @@ dependencies = [ [[package]] name = "moq-net" -version = "0.2.8" +version = "0.2.9" dependencies = [ "bytes", "criterion", @@ -4652,7 +4652,7 @@ dependencies = [ [[package]] name = "moq-relay" -version = "0.14.7" +version = "0.14.8" dependencies = [ "anyhow", "axum", @@ -4696,7 +4696,7 @@ dependencies = [ [[package]] name = "moq-rtc" -version = "0.2.2" +version = "0.2.3" dependencies = [ "anyhow", "aws-lc-rs", @@ -4716,7 +4716,7 @@ dependencies = [ [[package]] name = "moq-rtmp" -version = "0.2.3" +version = "0.2.4" dependencies = [ "anyhow", "byteorder", @@ -4799,7 +4799,7 @@ dependencies = [ [[package]] name = "moq-transcode" -version = "0.0.7" +version = "0.0.8" dependencies = [ "anyhow", "bytes", @@ -4832,7 +4832,7 @@ dependencies = [ [[package]] name = "moq-video" -version = "0.0.13" +version = "0.0.14" dependencies = [ "anyhow", "ashpd", diff --git a/Cargo.toml b/Cargo.toml index 3345cd8b5a4..2fd13496453 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,9 +79,9 @@ kio = { version = "0.5", path = "rs/kio" } # Permutation testing for the kio primitives (and everything built on them). # Only compiled under `--cfg loom`; see `just rs loom`. loom = { version = "0.7.2", features = ["futures"] } -moq-audio = { version = "0.0.15", path = "rs/moq-audio" } +moq-audio = { version = "0.0.16", path = "rs/moq-audio" } moq-flate = { version = "0.1.1", path = "rs/moq-flate" } -moq-hls = { version = "0.4.5", path = "rs/moq-hls", default-features = false } +moq-hls = { version = "0.4.6", path = "rs/moq-hls", default-features = false } moq-json = { version = "0.3.3", path = "rs/moq-json" } moq-loc = { version = "0.2", path = "rs/moq-loc" } moq-msf = { version = "0.4", path = "rs/moq-msf" } @@ -92,8 +92,8 @@ moq-net = { version = "0.2", path = "rs/moq-net" } # driver at runtime. Compiles on any platform (macOS included) but only actually # used by moq-video on Linux. moq-nvenc = { version = "0.0.3", path = "rs/moq-nvenc" } -moq-rtc = { version = "0.2.2", path = "rs/moq-rtc" } -moq-rtmp = { version = "0.2.3", path = "rs/moq-rtmp" } +moq-rtc = { version = "0.2.3", path = "rs/moq-rtc" } +moq-rtmp = { version = "0.2.4", path = "rs/moq-rtmp" } moq-srt = { version = "0.2.3", path = "rs/moq-srt" } moq-stats = { version = "0.1.4", path = "rs/moq-stats" } moq-token = { version = "0.7", path = "rs/moq-token" } @@ -103,11 +103,11 @@ moq-token-cli = { version = "0.5", path = "rs/moq-token-cli" } # can leave them off to drop the CUDA dependencies. Both crates still default # them on when depended on directly. VAAPI is opt-in everywhere, since that # backend has never been validated on real hardware. -moq-transcode = { version = "0.0.7", path = "rs/moq-transcode", default-features = false } +moq-transcode = { version = "0.0.8", path = "rs/moq-transcode", default-features = false } # Standalone crate (moq-dev/vaapi); vendored from cros-libva + cros-codecs. # dlopen's libva at runtime (no libva-dev at build, no NEEDED libva in the binary). moq-vaapi = "0.0.3" -moq-video = { version = "0.0.13", path = "rs/moq-video", default-features = false } +moq-video = { version = "0.0.14", path = "rs/moq-video", default-features = false } percent-encoding = "2" qmux = { version = "0.4.0", default-features = false } serde = { version = "1", features = ["derive"] } diff --git a/doc/bin/relay/config.md b/doc/bin/relay/config.md index b9543b71dc8..320acdd6038 100644 --- a/doc/bin/relay/config.md +++ b/doc/bin/relay/config.md @@ -471,15 +471,6 @@ headroom = "2GiB" # stays cached. The latest group of every track is always retained, as it is # the live edge. Unbounded (each track keeps its own window) when unset. duration = "30s" - -# Retention window for a track whose publisher advertises none ("30s"), which -# is every moq-transport peer and moq-lite 01-04: those wire formats carry no -# publisher retention property, so the relay picks the window instead. Raise it -# when this relay fronts a segmented egress (HLS/DASH) that advertises a longer -# playlist window, since serving an older segment is a cache hit that far back. -# moq-lite 05+ publishers advertise their own window and keep it. Defaults to -# 5s, and `duration` still caps it. -latency_default = "30s" ``` The `capacity` budget counts group payload bytes, not process RSS, so leave @@ -495,13 +486,9 @@ until it resumes or the broadcast closes; under memory pressure the byte budget is repaid by the tracks that are still writing. A publisher that disconnects has its groups released once the broadcast closes (see `cluster.linger`). -`duration` only ever lowers retention. `latency_default` is the one knob that -raises it, and only for peers whose protocol never told us what to keep. - -All four flags also accept CLI arguments (`--cache-capacity`, -`--cache-headroom`, `--cache-duration`, `--cache-latency-default`) and -environment variables (`MOQ_CACHE_CAPACITY`, `MOQ_CACHE_HEADROOM`, -`MOQ_CACHE_DURATION`, `MOQ_CACHE_LATENCY_DEFAULT`). +All three flags also accept CLI arguments (`--cache-capacity`, +`--cache-headroom`, `--cache-duration`) and environment variables +(`MOQ_CACHE_CAPACITY`, `MOQ_CACHE_HEADROOM`, `MOQ_CACHE_DURATION`). ### \[iroh] diff --git a/rs/hang/CHANGELOG.md b/rs/hang/CHANGELOG.md index d1065666036..8eb265dff78 100644 --- a/rs/hang/CHANGELOG.md +++ b/rs/hang/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.20.4](https://github.com/moq-dev/moq/compare/hang-v0.20.3...hang-v0.20.4) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) + ## [0.20.3](https://github.com/moq-dev/moq/compare/hang-v0.20.2...hang-v0.20.3) - 2026-08-05 ### Fixed diff --git a/rs/hang/Cargo.toml b/rs/hang/Cargo.toml index c6cb67d6953..3eb1d1d8f9a 100644 --- a/rs/hang/Cargo.toml +++ b/rs/hang/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.20.3" +version = "0.20.4" edition = "2024" rust-version.workspace = true diff --git a/rs/libmoq/CHANGELOG.md b/rs/libmoq/CHANGELOG.md index 526834d3b98..714488b0e65 100644 --- a/rs/libmoq/CHANGELOG.md +++ b/rs/libmoq/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.5](https://github.com/moq-dev/moq/compare/libmoq-v0.5.4...libmoq-v0.5.5) - 2026-08-06 + +### Fixed + +- *(libmoq)* stop holding the global locks across a video encode ([#2663](https://github.com/moq-dev/moq/pull/2663)) +- *(libmoq)* fix the generated CMake package config for Windows and installs ([#2671](https://github.com/moq-dev/moq/pull/2671)) +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.5.4](https://github.com/moq-dev/moq/compare/libmoq-v0.5.3...libmoq-v0.5.4) - 2026-08-05 ### Added diff --git a/rs/libmoq/Cargo.toml b/rs/libmoq/Cargo.toml index a3d7179b059..41019ca972f 100644 --- a/rs/libmoq/Cargo.toml +++ b/rs/libmoq/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley ", "Brian Medley " repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.5.4" +version = "0.5.5" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-audio/CHANGELOG.md b/rs/moq-audio/CHANGELOG.md index 81c1b63a45c..330e308fece 100644 --- a/rs/moq-audio/CHANGELOG.md +++ b/rs/moq-audio/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.16](https://github.com/moq-dev/moq/compare/moq-audio-v0.0.15...moq-audio-v0.0.16) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) + ## [0.0.15](https://github.com/moq-dev/moq/compare/moq-audio-v0.0.14...moq-audio-v0.0.15) - 2026-07-29 ### Added diff --git a/rs/moq-audio/Cargo.toml b/rs/moq-audio/Cargo.toml index 9cd2011e6e2..1882fbdc1a7 100644 --- a/rs/moq-audio/Cargo.toml +++ b/rs/moq-audio/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.0.15" +version = "0.0.16" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-boy/CHANGELOG.md b/rs/moq-boy/CHANGELOG.md index 01eaebfa2ca..81ae39d2ffa 100644 --- a/rs/moq-boy/CHANGELOG.md +++ b/rs/moq-boy/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.5](https://github.com/moq-dev/moq/compare/moq-boy-v0.4.4...moq-boy-v0.4.5) - 2026-08-06 + +### Fixed + +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.4.4](https://github.com/moq-dev/moq/compare/moq-boy-v0.4.3...moq-boy-v0.4.4) - 2026-08-05 ### Other diff --git a/rs/moq-boy/Cargo.toml b/rs/moq-boy/Cargo.toml index 92b124b2f53..4e33bc6fed9 100644 --- a/rs/moq-boy/Cargo.toml +++ b/rs/moq-boy/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" keywords = ["moq", "gameboy", "streaming", "emulator", "live"] categories = ["multimedia::video", "emulators", "network-programming"] -version = "0.4.4" +version = "0.4.5" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-cli/CHANGELOG.md b/rs/moq-cli/CHANGELOG.md index fe2ce322faf..9419512f8ce 100644 --- a/rs/moq-cli/CHANGELOG.md +++ b/rs/moq-cli/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.9.8](https://github.com/moq-dev/moq/compare/moq-cli-v0.9.7...moq-cli-v0.9.8) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) + +### Fixed + +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.9.7](https://github.com/moq-dev/moq/compare/moq-cli-v0.9.6...moq-cli-v0.9.7) - 2026-08-05 ### Added diff --git a/rs/moq-cli/Cargo.toml b/rs/moq-cli/Cargo.toml index 889b1edafe7..7295a87cbe1 100644 --- a/rs/moq-cli/Cargo.toml +++ b/rs/moq-cli/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.9.7" +version = "0.9.8" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-ffi/CHANGELOG.md b/rs/moq-ffi/CHANGELOG.md index 0a8313ed1bc..4e143fa8042 100644 --- a/rs/moq-ffi/CHANGELOG.md +++ b/rs/moq-ffi/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.8](https://github.com/moq-dev/moq/compare/moq-ffi-v0.3.7...moq-ffi-v0.3.8) - 2026-08-06 + +### Fixed + +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.3.7](https://github.com/moq-dev/moq/compare/moq-ffi-v0.3.6...moq-ffi-v0.3.7) - 2026-08-05 ### Added diff --git a/rs/moq-ffi/Cargo.toml b/rs/moq-ffi/Cargo.toml index a57dd907efb..01ff2bbca37 100644 --- a/rs/moq-ffi/Cargo.toml +++ b/rs/moq-ffi/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley ", "Brian Medley " repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.3.7" +version = "0.3.8" edition = "2024" keywords = ["quic", "http3", "webtransport", "media", "live"] diff --git a/rs/moq-gst/CHANGELOG.md b/rs/moq-gst/CHANGELOG.md index c5c87aa8c7c..c35c2f6beea 100644 --- a/rs/moq-gst/CHANGELOG.md +++ b/rs/moq-gst/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.4](https://github.com/moq-dev/moq/compare/moq-gst-v0.3.3...moq-gst-v0.3.4) - 2026-08-06 + +### Added + +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) + ## [0.3.3](https://github.com/moq-dev/moq/compare/moq-gst-v0.3.2...moq-gst-v0.3.3) - 2026-07-25 ### Fixed diff --git a/rs/moq-gst/Cargo.toml b/rs/moq-gst/Cargo.toml index b394a181c2f..f686b51151b 100644 --- a/rs/moq-gst/Cargo.toml +++ b/rs/moq-gst/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley"] repository = "https://github.com/kixelated/moq" license = "MIT OR Apache-2.0" -version = "0.3.3" +version = "0.3.4" edition = "2024" rust-version.workspace = true publish = true diff --git a/rs/moq-hls/CHANGELOG.md b/rs/moq-hls/CHANGELOG.md index 985e4734ce4..cc2c5ec337a 100644 --- a/rs/moq-hls/CHANGELOG.md +++ b/rs/moq-hls/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.6](https://github.com/moq-dev/moq/compare/moq-hls-v0.4.5...moq-hls-v0.4.6) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) + ## [0.4.5](https://github.com/moq-dev/moq/compare/moq-hls-v0.4.4...moq-hls-v0.4.5) - 2026-08-05 ### Other diff --git a/rs/moq-hls/Cargo.toml b/rs/moq-hls/Cargo.toml index 5ec7e329dea..88d9b13e4ae 100644 --- a/rs/moq-hls/Cargo.toml +++ b/rs/moq-hls/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.4.5" +version = "0.4.6" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-mux/CHANGELOG.md b/rs/moq-mux/CHANGELOG.md index 05961b6f86a..ab2ee882094 100644 --- a/rs/moq-mux/CHANGELOG.md +++ b/rs/moq-mux/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.9.4](https://github.com/moq-dev/moq/compare/moq-mux-v0.9.3...moq-mux-v0.9.4) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) + +### Fixed + +- *(moq-mux)* make the synthesized fMP4 init playable on strict players ([#2679](https://github.com/moq-dev/moq/pull/2679)) + ## [0.9.3](https://github.com/moq-dev/moq/compare/moq-mux-v0.9.2...moq-mux-v0.9.3) - 2026-08-05 ### Fixed diff --git a/rs/moq-mux/Cargo.toml b/rs/moq-mux/Cargo.toml index ed77073501e..d7473ef47e0 100644 --- a/rs/moq-mux/Cargo.toml +++ b/rs/moq-mux/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.9.3" +version = "0.9.4" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-native/CHANGELOG.md b/rs/moq-native/CHANGELOG.md index 074f4747db3..10cb69715cb 100644 --- a/rs/moq-native/CHANGELOG.md +++ b/rs/moq-native/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.19.8](https://github.com/moq-dev/moq/compare/moq-native-v0.19.7...moq-native-v0.19.8) - 2026-08-06 + +### Added + +- *(moq-native)* classify, pace, and publish accept(2) failures ([#2687](https://github.com/moq-dev/moq/pull/2687)) +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) + +### Fixed + +- *(net)* let the accepting side pick the retention window when the wire carries none ([#2657](https://github.com/moq-dev/moq/pull/2657)) + ## [0.19.7](https://github.com/moq-dev/moq/compare/moq-native-v0.19.6...moq-native-v0.19.7) - 2026-08-05 ### Added diff --git a/rs/moq-native/Cargo.toml b/rs/moq-native/Cargo.toml index fde2b311bd5..a3bb54dea10 100644 --- a/rs/moq-native/Cargo.toml +++ b/rs/moq-native/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley"] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.19.7" +version = "0.19.8" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-net/CHANGELOG.md b/rs/moq-net/CHANGELOG.md index f04d8bd8ca8..ea7b89fa301 100644 --- a/rs/moq-net/CHANGELOG.md +++ b/rs/moq-net/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.9](https://github.com/moq-dev/moq/compare/moq-net-v0.2.8...moq-net-v0.2.9) - 2026-08-06 + +### Fixed + +- *(moq-net)* stop a reflected announce from evicting the source we publish ([#2684](https://github.com/moq-dev/moq/pull/2684)) +- *(moq-wasm)* repair the consume path and gate wasm32 in CI ([#2683](https://github.com/moq-dev/moq/pull/2683)) +- *(moq-net)* close the session on a malformed NAMESPACE ([#2667](https://github.com/moq-dev/moq/pull/2667)) +- *(moq-net)* move the publisher group order out of message parameters ([#2677](https://github.com/moq-dev/moq/pull/2677)) +- *(net)* let the accepting side pick the retention window when the wire carries none ([#2657](https://github.com/moq-dev/moq/pull/2657)) +- *(moq-net)* send IETF subscribe/fetch rejections without resetting the stream ([#2673](https://github.com/moq-dev/moq/pull/2673)) + +### Other + +- *(moq-net)* describe what with_cost actually prices ([#2668](https://github.com/moq-dev/moq/pull/2668)) +- *(moq-net)* give lite::start a Config, like ietf::start ([#2686](https://github.com/moq-dev/moq/pull/2686)) + ## [0.2.8](https://github.com/moq-dev/moq/compare/moq-net-v0.2.7...moq-net-v0.2.8) - 2026-08-05 ### Added diff --git a/rs/moq-net/Cargo.toml b/rs/moq-net/Cargo.toml index 599f9e2c764..b638f921e46 100644 --- a/rs/moq-net/Cargo.toml +++ b/rs/moq-net/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley"] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.2.8" +version = "0.2.9" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-relay/CHANGELOG.md b/rs/moq-relay/CHANGELOG.md index 2308abc9539..3c2970ea4f8 100644 --- a/rs/moq-relay/CHANGELOG.md +++ b/rs/moq-relay/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.14.8](https://github.com/moq-dev/moq/compare/moq-relay-v0.14.7...moq-relay-v0.14.8) - 2026-08-06 + +### Added + +- *(moq-native)* classify, pace, and publish accept(2) failures ([#2687](https://github.com/moq-dev/moq/pull/2687)) +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) +- *(relay)* add Internal::serve(router) for embedders ([#2678](https://github.com/moq-dev/moq/pull/2678)) + +### Fixed + +- *(net)* let the accepting side pick the retention window when the wire carries none ([#2657](https://github.com/moq-dev/moq/pull/2657)) + ## [0.14.7](https://github.com/moq-dev/moq/compare/moq-relay-v0.14.6...moq-relay-v0.14.7) - 2026-08-05 ### Added diff --git a/rs/moq-relay/Cargo.toml b/rs/moq-relay/Cargo.toml index cad8ea69e67..aa1e9d1c182 100644 --- a/rs/moq-relay/Cargo.toml +++ b/rs/moq-relay/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley"] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.14.7" +version = "0.14.8" edition = "2024" # sysinfo 0.39 (cache governor cgroup limits) needs 1.95, above the 1.91 # workspace floor. moq-relay is lib+bin, so this applies to its library target diff --git a/rs/moq-relay/src/cache.rs b/rs/moq-relay/src/cache.rs index 3fb106429f0..35fa0c889e4 100644 --- a/rs/moq-relay/src/cache.rs +++ b/rs/moq-relay/src/cache.rs @@ -63,19 +63,6 @@ pub struct CacheConfig { #[arg(long = "cache-duration", env = "MOQ_CACHE_DURATION", value_parser = humantime::parse_duration)] #[serde(default, with = "humantime_serde")] pub duration: Option, - - /// Retention window for a track whose publisher advertises none, e.g. "30s". - /// Defaults to 5s. - /// - /// moq-lite 05+ publishers advertise their own window and it is used verbatim. - /// Every moq-transport draft and moq-lite 01-04 have no such wire property, so a - /// track relayed over one of them retains for this long instead. Raise it when - /// this relay fronts a segmented egress (HLS/DASH) that advertises a longer - /// playlist window, since serving an older segment means a cache hit that far - /// back. `duration` still caps it. - #[arg(long = "cache-latency-default", env = "MOQ_CACHE_LATENCY_DEFAULT", value_parser = humantime::parse_duration)] - #[serde(default, with = "humantime_serde")] - pub latency_default: Option, } /// The relay's resolved cache settings: the shared byte-budget pool plus the @@ -88,11 +75,6 @@ pub struct Cache { /// track is always kept). [`Duration::MAX`] imposes no ceiling, leaving each /// track's own window in force. pub duration: Duration, - - /// Retention window for a track whose publisher advertises none, which is every - /// moq-transport peer and moq-lite 01-04. Defaults to - /// [`moq_net::track::DEFAULT_LATENCY_MAX`]. - pub latency_default: Duration, } impl CacheConfig { @@ -118,14 +100,9 @@ impl CacheConfig { tracing::info!(?duration, "cache duration ceiling set"); } - if let Some(latency_default) = self.latency_default { - tracing::info!(?latency_default, "cache latency default set"); - } - Ok(Cache { pool, duration: self.duration.unwrap_or(Duration::MAX), - latency_default: self.latency_default.unwrap_or(moq_net::track::DEFAULT_LATENCY_MAX), }) } } diff --git a/rs/moq-relay/src/cluster.rs b/rs/moq-relay/src/cluster.rs index 355aaccb6ea..eeb500133a9 100644 --- a/rs/moq-relay/src/cluster.rs +++ b/rs/moq-relay/src/cluster.rs @@ -436,10 +436,9 @@ impl Cluster { }) } - /// Attach the resolved [`Cache`](crate::Cache) (the shared group pool, the - /// per-track retention ceiling, and the window for tracks whose publisher - /// advertises none) so every session's broadcasts cache into one memory - /// budget bounded by both bytes and age. Call before deriving any origin + /// Attach the resolved [`Cache`](crate::Cache) (the shared group pool and the + /// per-track retention ceiling) so every session's broadcasts cache into one + /// memory budget bounded by both bytes and age. Call before deriving any origin /// handles (e.g. [`with_stats`](Self::with_stats)) so they inherit the settings. /// /// Rebuilds the origin with the cache: safe because the cluster's origin is @@ -449,8 +448,7 @@ impl Cluster { .info .clone() .with_pool(cache.pool) - .with_cache_duration(cache.duration) - .with_latency_default(cache.latency_default); + .with_cache_duration(cache.duration); self.origin = self.info.clone().produce(); self.nodes = self.nodes.with_origin(self.origin.clone()); self diff --git a/rs/moq-relay/src/config.rs b/rs/moq-relay/src/config.rs index 01f8ba06ff8..25619054898 100644 --- a/rs/moq-relay/src/config.rs +++ b/rs/moq-relay/src/config.rs @@ -156,24 +156,18 @@ depth = 2 assert_eq!(config.stats.depth, Some(2)); } - /// Regression test for the clap+TOML clobber bug applied to `[cache]`. Every - /// field is an `Option` so a TOML-configured cache setting survives the CLI - /// re-parse when no `--cache-*` flag is passed. + /// Regression test for the clap+TOML clobber bug applied to `[cache]`. Both + /// fields are `Option` so a TOML-configured cache size survives the + /// CLI re-parse when no `--cache-*` flag is passed. #[test] fn cli_does_not_clobber_toml_cache() { - let _env = EnvGuard::clear(&[ - "MOQ_CACHE_CAPACITY", - "MOQ_CACHE_HEADROOM", - "MOQ_CACHE_DURATION", - "MOQ_CACHE_LATENCY_DEFAULT", - ]); + let _env = EnvGuard::clear(&["MOQ_CACHE_CAPACITY", "MOQ_CACHE_HEADROOM", "MOQ_CACHE_DURATION"]); let toml = r#" [cache] capacity = "8GiB" headroom = "10%" duration = "30s" -latency_default = "20s" "#; let dir = std::env::temp_dir().join("moq-relay-config-test"); std::fs::create_dir_all(&dir).unwrap(); @@ -194,38 +188,22 @@ latency_default = "20s" Some(std::time::Duration::from_secs(30)), "TOML's cache.duration must not be clobbered by the CLI re-parse" ); - assert_eq!( - config.cache.latency_default, - Some(std::time::Duration::from_secs(20)), - "TOML's cache.latency_default must not be clobbered by the CLI re-parse" - ); } - /// `cache.duration` and `cache.latency_default` are `Option` behind - /// plain `humantime_serde` (not `humantime_serde::option`), so pin both - /// directions including the `None` serialize path, which the merge test above - /// never exercises. + /// `cache.duration` is an `Option` behind plain `humantime_serde` + /// (not `humantime_serde::option`), so pin both directions including the + /// `None` serialize path, which the merge test above never exercises. #[test] fn cache_duration_serde_round_trip() { - let set: CacheConfig = toml::from_str( - "duration = \"30s\" -latency_default = \"20s\"", - ) - .expect("deserialize Some"); + let set: CacheConfig = toml::from_str(r#"duration = "30s""#).expect("deserialize Some"); assert_eq!(set.duration, Some(std::time::Duration::from_secs(30))); - assert_eq!(set.latency_default, Some(std::time::Duration::from_secs(20))); let unset: CacheConfig = toml::from_str("").expect("deserialize absent"); assert_eq!(unset.duration, None); - assert_eq!(unset.latency_default, None); let encoded = toml::to_string(&set).expect("serialize Some"); let decoded: CacheConfig = toml::from_str(&encoded).expect("re-deserialize"); assert_eq!(decoded.duration, set.duration, "round trip must preserve the duration"); - assert_eq!( - decoded.latency_default, set.latency_default, - "round trip must preserve the latency default" - ); toml::to_string(&unset).expect("serialize None"); } diff --git a/rs/moq-rtc/CHANGELOG.md b/rs/moq-rtc/CHANGELOG.md index 8cb0d4e6449..d7763737355 100644 --- a/rs/moq-rtc/CHANGELOG.md +++ b/rs/moq-rtc/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.3](https://github.com/moq-dev/moq/compare/moq-rtc-v0.2.2...moq-rtc-v0.2.3) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) + ## [0.2.2](https://github.com/moq-dev/moq/compare/moq-rtc-v0.2.1...moq-rtc-v0.2.2) - 2026-07-25 ### Added diff --git a/rs/moq-rtc/Cargo.toml b/rs/moq-rtc/Cargo.toml index 6833b3aacf9..a9f3c359779 100644 --- a/rs/moq-rtc/Cargo.toml +++ b/rs/moq-rtc/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.2.2" +version = "0.2.3" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-rtmp/CHANGELOG.md b/rs/moq-rtmp/CHANGELOG.md index 1def14ccec9..083aacfd7eb 100644 --- a/rs/moq-rtmp/CHANGELOG.md +++ b/rs/moq-rtmp/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.4](https://github.com/moq-dev/moq/compare/moq-rtmp-v0.2.3...moq-rtmp-v0.2.4) - 2026-08-06 + +### Added + +- fail-fast retries: jittered backoff bounded by time, not error type ([#2647](https://github.com/moq-dev/moq/pull/2647)) + ## [0.2.3](https://github.com/moq-dev/moq/compare/moq-rtmp-v0.2.2...moq-rtmp-v0.2.3) - 2026-08-05 ### Fixed diff --git a/rs/moq-rtmp/Cargo.toml b/rs/moq-rtmp/Cargo.toml index 7d3a88d85bb..dc5acb3bed8 100644 --- a/rs/moq-rtmp/Cargo.toml +++ b/rs/moq-rtmp/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/moq-dev/moq" # src/rml/LICENSE and applies to that module regardless of which option you pick. license = "MIT OR Apache-2.0" -version = "0.2.3" +version = "0.2.4" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-transcode/CHANGELOG.md b/rs/moq-transcode/CHANGELOG.md index 41118633bb0..d5ad2863147 100644 --- a/rs/moq-transcode/CHANGELOG.md +++ b/rs/moq-transcode/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.8](https://github.com/moq-dev/moq/compare/moq-transcode-v0.0.7...moq-transcode-v0.0.8) - 2026-08-06 + +### Fixed + +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.0.7](https://github.com/moq-dev/moq/compare/moq-transcode-v0.0.6...moq-transcode-v0.0.7) - 2026-08-05 ### Added diff --git a/rs/moq-transcode/Cargo.toml b/rs/moq-transcode/Cargo.toml index 795a6a6730d..e59caf3e4e6 100644 --- a/rs/moq-transcode/Cargo.toml +++ b/rs/moq-transcode/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.0.7" +version = "0.0.8" edition = "2024" rust-version.workspace = true diff --git a/rs/moq-video/CHANGELOG.md b/rs/moq-video/CHANGELOG.md index 10cdc2a5416..cc2ff754177 100644 --- a/rs/moq-video/CHANGELOG.md +++ b/rs/moq-video/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.14](https://github.com/moq-dev/moq/compare/moq-video-v0.0.13...moq-video-v0.0.14) - 2026-08-06 + +### Added + +- *(hang)* declare a configurable 30s retention on media tracks, and fix relayed cache misses ([#2615](https://github.com/moq-dev/moq/pull/2615)) + +### Fixed + +- *(libmoq)* unbreak the Linux C link list, and make VAAPI opt-in ([#2669](https://github.com/moq-dev/moq/pull/2669)) + ## [0.0.13](https://github.com/moq-dev/moq/compare/moq-video-v0.0.12...moq-video-v0.0.13) - 2026-08-05 ### Added diff --git a/rs/moq-video/Cargo.toml b/rs/moq-video/Cargo.toml index be8ce26d738..42d40291f1b 100644 --- a/rs/moq-video/Cargo.toml +++ b/rs/moq-video/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley "] repository = "https://github.com/moq-dev/moq" license = "MIT OR Apache-2.0" -version = "0.0.13" +version = "0.0.14" edition = "2024" rust-version.workspace = true