AVSegmentedSource.hx 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package flash.media;
  2. extern class AVSegmentedSource extends AVSource {
  3. var cookieHeader(null,default) : String;
  4. var masterUpdateInterval(null,default) : Int;
  5. var networkingParams : AVNetworkingParams;
  6. var useRedirectedUrl(null,default) : Bool;
  7. function new() : Void;
  8. function clearPauseAtPeriodEnd(periodIndex : Int) : AVResult;
  9. function getABRProfileCount(periodIndex : Int) : Int;
  10. function getABRProfileInfoAtIndex(periodIndex : Int, abrProfileIndex : Int) : AVABRProfileInfo;
  11. function getBackgroundPeriodInfo(periodIndex : Int) : AVPeriodInfo;
  12. function getBackgroundTimeline() : AVTimeline;
  13. function getCuePoint(periodIndex : Int, cuePointIndex : Int) : AVCuePoint;
  14. function getPerceivedBandwidth() : UInt;
  15. function getPeriodInfo(periodIndex : Int) : AVPeriodInfo;
  16. function getSubscribedTag(periodIndex : Int, tagDataIndex : Int) : AVTagData;
  17. function getSubscribedTagForBackgroundManifest(periodIndex : Int, tagDataIndex : Int) : AVTagData;
  18. function getTimeline() : AVTimeline;
  19. function getTrackCount(periodIndex : Int, payloadType : String) : Int;
  20. function getTrackInfo(periodIndex : Int, payloadType : String, trackIndex : Int) : AVTrackInfo;
  21. function insertByLocalTime(periodIndex : Int, insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
  22. function insertByVirtualTime(insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
  23. function load(url : String, ?containerType : String, userData : Int = 0) : AVResult;
  24. function loadManifest(uri : String, userData : Int = 0, ?containerType : String) : AVResult;
  25. function loadWithBackgroundManifest(url : String, containerType : String, userData : Int, backgroundManifest : String) : AVResult;
  26. function releaseManifest(handle : Int) : AVResult;
  27. function removeByLocalTime(periodIndex : Int, timeStart : Float, timeEnd : Float, replaceWithMainMedia : Bool) : AVResult;
  28. function removeByVirtualTime(virtualTimeStart : Float, virtualTimeEnd : Float) : AVResult;
  29. function selectTrack(periodIndex : Int, payloadType : String, trackIndex : Int) : AVResult;
  30. function selectTrackString(periodIndex : Int, payloadType : String, trackString : String) : AVResult;
  31. function setABRParameters(params : AVABRParameters) : AVResult;
  32. function setBandwidth(bitsPerSecond : Int) : AVResult;
  33. function setCuePointTags(tagArray : Array<Dynamic>) : AVResult;
  34. function setHoldAt(time : Float) : AVResult;
  35. function setPauseAtPeriodEnd(periodIndex : Int, userData : Int = 0) : AVResult;
  36. function setSubscribedTags(tagArray : Array<Dynamic>) : AVResult;
  37. function setSubscribedTagsForBackgroundManifest(tagArray : Array<Dynamic>) : AVResult;
  38. static var AUDIO : String;
  39. static var AUDIO_DESCRIPTION : String;
  40. static var AUDIO_LANGUAGE : String;
  41. static var AUDIO_PID : String;
  42. static var DASH : String;
  43. static var DATA : String;
  44. static var DATA_DESCRIPTION : String;
  45. static var HLS : String;
  46. static var VIDEO : String;
  47. static var VIDEO_DESCRIPTION : String;
  48. }