您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

constants.js 772B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Default last-n value used to be used for "HD" video quality setting when no channelLastN value is specified.
  3. *
  4. * @type {number}
  5. */
  6. export const DEFAULT_LAST_N = 20;
  7. /**
  8. * The supported remote video resolutions. The values are currently based on
  9. * available simulcast layers.
  10. *
  11. * @type {object}
  12. */
  13. export const VIDEO_QUALITY_LEVELS = {
  14. ULTRA: 2160,
  15. HIGH: 720,
  16. STANDARD: 360,
  17. LOW: 180,
  18. NONE: 0
  19. };
  20. /**
  21. * Maps quality level names used in the config.videoQuality.minHeightForQualityLvl to the quality level constants used
  22. * by the application.
  23. *
  24. * @type {Object}
  25. */
  26. export const CFG_LVL_TO_APP_QUALITY_LVL = {
  27. 'low': VIDEO_QUALITY_LEVELS.LOW,
  28. 'standard': VIDEO_QUALITY_LEVELS.STANDARD,
  29. 'high': VIDEO_QUALITY_LEVELS.HIGH
  30. };