VideoStreamSettings.hx 895 B

12345678910111213141516171819202122
  1. package flash.media;
  2. extern class VideoStreamSettings {
  3. @:flash.property var bandwidth(get,never) : Int;
  4. @:flash.property var codec(get,never) : String;
  5. @:flash.property var fps(get,never) : Float;
  6. @:flash.property var height(get,never) : Int;
  7. @:flash.property var keyFrameInterval(get,never) : Int;
  8. @:flash.property var quality(get,never) : Int;
  9. @:flash.property var width(get,never) : Int;
  10. function new() : Void;
  11. private function get_bandwidth() : Int;
  12. private function get_codec() : String;
  13. private function get_fps() : Float;
  14. private function get_height() : Int;
  15. private function get_keyFrameInterval() : Int;
  16. private function get_quality() : Int;
  17. private function get_width() : Int;
  18. function setKeyFrameInterval(keyFrameInterval : Int) : Void;
  19. function setMode(width : Int, height : Int, fps : Float) : Void;
  20. function setQuality(bandwidth : Int, quality : Int) : Void;
  21. }