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?
optionaldrmSystem:DrmSystem
DRM system used to protect the source, if any.
liveEdgeOnly?
optionalliveEdgeOnly:boolean
When true, playback always remains at the live edge.
Seeking behind the live edge is not permitted.
metadata?
optionalmetadata:JoynSourceMetadata
Provider-generated metadata for this source.
playbackMode?
optionalplaybackMode:PlaybackMode
Playback mode indicating how the content should be played.
userTier?
optionaluserTier:UserTier
Classification of the user’s tier for this source.
undefined means the user tier is unknown or not applicable.
Last updated on