No Description

types.js 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. ;
  14. var VideoCodecProfile;
  15. (function (VideoCodecProfile) {
  16. VideoCodecProfile[VideoCodecProfile["BASELINE"] = 66] = "BASELINE";
  17. VideoCodecProfile[VideoCodecProfile["MAIN"] = 77] = "MAIN";
  18. VideoCodecProfile[VideoCodecProfile["HIGH"] = 100] = "HIGH";
  19. })(VideoCodecProfile = exports.VideoCodecProfile || (exports.VideoCodecProfile = {}));
  20. var AudioCodecProfile;
  21. (function (AudioCodecProfile) {
  22. AudioCodecProfile[AudioCodecProfile["LC_AAC"] = 0] = "LC_AAC";
  23. AudioCodecProfile[AudioCodecProfile["HE_AAC"] = 1] = "HE_AAC";
  24. })(AudioCodecProfile = exports.AudioCodecProfile || (exports.AudioCodecProfile = {}));
  25. var AudioSampleRate;
  26. (function (AudioSampleRate) {
  27. AudioSampleRate[AudioSampleRate["TYPE_32000"] = 32000] = "TYPE_32000";
  28. AudioSampleRate[AudioSampleRate["TYPE_44100"] = 44100] = "TYPE_44100";
  29. AudioSampleRate[AudioSampleRate["TYPE_48000"] = 48000] = "TYPE_48000";
  30. })(AudioSampleRate = exports.AudioSampleRate || (exports.AudioSampleRate = {}));
  31. /**
  32. * AgoraChannelStereo
  33. * @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:
  34. */
  35. var AudioChannelStereo;
  36. (function (AudioChannelStereo) {
  37. AudioChannelStereo[AudioChannelStereo["ONE"] = 1] = "ONE";
  38. AudioChannelStereo[AudioChannelStereo["TWO"] = 2] = "TWO";
  39. AudioChannelStereo[AudioChannelStereo["TRHEE"] = 3] = "TRHEE";
  40. AudioChannelStereo[AudioChannelStereo["FOUR"] = 4] = "FOUR";
  41. AudioChannelStereo[AudioChannelStereo["FIVE"] = 5] = "FIVE";
  42. })(AudioChannelStereo = exports.AudioChannelStereo || (exports.AudioChannelStereo = {}));
  43. //# sourceMappingURL=types.js.map