com.adobe.mediacore.qos.metrics
Class PlaybackMetrics

java.lang.Object
  extended by com.adobe.mediacore.qos.metrics.PlaybackMetrics

public abstract class PlaybackMetrics
extends Object


Field Summary
protected  long _bitrate
           
protected  TimeRange _bufferedRange
           
protected  long _bufferLength
           
protected  long _bufferTime
           
protected  long _droppedFramesCount
           
protected  float _frameRate
           
protected  TimeRange _playbackRange
           
protected  TimeRange _seekableRange
           
protected  long _time
           
 
Constructor Summary
PlaybackMetrics()
           
 
Method Summary
protected abstract  void doUpdate()
           
 long getBitrate()
           
 TimeRange getBufferedRange()
           
 long getBufferLength()
           
 long getBufferTime()
           
 long getDroppedFramesCount()
           
 float getFrameRate()
           
 TimeRange getPlaybackRange()
           
 TimeRange getSeekableRange()
           
 long getTime()
           
 void reset()
          Resets the playback information.
 void update()
          Updates the playback information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_time

protected long _time

_playbackRange

protected TimeRange _playbackRange

_seekableRange

protected TimeRange _seekableRange

_bufferedRange

protected TimeRange _bufferedRange

_frameRate

protected float _frameRate

_droppedFramesCount

protected long _droppedFramesCount

_bitrate

protected long _bitrate

_bufferTime

protected long _bufferTime

_bufferLength

protected long _bufferLength
Constructor Detail

PlaybackMetrics

public PlaybackMetrics()
Method Detail

update

public void update()
Updates the playback information.


doUpdate

protected abstract void doUpdate()

reset

public void reset()
Resets the playback information.


getTime

public long getTime()

getPlaybackRange

public TimeRange getPlaybackRange()

getSeekableRange

public TimeRange getSeekableRange()

getBufferedRange

public TimeRange getBufferedRange()

getFrameRate

public float getFrameRate()

getDroppedFramesCount

public long getDroppedFramesCount()

getBitrate

public long getBitrate()

getBufferTime

public long getBufferTime()

getBufferLength

public long getBufferLength()