Skip to content

Interface: SubscribeResult ​

What MOQtailClient.subscribe returns when the subscription is accepted.

Properties ​

done ​

done: Promise<PublishDone | undefined>

Resolves once the subscription, and every subscription switched from it, is over: with the last one's PUBLISH_DONE, or undefined if it ended without one. Never rejects.


requestId ​

requestId: bigint


stream ​

stream: ReadableStream<MoqtObject>


subscribeOk ​

subscribeOk: SubscribeOk

The SUBSCRIBE_OK: track alias, parameters, and track properties.