moqx ships moqx v0.4.0
Added MOQX.unsubscribe/1 cancels an active track subscription by sending MOQ Unsubscribe to the relay. Idempotent and fire-and-forget; the caller subsequently receives {:moqx_track_ended, handle} when the relay acknowle…
Repository Snapshot
- Repo: dmorn/moqx
- Source: GitHub
- Language: Elixir
- Last pushed: 2026-04-15
- Milestone: Release
v0.4.0 - Published: 2026-04-12
Summary
Added MOQX.unsubscribe/1 cancels an active track subscription by sending MOQ Unsubscribe to the relay. Idempotent and fire-and-forget; the caller subsequently receives {:moqx_track_ended, handle} when the relay acknowle…
Why It Matters
dmorn/moqx is an active MOQ project, so a tagged GitHub release is a concrete milestone for implementers tracking protocol and deployment progress.
Source Excerpt
Added MOQX.unsubscribe/1 cancels an active track subscription by sending MOQ Unsubscribe to the relay. Idempotent and fire-and-forget; the caller subsequently receives {:moqx_track_ended, handle} when the relay acknowledges. Dropping a subscription handle (GC) now automatically cancels the subscription — short-lived subscribing processes no longer need to unsubscribe explicitly to free relay-side resources. {:moqx_track_ended, handle} is now emitted on publisher-side PublishDone (graceful TrackEnded / SubscriptionEnded status codes). The corresponding local subscription state is removed in the same path, fixing a small leak in active_subscriptions. MOQX.publish_catalog/2 helper to create and publish the initial "catalog" track object. MOQX.update_catalog/2 helper to publish subsequent catalog objects. Integration E2E coverage that verifies publisher-provided catalog objects are relayed…