38 lines
810 B
JavaScript
38 lines
810 B
JavaScript
// @flow
|
|
|
|
/**
|
|
* The Google API scopes to request access to for streaming.
|
|
*
|
|
* @type {Array<string>}
|
|
*/
|
|
export const GOOGLE_API_SCOPES = [
|
|
'https://www.googleapis.com/auth/youtube.readonly'
|
|
];
|
|
|
|
/**
|
|
* The identifier of the sound to be played when a recording or live streaming
|
|
* session is stopped.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
|
|
|
|
/**
|
|
* The identifier of the sound to be played when a recording or live streaming
|
|
* session is started.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
|
|
|
|
/**
|
|
* Expected supported recording types. JIBRI is known to support live streaming
|
|
* whereas JIRECON is for recording.
|
|
*
|
|
* @type {Object}
|
|
*/
|
|
export const RECORDING_TYPES = {
|
|
JIBRI: 'jibri',
|
|
JIRECON: 'jirecon'
|
|
};
|