MoqInputNode class

Signature:

export declare class MoqInputNode extends SourceMediaNode

Extends: SourceMediaNode

Methods

Method Modifiers Description

closeStream(connectionIndex)

Close a specific publisher connection (listener mode only).

nudge(sourceName, programNumber, nudge)

Nudges one publisher’s (source’s) program on this input: an ABSOLUTE target offset, in milliseconds, from that source’s own timestamps, which the engine ramps to gradually. The input’s publishers share one timestamp corrector, which holds the target per source. Answered by the engine: rejects with reason "not_ready" while the source has no stream yet (retry once it has), "closed" once the node is gone, "timeout" from an engine that does not answer.

updateAuthToken(authToken)

Client mode: replace the MoQ auth token for the next (re)connect. The live session is not touched.