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

constants.js 810B

12345678910111213141516171819202122232425262728293031323334353637
  1. // @flow
  2. /**
  3. * The Google API scopes to request access to for streaming.
  4. *
  5. * @type {Array<string>}
  6. */
  7. export const GOOGLE_API_SCOPES = [
  8. 'https://www.googleapis.com/auth/youtube.readonly'
  9. ];
  10. /**
  11. * The identifier of the sound to be played when a recording or live streaming
  12. * session is stopped.
  13. *
  14. * @type {string}
  15. */
  16. export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
  17. /**
  18. * The identifier of the sound to be played when a recording or live streaming
  19. * session is started.
  20. *
  21. * @type {string}
  22. */
  23. export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
  24. /**
  25. * Expected supported recording types. JIBRI is known to support live streaming
  26. * whereas JIRECON is for recording.
  27. *
  28. * @type {Object}
  29. */
  30. export const RECORDING_TYPES = {
  31. JIBRI: 'jibri',
  32. JIRECON: 'jirecon'
  33. };