Subscription
Defined in: relay-sdks/ts/packages/moq-core/dist/protocol/session.d.ts:114
A live subscription returned by MoqtSession.subscribe.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”requestId
Section titled “requestId”readonly requestId: number;Defined in: relay-sdks/ts/packages/moq-core/dist/protocol/session.d.ts:116
Request ID of the SUBSCRIBE.
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel(reason?): void;Defined in: relay-sdks/ts/packages/moq-core/dist/protocol/session.d.ts:120
Tear the subscription down. MOQT has no UNSUBSCRIBE message — teardown is the request stream’s lifecycle (§6.4.2.3).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
reason? |
unknown |
Returns
Section titled “Returns”void
update()
Section titled “update()”update(parameters): void;Defined in: relay-sdks/ts/packages/moq-core/dist/protocol/session.d.ts:118
Modify the subscription (REQUEST_UPDATE, §9.5).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
parameters |
MessageParameters |
Returns
Section titled “Returns”void