AVSegmentedSource.hx 1.6 KB

123456789101112131415161718192021222324252627
  1. package flash.media;
  2. extern class AVSegmentedSource extends AVSource {
  3. function new() : Void;
  4. function getABRProfileCount(periodIndex : Int) : Int;
  5. function getABRProfileInfoAtIndex(periodIndex : Int, abrProfileIndex : Int) : AVABRProfileInfo;
  6. function getCuePoint(periodIndex : Int, cuePointIndex : Int) : AVCuePoint;
  7. function getPeriodInfo(periodIndex : Int) : AVPeriodInfo;
  8. function getTimeline() : AVTimeline;
  9. function getTrackCount(periodIndex : Int, payloadType : String) : Int;
  10. function getTrackInfo(periodIndex : Int, payloadType : String, trackIndex : Int) : AVTrackInfo;
  11. function insertByLocalTime(periodIndex : Int, insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
  12. function insertByVirtualTime(insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
  13. function load(url : String, ?containerType : String, userData : Int = 0) : AVResult;
  14. function loadManifest(uri : String, userData : Int = 0, ?containerType : String) : AVResult;
  15. function releaseManifest(handle : Int) : AVResult;
  16. function removeByLocalTime(periodIndex : Int, timeStart : Float, timeEnd : Float) : AVResult;
  17. function removeByVirtualTime(virtualTimeStart : Float, virtualTimeEnd : Float) : AVResult;
  18. function selectTrack(periodIndex : Int, payloadType : String, trackIndex : Int) : AVResult;
  19. function setABRParameters(params : AVABRParameters) : AVResult;
  20. function setBandwidth(bitsPerSecond : Int) : AVResult;
  21. function setHoldAt(time : Float) : AVResult;
  22. static var AUDIO : String;
  23. static var DATA : String;
  24. static var HLS : String;
  25. static var VIDEO : String;
  26. }