You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 753B

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