Skip to main content

PlayerConfiguration

The player configuration.

See

Player.open

Properties

autoPlay

autoPlay: boolean;

Set to true for playing the stream as soon as it is loaded.


drm

drm?: DrmConfiguration;

The DRM configuration.


remoteTextTracks

remoteTextTracks?: [RemoteTextTrack];

The side-loaded text tracks. Use Player.getTrackManager to select a text track.


remoteThumbnailTracks

remoteThumbnailTracks?: [RemoteThumbnailTrack];

The side-loaded thumbnail tracks. Use the react-native-prestoplay-thumbnails plugin to display thumbnails.


source

source: Source;

The playback source.


startTimeMs

startTimeMs?: number;

The start time of the stream in milliseconds.