Skip to Content

Interface: SourceSelected

Metadata of the source that was selected for playback.

interface SourceSelected {    id: string;    mimetype: Mimetype;    src: string;    drmSystem?: DrmSystem;    liveEdgeOnly?: boolean;    metadata?: JoynSourceMetadata;    playbackMode?: PlaybackMode;    userTier?: UserTier;}

Properties

id

id: string

Unique identifier of the source.


mimetype

mimetype: Mimetype

MIME type of the media source (e.g. HLS, DASH, MP4).


src

src: string

URL of the media source.


drmSystem?

optional drmSystem: DrmSystem

DRM system used to protect the source, if any.


liveEdgeOnly?

optional liveEdgeOnly: boolean

When true, playback always remains at the live edge. Seeking behind the live edge is not permitted.


metadata?

optional metadata: JoynSourceMetadata

Provider-generated metadata for this source.


playbackMode?

optional playbackMode: PlaybackMode

Playback mode indicating how the content should be played.


userTier?

optional userTier: UserTier

Classification of the user’s tier for this source.

undefined means the user tier is unknown or not applicable.

Last updated on