| Package | com.akamai.display |
| Class | public class AkamaiVideoSurface |
| Inheritance | AkamaiVideoSurface org.osmf.media.videoClasses.VideoSurface |
| Property | Defined By | ||
|---|---|---|---|
| stageVideoInstanceCount : int [read-only]
The total number of StageVideo instances. | AkamaiVideoSurface | ||
| stageVideoInUse : Boolean [read-only]
Indicates if the current video surface is using StageVideo. | AkamaiVideoSurface | ||
| stageVideoInUseCount : int [read-only]
The number of StageVideo instances that are being currently used. | AkamaiVideoSurface | ||
| status : String [read-only]
Indicates whether the video is being rendered (decoded and displayed) by hardware or software, or not at all
| AkamaiVideoSurface | ||
| videoCompositingStatus : String [read-only]
Indicates whether the video is being rendered by hardware or software
| AkamaiVideoSurface | ||
| videoDecodingStatus : String [read-only]
Indicates whether the video is being decoded by hardware or software
| AkamaiVideoSurface | ||
| Method | Defined By | ||
|---|---|---|---|
AkamaiVideoSurface(useStageVideo:Boolean = true, createVideo:Function = null)
Default constructor. | AkamaiVideoSurface | ||
enterFullscreen():void
Will put the Stage into fullscreen mode and will maintain aspect ratio. | AkamaiVideoSurface | ||
exitFullscreen():void
Will exit fullscreen mode and will return the video to the size it was before fullscreen was entered. | AkamaiVideoSurface | ||
| stageVideoInstanceCount | property |
stageVideoInstanceCount:int [read-only] The total number of StageVideo instances.
public function get stageVideoInstanceCount():int| stageVideoInUse | property |
stageVideoInUse:Boolean [read-only] Indicates if the current video surface is using StageVideo.
public function get stageVideoInUse():Boolean| stageVideoInUseCount | property |
stageVideoInUseCount:int [read-only] The number of StageVideo instances that are being currently used.
public function get stageVideoInUseCount():int| status | property |
status:String [read-only] Indicates whether the video is being rendered (decoded and displayed) by hardware or software, or not at all
public function get status():String| videoCompositingStatus | property |
videoCompositingStatus:String [read-only] Indicates whether the video is being rendered by hardware or software
public function get videoCompositingStatus():String| videoDecodingStatus | property |
videoDecodingStatus:String [read-only] Indicates whether the video is being decoded by hardware or software
public function get videoDecodingStatus():String| AkamaiVideoSurface | () | Constructor |
public function AkamaiVideoSurface(useStageVideo:Boolean = true, createVideo:Function = null)Default constructor.
ParametersuseStageVideo:Boolean (default = true) — - Set to false to use the non-accelerated video object.
| |
createVideo:Function (default = null) |
| enterFullscreen | () | method |
public function enterFullscreen():voidWill put the Stage into fullscreen mode and will maintain aspect ratio.
| exitFullscreen | () | method |
public function exitFullscreen():voidWill exit fullscreen mode and will return the video to the size it was before fullscreen was entered.