Generate UUID in case the user-defined nativeId
is empty.
Optional
config: SourceConfigOptional
Readonly
configThe configuration object used to initialize this instance.
Whether the native Source object has been disposed.
Whether the native Source object has been created.
Readonly
nativeOptionally user-defined string id
for the native instance, or UUIDv4.
The remote control config for this source. This is only supported on iOS.
Destroys the native Source and releases all of its allocated resources.
The duration of the source in seconds if it’s a VoD or INFINITY
if it’s a live stream.
Default value is 0
if the duration is not available or not known.
The time in seconds for which to retrieve the thumbnail.
a Thumbnail
for the specified playback time if available.
Supported thumbnail formats are:
WebVtt
configured via SourceConfig.thumbnailTrack, on all supported platformsImage Media Playlist
in the multivariant playlist, Android-onlyImage Adaptation Set
as specified in DASH-IF IOP, Android-only
If a WebVtt
thumbnail track is provided, any potential in-manifest thumbnails are ignored on Android.Allocates the native Source instance and its resources natively.
Whether the source is currently active in a player (i.e. playing back or paused). Only one source can be active in the same player instance at any time.
Whether the source is currently attached to a player instance.
The current LoadingState
of the source.
Metadata for the currently loaded source.
Set metadata for the currently loaded source.
Setting the metadata to null
clears the metadata object in native source.
metadata to be set.
Represents audio and video content that can be loaded into a player.