Repository navigation
moq-wasm (Rust) 0.1.0
-
Breaking:
moqt::Subscriptionhas a newend: SubscriptionEndfield; code
building it with a struct literal addsend: SubscriptionEnd::default(). -
Breaking:
Subscriber::subscribe_updateand
moqt::subscribe::SubscribeUpdateOptionare removed; use
Subscription::set_priorityorend_before_group. -
Breaking: an object of a track with
Retention::For(duration)expires once
its age reachesduration, also when the track is no longer written to, so
Retention::For(Duration::ZERO)caches nothing; useRetention::NewestOnly
to keep the newest object. -
moq_wasm::roboticsruns a robot room:run_robot(session, broadcast, config)runs theRobotof the<room>/robotbroadcast, and
offer_actions(broadcast)returns aDriverthat sendsactionchunks
from an operator or policy broadcast.Robot,Driver,Command,
HoldReason,ArbiterConfig,Stateanddecode_objectare re-exported. -
New on the session (
moqt::client::Session):follow_track(namespace, track)returns aTrackFollowerthat follows a
track across the publishers that serve it.watch_tracks(prefix)returns aTrackWatchof the namespaces and
PUBLISH requests one SUBSCRIBE_NAMESPACE brings;TrackWatch::next
returnsNoneonce the session ends.PublishTrackOptions::prioritysets a track's Publisher Priority
(default 128).moqt_session().publishes_namespace(namespace)tells whether the session
publishes a namespace, andPublisher::begin_publish_subscribed_namespace
sends a namespace only on the peer's SUBSCRIBE_NAMESPACE.
-
moq_wasm::connectfails when the relay accepts the connection but sends no
SERVER_SETUP within 30 s, instead of waiting forever. -
moq_wasm::media::Catalog::parsereturnsCatalogParseError::Malformedfor
a catalog without atracksarray (draft-ietf-moq-msf-02 §5.1.4), and the
media timeline lists each group's capture time in Unix milliseconds, the
LOC Timestamp's clock (§7.1.1). -
A SUBSCRIBE to a track
MediaSource::remove_trackremoved gets
TRACK_DOES_NOT_EXISTuntil the track is published again; FETCH still
returns its cached objects. -
Memory no longer grows without bound:
Rendition::push_videodrops frames
up to the next keyframe beyond about 300 queued frames (and
MediaSource::keyframe_requestresolves),MediaSource::demand_change
takes&selfand keeps only each track's latest unread change, and a
TrackWriterthat never callsnext_subscriberno longer holds memory per
SUBSCRIBE. -
Fixed:
Subscription::donenot resolving when PUBLISH_DONE arrives right after
SUBSCRIBE_OK;- on draft-18, a PUBLISH the peer accepted and at once unsubscribed failing
with "request stream reset"; - answering a request handler twice sending both answers;
follow_trackresubscribing to a publisher that withdrew its namespace.
-
GOAWAY migration and protocol details: after a GOAWAY a subscription no
longer drops or duplicates a group, and a session closed during the
migration stays closed (#2073, #2074); NEW_GROUP_REQUEST throttling and
Prior Group ID Gap are sent correctly (#2071, #2072).