2018-09-11 10:16:01 +00:00
|
|
|
import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
|
|
|
|
|
2019-08-12 15:34:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The identifier of the sound to be played when a live streaming session is stopped.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const LIVE_STREAMING_OFF_SOUND_ID = 'LIVE_STREAMING_OFF_SOUND';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The identifier of the sound to be played when a live streaming session is started.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const LIVE_STREAMING_ON_SOUND_ID = 'LIVE_STREAMING_ON_SOUND';
|
|
|
|
|
2022-03-18 08:19:20 +00:00
|
|
|
/**
|
|
|
|
* The identifier of the prompt to start recording notification.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const PROMPT_RECORDING_NOTIFICATION_ID = 'PROMPT_RECORDING_NOTIFICATION_ID';
|
|
|
|
|
2018-06-05 18:20:43 +00:00
|
|
|
/**
|
2019-08-12 15:34:38 +00:00
|
|
|
* The identifier of the sound to be played when a recording session is stopped.
|
2018-06-05 18:20:43 +00:00
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const RECORDING_OFF_SOUND_ID = 'RECORDING_OFF_SOUND';
|
|
|
|
|
|
|
|
/**
|
2019-08-12 15:34:38 +00:00
|
|
|
* The identifier of the sound to be played when a recording session is started.
|
2018-06-05 18:20:43 +00:00
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
|
|
|
|
|
2018-03-07 00:28:19 +00:00
|
|
|
/**
|
2019-03-11 16:17:21 +00:00
|
|
|
* Expected supported recording types.
|
2018-03-07 00:28:19 +00:00
|
|
|
*
|
2019-03-11 16:17:21 +00:00
|
|
|
* @enum {string}
|
2018-03-07 00:28:19 +00:00
|
|
|
*/
|
|
|
|
export const RECORDING_TYPES = {
|
2019-03-11 16:17:21 +00:00
|
|
|
JITSI_REC_SERVICE: 'recording-service',
|
2022-06-03 11:45:27 +00:00
|
|
|
DROPBOX: 'dropbox',
|
|
|
|
LOCAL: 'local'
|
2018-03-07 00:28:19 +00:00
|
|
|
};
|
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
|
|
|
|
];
|