interface RNResolvableSource {
    allowClientSideAds?: boolean;
    beaconContext?: RNBeaconContext;
    id: string;
    isLive: boolean;
    limitedSeekableRange?: RNLimitedSeekableRange;
    preferDownloaded?: boolean;
    preferredAudioTracks?: string[];
    preferredSmartSubtitles?: RNSmartSubtitleMapping[];
    preferredSubtitles?: string[];
    startAt?: number;
    watchContext?: RNWatchContext;
}

Properties

allowClientSideAds?: boolean

If true, the player will allow client side ads. If false, the player will not allow client side ads even if content API return client side ads.

beaconContext?: RNBeaconContext

Beacon context to be sent inside beacon request. If not provided, the player will use the standard beacon context.

id: string

Identifier of the VOD or Live stream.

isLive: boolean

Indicates whether the stream is VOD or Live.

limitedSeekableRange?: RNLimitedSeekableRange

Limited seekable range for the LIVE content. If not provided, the player will use the full seekable range.

preferDownloaded?: boolean

If true, the player will prefer to play the downloaded content if it exists under provided content id. If false, the player will play the content online.

preferredAudioTracks?: string[]

List of preferred audio track languages.

preferredSmartSubtitles?: RNSmartSubtitleMapping[]

List of preferred smart subtitle mappings.

preferredSubtitles?: string[]

List of preferred text track languages.

startAt?: number

Resume position for VODs and timestamps for Lives in seconds.

watchContext?: RNWatchContext

Watch context if opening the content in a playlist, season, or watchlist. Used by the player internally to fetch related playlist, season, or watchlist and populate the playlist component.