|
| void | init (OoyalaPlayer parent, Set< Stream > streams) |
| | Init the player. More...
|
| |
| SimpleExoPlayer | getPlayer () |
| | To get access to player instance. More...
|
| |
| void | reset () |
| | This is called when plugin should be reset. More...
|
| |
| void | suspend () |
| | This is called when plugin should be suspended. More...
|
| |
| void | suspend (boolean onlyRemoveView) |
| | This is called when plugin should be suspended. More...
|
| |
| void | resume () |
| | This is called when plugin should be resumed. More...
|
| |
| void | resume (int millisToResume, OoyalaPlayer.State stateToResume) |
| |
| void | destroy () |
| | This is called when plugin should be destroyed. More...
|
| |
| void | pause () |
| | This is called when pause is clicked. More...
|
| |
| void | play () |
| | This is called when play is clicked. More...
|
| |
| void | stop () |
| | This is called when stop is clicked. More...
|
| |
| int | currentTime () |
| |
| int | duration () |
| |
| int | buffer () |
| |
| void | seekToTime (int timeInMillis) |
| | Move the playhead to a new location in seconds with millisecond accuracy. More...
|
| |
| int | livePlayheadPercentage () |
| |
| void | seekToPercentLive (float percent) |
| | Seek to the given percent position of scrubber for live stream playback. More...
|
| |
| void | setClosedCaptionsLanguage (String language) |
| | Set the displayed closed captions language. More...
|
| |
| boolean | isLiveClosedCaptionsAvailable () |
| |
| boolean | isPlaying () |
| |
| boolean | seekable () |
| |
| void | setVolume (float volume) |
| | Set the volume for the player. More...
|
| |
| void | onLoadingChanged (boolean isLoading) |
| |
| void | onRepeatModeChanged (int repeatMode) |
| |
| void | onTimelineChanged (Timeline timeline, Object manifest, int reason) |
| |
| void | onTracksChanged (TrackGroupArray trackGroups, TrackSelectionArray trackSelections) |
| |
| void | onPlayerError (ExoPlaybackException error) |
| |
| void | onPlaybackParametersChanged (PlaybackParameters playbackParameters) |
| |
| void | onShuffleModeEnabledChanged (boolean shuffleModeEnabled) |
| |
| void | onPositionDiscontinuity (int reason) |
| |
| void | onSeekProcessed () |
| |
| void | onMediaPeriodCreated (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId) |
| |
| void | onMediaPeriodReleased (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId) |
| |
| void | onLoadStarted (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) |
| |
| void | onLoadCompleted (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) |
| |
| void | onLoadCanceled (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) |
| |
| void | onLoadError (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) |
| |
| void | onReadingStarted (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId) |
| |
| void | onUpstreamDiscarded (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId, MediaLoadData mediaLoadData) |
| |
| void | onDownstreamFormatChanged (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, MediaLoadData mediaLoadData) |
| |
| void | onCues (List< Cue > cues) |
| |
| void | onSeekCompleteCallback () |
| |
| void | onDrmError (OoyalaException exception) |
| |
| boolean | isMultiAudioAvailable () |
| |
| void | setAudioTrack (String trackTitle) |
| | Establish the audio track is obtained from Ooyala Skin. More...
|
| |
| void | setAudioTrack (AudioTrack track) |
| | Set the audio track. More...
|
| |
| List< AudioTrack > | getAvailableAudioTracks () |
| |
| AudioTrack | getCurrentAudioTrack () |
| |
| State | getState () |
| | This returns the player state. More...
|
| |
| OoyalaException | getError () |
| |
| void | setError (OoyalaException error) |
| |
| View | getView () |
| |
| void | setParent (OoyalaPlayer parent) |
| |
| OoyalaPlayer | getParent () |
| |
| int | getBufferPercentage () |
| |
| SeekStyle | getSeekStyle () |
| |
| void | resume (int timeInMilliSecond, State stateToResume) |
| | This is called when plugin should be resumed. More...
|
| |
| void | configurationChanged (Configuration newConfig) |
| | This method is called when the device configuration changes while your component is running. More...
|
| |
| PlayerType | getPlayerType () |
| | Get the player's type. More...
|
| |
| void | createBitmapScreenshot (final PlayerBitmapListener playerBitmapListener) |
| | Create the bitmap screenshot of the current video frame. More...
|
| |
BaseExoPlayer is based on ExoPlayer 2.