Packagecom.brightcove.api.dtos
Classpublic class RenditionSelectionContext
InheritanceRenditionSelectionContext Inheritance Object



Public Properties
 PropertyDefined By
  bufferLength : Number
The current bufferLength value of the current stream, if any (this may be NaN on initial selection of a rendition).
RenditionSelectionContext
  bufferTime : Number
The current bufferTime value of the current stream, if any (this may be NaN on initial selection of a rendition).
RenditionSelectionContext
  currentRendition : RenditionAssetDTO
The current rendition being played at the time a new rendition could be determined, if desired.
RenditionSelectionContext
  detectedBandwidth : Number
The last detected bandwidth value, in kilobits per second.
RenditionSelectionContext
  droppedFrames : Number
The amount of dropped frames since the last dropped frames check, which occurs with FMS 3.5 and FP10.
RenditionSelectionContext
  renditions : Array
An array of RenditionAssetDTOs belonging to the video.
RenditionSelectionContext
  screenHeight : int
The current screen height, in pixels, used to display the video.
RenditionSelectionContext
  screenWidth : int
The current screen width, in pixels, used to display the video.
RenditionSelectionContext
  streamFPS : Number
The current rate in frames per second of the current stream, if any (this may be NaN on initial selection of a rendition).
RenditionSelectionContext
  timeSinceLastDroppedFramesCheck : Number
The amount of time in milliseconds since the last dropped frames check, which occurs with FMS 3.5 and FP10.
RenditionSelectionContext
  video : VideoDTO
The current video from which to select a rendition to play.
RenditionSelectionContext
Public Methods
 MethodDefined By
  
Constructor.
RenditionSelectionContext
Property Detail
bufferLengthproperty
public var bufferLength:Number

The current bufferLength value of the current stream, if any (this may be NaN on initial selection of a rendition).

bufferTimeproperty 
public var bufferTime:Number

The current bufferTime value of the current stream, if any (this may be NaN on initial selection of a rendition).

currentRenditionproperty 
public var currentRendition:RenditionAssetDTO

The current rendition being played at the time a new rendition could be determined, if desired.

detectedBandwidthproperty 
public var detectedBandwidth:Number

The last detected bandwidth value, in kilobits per second.

droppedFramesproperty 
public var droppedFrames:Number

The amount of dropped frames since the last dropped frames check, which occurs with FMS 3.5 and FP10. This may be NaN on initial selection of a rendition, or 0 if FMS 3.5 and FP10 are not used.

renditionsproperty 
public var renditions:Array

An array of RenditionAssetDTOs belonging to the video.

screenHeightproperty 
public var screenHeight:int

The current screen height, in pixels, used to display the video.

screenWidthproperty 
public var screenWidth:int

The current screen width, in pixels, used to display the video.

streamFPSproperty 
public var streamFPS:Number

The current rate in frames per second of the current stream, if any (this may be NaN on initial selection of a rendition).

timeSinceLastDroppedFramesCheckproperty 
public var timeSinceLastDroppedFramesCheck:Number

The amount of time in milliseconds since the last dropped frames check, which occurs with FMS 3.5 and FP10. This may be NaN on initial selection of a rendition, or 0 if FMS 3.5 and FP10 are not used.

videoproperty 
public var video:VideoDTO

The current video from which to select a rendition to play.

Constructor Detail
RenditionSelectionContext()Constructor
public function RenditionSelectionContext(context:Object)

Constructor.

Parameters
context:Object — context object from the player to wrap with this class.