Skip to main content

Interface: SourcePlaybackInfo

Playable resource resolved from a logical source item.

Properties​

url​

url: string

Absolute or source-supported media URL.


mimeType?​

optional mimeType?: string

MIME type when it cannot be inferred reliably from the URL.


headers?​

optional headers?: Record<string, string>

HTTP headers required when requesting the media. The host forwards them to playback targets that support custom request headers; support can vary by target, so test the platforms declared compatible by the addon.


durationMs?​

optional durationMs?: number

Known media duration in milliseconds.


resumePositionMs?​

optional resumePositionMs?: number

Suggested resume position in milliseconds.