jiti-meet/react/features/recording/constants.js

43 lines
1.0 KiB
JavaScript
Raw Normal View History

// @flow
2018-09-11 10:16:01 +00:00
import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
/**
* 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'
};
2018-09-11 10:16:01 +00:00
/**
* An array defining the priorities of the recording (or live streaming)
* statuses, where the index of the array is the priority itself.
*
* @type {Array<string>}
*/
export const RECORDING_STATUS_PRIORITIES = [
JitsiRecordingConstants.status.OFF,
JitsiRecordingConstants.status.PENDING,
JitsiRecordingConstants.status.ON
];