CS3IPlayer
Types
Link copied to clipboard
Link copied to clipboard
data class MediaItemSlice(val mediaItem: <Error class: unknown class>, val durationUs: Long, val drm: CS3IPlayer.DrmMetadata? = null)
This is a way to combine the MediaItem and its duration for the concatenating MediaSource.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Original video aspect ratio used for PiP mode
Link copied to clipboard
Link copied to clipboard
Current player duration in milliseconds
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Current player position in milliseconds
Link copied to clipboard
Link copied to clipboard
Get the current subtitle cues, for use with syncing
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun initCallbacks(eventHandler: (PlayerEvent) -> Unit, requestedListeningPercentages: List<Int>?)
Link copied to clipboard
fun initSubtitles(subView: <Error class: unknown class>?, subHolder: FrameLayout?, style: SaveCaptionStyle?)
Link copied to clipboard
open override fun loadPlayer(context: Context, sameEpisode: Boolean, link: ExtractorLink?, data: ExtractorUri?, startPosition: Long?, subtitles: Set<SubtitleData>, subtitle: SubtitleData?, autoPlay: Boolean?, preview: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If no parameters are set it'll default to no set size, Specifying the id allows for track overrides to force the player to pick the quality.
Link copied to clipboard
Link copied to clipboard
If no trackLanguage is set it'll default to first track. Specifying the id allows for track overrides as the language can be identical.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard