AVStream.hx 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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 pause() : AVResult;
  22. function play() : AVResult;
  23. function resume() : Bool;
  24. function seek(offset : Float, inBufferSeek : Bool = true) : AVResult;
  25. function seekToLivePoint() : AVResult;
  26. function seekToLocalTime(periodIndex : Int, time : Float) : AVResult;
  27. function step(frames : Int) : AVResult;
  28. static var HARDWARE : String;
  29. static var SOFTWARE : String;
  30. static var UNDEFINED : String;
  31. }