Package com.brightcove.player.display
Interface ExoPlayerVideoDisplayComponent.InfoListener
- 
- Enclosing class:
- ExoPlayerVideoDisplayComponent
 
 public static interface ExoPlayerVideoDisplayComponent.InfoListenerA listener for debugging information.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidonAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, java.lang.String decoderName, long initializationDurationMs)voidonAudioFormatEnabled(com.google.android.exoplayer2.Format format, int reason, long mediaTimeMs)Called when an Audio Format is enabled.voidonBandwidthSample(int elapsedMs, long bytes, long bitrateEstimate)Called periodically to indicate that bytes have been transferred or the estimated bitrate has changed.default voidonDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, int trackType, java.lang.String decoderName, long initializationDurationMs)default voidonDecoderInitialized(java.lang.String decoderName, long initializedTimestampMs, long initializationDurationMs)voidonDroppedFrames(int count, long elapsed)Deprecated.voidonDroppedFrames(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, int droppedFrames, long elapsedMs)Called when frames are dropped.voidonLoadCompleted(int trackType, long bytesLoaded, int dataType, int reason, com.google.android.exoplayer2.Format format, long mediaStartTimeMs, long mediaEndTimeMs, long elapsedRealtimeMs, long loadDurationMs)Called when load has completed.voidonLoadStarted(int trackType, int dataType, int reason, com.google.android.exoplayer2.Format format, long mediaStartTimeMs, long mediaEndTimeMs)Called when a load is started.voidonVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, java.lang.String decoderName, long initializationDurationMs)voidonVideoFormatEnabled(com.google.android.exoplayer2.Format format, int reason, long mediaTimeMs)Called when a Video Format is enabled.
 
- 
- 
- 
Method Detail- 
onVideoFormatEnabledvoid onVideoFormatEnabled(com.google.android.exoplayer2.Format format, int reason, long mediaTimeMs)Called when a Video Format is enabled.- Parameters:
- format- the- Formatretrieved from ExoPlayer.
- reason- One of the- C- SELECTION_REASON_*.
- mediaTimeMs- The start time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period.
 
 - 
onAudioFormatEnabledvoid onAudioFormatEnabled(com.google.android.exoplayer2.Format format, int reason, long mediaTimeMs)Called when an Audio Format is enabled.- Parameters:
- format- the- Formatretrieved from ExoPlayer.
- reason- One of the- C- SELECTION_REASON_*.
- mediaTimeMs- The start time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period.
 
 - 
onDroppedFramesvoid onDroppedFrames(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, int droppedFrames, long elapsedMs)Called when frames are dropped.- Parameters:
- eventTime- Contains details of the event.
- droppedFrames- number of frames dropped.
- elapsedMs- The duration in milliseconds over which the frames were dropped. This duration is timed from when the renderer was started or from when dropped frames were last reported (whichever was more recent), and not from when the first of the reported drops occurred.
 
 - 
onDroppedFrames@Deprecated void onDroppedFrames(int count, long elapsed)Deprecated.
 - 
onBandwidthSamplevoid onBandwidthSample(int elapsedMs, long bytes, long bitrateEstimate)Called periodically to indicate that bytes have been transferred or the estimated bitrate has changed.- Parameters:
- elapsedMs- The time taken to transfer- bytesTransferred, in milliseconds.
- bytes- The number of bytes transferred since the last callback.
- bitrateEstimate- The estimated bitrate in bits/sec.
 
 - 
onLoadStartedvoid onLoadStarted(int trackType, int dataType, int reason, com.google.android.exoplayer2.Format format, long mediaStartTimeMs, long mediaEndTimeMs)Called when a load is started.- Parameters:
- trackType- One of the- C- TRACK_TYPE_*constants.
- dataType- One of the- C- DATA_TYPE_*constants.
- reason- One of the- C- SELECTION_REASON_*constants.
- format- the- Formatretrieved from ExoPlayer.
- mediaStartTimeMs- The start time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period.
- mediaEndTimeMs- The end time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period or the end time is unknown.
 
 - 
onLoadCompletedvoid onLoadCompleted(int trackType, long bytesLoaded, int dataType, int reason, com.google.android.exoplayer2.Format format, long mediaStartTimeMs, long mediaEndTimeMs, long elapsedRealtimeMs, long loadDurationMs)Called when load has completed.- Parameters:
- trackType- One of the- C- TRACK_TYPE_*constants.
- bytesLoaded- The number of bytes that were loaded up to the event time.
- dataType- One of the- C- DATA_TYPE_*constants.
- reason- One of the- C- SELECTION_REASON_*constants.
- format- the- Formatretrieved from ExoPlayer.
- mediaStartTimeMs- The start time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period.
- mediaEndTimeMs- The end time of the media, or- C.TIME_UNSETif the data does not belong to a specific media period or the end time is unknown.
- elapsedRealtimeMs- The value of- SystemClock.elapsedRealtime()at the time of the load event.
- loadDurationMs- The duration of the load up to the event time.
 
 - 
onDecoderInitialized@Deprecated default void onDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, int trackType, java.lang.String decoderName, long initializationDurationMs)
 - 
onDecoderInitialized@Deprecated default void onDecoderInitialized(java.lang.String decoderName, long initializedTimestampMs, long initializationDurationMs)
 - 
onAudioDecoderInitializedvoid onAudioDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, java.lang.String decoderName, long initializationDurationMs)
 - 
onVideoDecoderInitializedvoid onVideoDecoderInitialized(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime eventTime, java.lang.String decoderName, long initializationDurationMs)
 
- 
 
-