- ObservablePlayerControl - Class in com.google.android.libraries.mediaframework.exoplayerextensions
-
Extends the PlayerControl
class, which is responsible
for controlling playback (ex play, pause, seek, get duration, get elapsed time) by adding the
ability to make a list of callbacks which respond when the player is paused or played.
- ObservablePlayerControl(ExoPlayer) - Constructor for class com.google.android.libraries.mediaframework.exoplayerextensions.ObservablePlayerControl
-
- onAudioFormatEnabled(Format, int, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to a change in the audio format.
- onAudioTrackInitializationError(AudioTrack.InitializationException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error in initializing the audio track.
- onAudioTrackInitializationError(AudioTrack.InitializationException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onAudioTrackUnderrun(int, long, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error when running the audio track.
- onAudioTrackUnderrun(int, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onAudioTrackWriteError(AudioTrack.WriteException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error when writing the audio track.
- onAudioTrackWriteError(AudioTrack.WriteException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onAvailableRangeChanged(int, TimeRange) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
- onAvailableRangeChanged(int, TimeRange) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onBandwidthSample(int, long, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to a new estimate of the bandwidth.
- onBandwidthSample(int, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onConsumptionError(int, IOException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error when consuming video data from a source.
- onCreate(Bundle) - Method in class com.google.googlemediaframeworkdemo.demo.MainActivity
-
Set up the view and populate the list of the videos.
- onCryptoError(MediaCodec.CryptoException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error in setting up security of video.
- onCryptoError(MediaCodec.CryptoException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onCues(List<Cue>) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.CaptionListener
-
- onCues(List<Cue>) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDecoderInitializationError(MediaCodecTrackRenderer.DecoderInitializationException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error in initializing the decoder.
- onDecoderInitializationError(MediaCodecTrackRenderer.DecoderInitializationException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDecoderInitialized(String, long, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
- onDecoderInitialized(String, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDestroy() - Method in class com.google.googlemediaframeworkdemo.demo.MainActivity
-
Release the video player when the activity is destroyed.
- onDownstreamFormatChanged(int, Format, int, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDrawnToSurface(Surface) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDrmKeysLoaded() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDrmSessionManagerError(Exception) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error in DRM setup.
- onDrmSessionManagerError(Exception) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onDroppedFrames(int, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to frame drops.
- onDroppedFrames(int, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onError(Exception) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.PlaybackListener
-
- onGoToFullscreen() - Method in interface com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer.FullscreenCallback
-
When triggered, the activity should hide any additional views.
- onGoToFullscreen() - Method in class com.google.googlemediaframeworkdemo.demo.MainActivity
-
When the video player goes into fullscreen, hide the video list so that the video player can
occupy the entire screen.
- onId3Metadata(List<Id3Frame>) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.Id3MetadataListener
-
- onLayerDisplayed(LayerManager) - Method in interface com.google.android.libraries.mediaframework.layeredvideo.Layer
-
Called when a Layer's view has been displayed on the screen.
- onLayerDisplayed(LayerManager) - Method in class com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer
-
- onLayerDisplayed(LayerManager) - Method in class com.google.android.libraries.mediaframework.layeredvideo.SubtitleLayer
-
- onLayerDisplayed(LayerManager) - Method in class com.google.android.libraries.mediaframework.layeredvideo.VideoSurfaceLayer
-
- onLoadCanceled(int, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onLoadCompleted(int, long, int, int, Format, long, long, long, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to a successful load of data.
- onLoadCompleted(int, long, int, int, Format, long, long, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onLoadError(int, IOException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
- onLoadError(int, IOException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onLoadStarted(int, long, int, int, Format, long, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to starting a load of data.
- onLoadStarted(int, long, int, int, Format, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onMeasure(int, int) - Method in class com.google.android.libraries.mediaframework.layeredvideo.VideoSurfaceView
-
Resize the view based on the width and height specifications.
- onMetadata(List<Id3Frame>) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onPause() - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.PlayerControlCallback
-
Respond when the player has just been paused.
- onPause() - Method in class com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer
-
Updates the play/pause button to the play icon.
- onPlay() - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.PlayerControlCallback
-
Respond when the player just started playing.
- onPlay() - Method in class com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer
-
Updates the play/pause button to the pause icon.
- onPlay() - Method in interface com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer.PlayCallback
-
- onPlayerError(ExoPlaybackException) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onPlayWhenReadyCommitted() - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onRendererInitializationError(Exception) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error in renderer initialization.
- onRenderers(TrackRenderer[], BandwidthMeter) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onRenderersError(Exception) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
Notify the listeners when an exception is thrown.
- onReturnFromFullscreen() - Method in interface com.google.android.libraries.mediaframework.layeredvideo.PlaybackControlLayer.FullscreenCallback
-
When triggered, the activity should show any views that were hidden when the player
went to fullscreen.
- onReturnFromFullscreen() - Method in class com.google.googlemediaframeworkdemo.demo.MainActivity
-
When the player returns from fullscreen, show the video list again.
- onStateChanged(boolean, int) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.PlaybackListener
-
- onText(String) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.TextListener
-
Respond to text arriving (ex subtitles, captions).
- onText(String) - Method in class com.google.android.libraries.mediaframework.layeredvideo.SubtitleLayer
-
When subtitles arrive, display them in the text view.
- onUpstreamDiscarded(int, long, long) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onUpstreamError(int, IOException) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InternalErrorListener
-
Respond to error that occurs at the source of the video.
- onVideoFormatEnabled(Format, int, long) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.InfoListener
-
Respond to a change in the format of the video.
- onVideoSizeChanged(int, int, int, float) - Method in class com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper
-
- onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.libraries.mediaframework.exoplayerextensions.ExoplayerWrapper.PlaybackListener
-