No Description

types.js 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /**
  4. * AgoraViewMode
  5. * @mode hidden Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
  6. * @mode FIT Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black.
  7. */
  8. var AgoraViewMode;
  9. (function (AgoraViewMode) {
  10. AgoraViewMode[AgoraViewMode["HIDDEN"] = 1] = "HIDDEN";
  11. AgoraViewMode[AgoraViewMode["FIT"] = 2] = "FIT";
  12. })(AgoraViewMode = exports.AgoraViewMode || (exports.AgoraViewMode = {}));
  13. var VideoCodecProfile;
  14. (function (VideoCodecProfile) {
  15. VideoCodecProfile[VideoCodecProfile["BASELINE"] = 66] = "BASELINE";
  16. VideoCodecProfile[VideoCodecProfile["MAIN"] = 77] = "MAIN";
  17. VideoCodecProfile[VideoCodecProfile["HIGH"] = 100] = "HIGH";
  18. })(VideoCodecProfile = exports.VideoCodecProfile || (exports.VideoCodecProfile = {}));
  19. var AudioCodecProfile;
  20. (function (AudioCodecProfile) {
  21. AudioCodecProfile[AudioCodecProfile["LC_AAC"] = 0] = "LC_AAC";
  22. AudioCodecProfile[AudioCodecProfile["HE_AAC"] = 1] = "HE_AAC";
  23. })(AudioCodecProfile = exports.AudioCodecProfile || (exports.AudioCodecProfile = {}));
  24. var AudioSampleRate;
  25. (function (AudioSampleRate) {
  26. AudioSampleRate[AudioSampleRate["TYPE_32000"] = 32000] = "TYPE_32000";
  27. AudioSampleRate[AudioSampleRate["TYPE_44100"] = 44100] = "TYPE_44100";
  28. AudioSampleRate[AudioSampleRate["TYPE_48000"] = 48000] = "TYPE_48000";
  29. })(AudioSampleRate = exports.AudioSampleRate || (exports.AudioSampleRate = {}));
  30. /**
  31. * AgoraChannelStereo
  32. * @note Agora’s self-defined audio channel type. We recommend choosing ONE or TWO. Special players are required if you choose TRHEE, FOUR or FIVE:
  33. */
  34. var AudioChannelStereo;
  35. (function (AudioChannelStereo) {
  36. AudioChannelStereo[AudioChannelStereo["ONE"] = 1] = "ONE";
  37. AudioChannelStereo[AudioChannelStereo["TWO"] = 2] = "TWO";
  38. AudioChannelStereo[AudioChannelStereo["TRHEE"] = 3] = "TRHEE";
  39. AudioChannelStereo[AudioChannelStereo["FOUR"] = 4] = "FOUR";
  40. AudioChannelStereo[AudioChannelStereo["FIVE"] = 5] = "FIVE";
  41. })(AudioChannelStereo = exports.AudioChannelStereo || (exports.AudioChannelStereo = {}));
  42. //# sourceMappingURL=types.js.map