TimedMetadataCue

data class TimedMetadataCue(val type: String, val startTime: Double, val endTime: Double? = null, val frames: Map<String, String> = emptyMap(), val description: String? = null, val mimeType: String? = null, val id: String? = null, val schemeIdUri: String? = null, val messageData: String? = null, val raw: ByteArray? = null, val phase: String? = null)

A single in-stream timed-metadata marker surfaced by a content player — the Kotlin mirror of the TS TimedMetadataCue. Carried as the payload of a TIMEDMETADATA event; in SSAI mode the SDK forwards it to the IMA DAI stream manager for ad tracking.

Constructors

Link copied to clipboard
constructor(type: String, startTime: Double, endTime: Double? = null, frames: Map<String, String> = emptyMap(), description: String? = null, mimeType: String? = null, id: String? = null, schemeIdUri: String? = null, messageData: String? = null, raw: ByteArray? = null, phase: String? = null)

Properties

Link copied to clipboard

ID3 frame description/info (e.g. the GEOB frame description — Anvatos for Anvato break-signaling cues), when the platform parser surfaces it.

Link copied to clipboard

Optional end/active-until time, in seconds.

Link copied to clipboard

Parsed ID3 text frames keyed by frame id (e.g. TXXX).

Link copied to clipboard
val id: String?

Marker identifier (EXT-X-DATERANGE ID / emsg id).

Link copied to clipboard

Free-form message payload: emsg message data, daterange client attribute, or the decoded (UTF-8) data of an ID3 GEOB frame.

Link copied to clipboard

ID3 GEOB MIME type (e.g. application/json), when surfaced.

Link copied to clipboard

WHEN this delivery happened, relative to the cue's own startTime: "parsed" when the carrying segment was demuxed (early — 20-30s on hls.js against the live NFL feed, which is what gives a break its preload window), "presented" when the playhead has just reached it (frame-accurate — p90 under 10ms, ADS-285).

Link copied to clipboard

Undecoded marker bytes, when the platform surfaces them — the TS raw. For DASH "ID3 in emsg" carriage this is the complete raw ID3v2 tag the emsg message data contains; the core unwraps its GEOB frame itself.

Link copied to clipboard

Scheme URI (EXT-X-DATERANGE scheme / emsg schemeIdUri).

Link copied to clipboard

Presentation time of the marker, in seconds.

Link copied to clipboard

Marker source type: id3, daterange, or emsg.