1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
package flash.media;
extern class AVStream extends flash.events.EventDispatcher {
var backBufferLength(default,null) : Float;
var backBufferTime(null,default) : Float;
var bufferLength(default,null) : Float;
var bufferTime(null,default) : Float;
var captionStyle(null,default) : AVCaptionStyle;
var captionsEnabled : Bool;
var clientLivePoint(default,null) : Float;
var currentFPS(default,null) : Float;
var decoderType(default,null) : String;
var droppedFrames(default,null) : Int;
var frameTime(default,null) : Float;
var initialBufferTime(null,default) : Float;
var playState(default,null) : AVPlayState;
var renderType(default,null) : String;
var time(default,null) : Float;
var useHardwareDecoder : Bool;
var volume : Float;
function new(source : AVSource) : Void;
function dispose() : Void;
function fastForward(rate : Float) : AVResult;
function pause() : AVResult;
function play() : AVResult;
function resume() : Bool;
function rewind(rate : Float) : AVResult;
function seek(offset : Float, inBufferSeek : Bool = true) : AVResult;
function seekToKeyFrame(offset : Float, inBufferSeek : Bool = true) : AVResult;
function seekToLivePoint() : AVResult;
function seekToLocalTime(periodIndex : Int, time : Float) : AVResult;
function setPlaySpeed(speed : Float, reserved : Float) : Void;
function step(frames : Int) : AVResult;
static var HARDWARE : String;
static var SOFTWARE : String;
static var UNDEFINED : String;
}
|