AVStream.hx 1.3 KB

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