Skip to content

Variable: DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS ​

const DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS: 2000 = 2000

Default for MOQtailClientOptions.trackAliasResolutionTimeoutMs: how long a data stream waits for the control message that establishes its track alias.

A subscription's data streams and the SUBSCRIBE_OK naming their alias travel on separate streams, so nothing orders them; the data can arrive first. Waiting costs a stalled reader, giving up costs the whole subgroup, so the wait is generous.