|
void | init (OoyalaPlayer parent, Set< Stream > streams) |
| Init the player. More...
|
|
View | getView () |
|
void | createSurfaceView () |
| Create and prepare main vr view. More...
|
|
void | destroy () |
| This is called when plugin should be destroyed. More...
|
|
PlayerType | getPlayerType () |
| Get the player's type. More...
|
|
void | createBitmapScreenshot (final PlayerBitmapListener playerBitmapListener) |
| Create the bitmap screenshot of the current video frame. More...
|
|
void | onPlayerStateChanged (boolean playWhenReady, int playbackState) |
|
void | onLoadError (int windowIndex, @Nullable MediaSource.MediaPeriodId mediaPeriodId, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) |
|
void | onUpstreamDiscarded (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId, MediaLoadData mediaLoadData) |
|
void | onTracksChanged (TrackGroupArray trackGroups, TrackSelectionArray trackSelections) |
|
void | setPlaybackSpeed (float speed) |
| Set playback speed. More...
|
|
void | startLicenseRequest (final Context context, final String mpdUrl, final File folder, final String widevineServerUrl, final LicenseDownloader.Listener listener, final String embedCode) |
|
void | storeLicense (byte[] bytes, File folder, LicenseDownloader.Listener listener, String embedCode) |
|
byte [] | loadLicense (File folder) |
|
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 | resume (int timeInMilliSecond, State stateToResume) |
| This is called when plugin should be resumed. 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 | 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 | onReadingStarted (int windowIndex, MediaSource.MediaPeriodId mediaPeriodId) |
|
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) |
|
void | setParent (OoyalaPlayer parent) |
|
OoyalaPlayer | getParent () |
|
int | getBufferPercentage () |
|
SeekStyle | getSeekStyle () |
|
void | configurationChanged (Configuration newConfig) |
| This method is called when the device configuration changes while your component is running. More...
|
|
ExoStreamPlayer is a realization of BaseExoPlayer for flat video content.