moq-wasm
    Preparing search index...

    Class Mp4Broadcast

    Publishes the samples of an MP4 file with crates/broadcast: the same catalog, LOC and CMAF tracks, media timeline and FETCH cache as live-ingest. The page paces the samples; the broadcast adds no pacing of its own. Created with Session.mp4Broadcast; it publishes until that session closes.

    Index
    • Returns void

    • Resolves once the namespace is announced (PUBLISH_NAMESPACE).

      Returns Promise<void>

    • Returns void

    • pts_micros counts from the start of the broadcast, as for video.

      Parameters

      • data: Uint8Array
      • pts_micros: number

      Returns void

    • data is Annex-B; pts_micros and dts_micros count from the start of the broadcast and must not run backwards across a loop.

      Parameters

      • data: Uint8Array
      • is_keyframe: boolean
      • pts_micros: number
      • dts_micros: number

      Returns void

    • The open group streams and those that finished within the last 5 seconds.

      Returns PublishedStream[]