snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
92
react/features/recording/constants.ts
Normal file
92
react/features/recording/constants.ts
Normal file
@@ -0,0 +1,92 @@
|
||||
import { JitsiRecordingConstants } from '../base/lib-jitsi-meet';
|
||||
|
||||
|
||||
/**
|
||||
* 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';
|
||||
|
||||
/**
|
||||
* The identifier of the prompt to start recording notification.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const PROMPT_RECORDING_NOTIFICATION_ID = 'PROMPT_RECORDING_NOTIFICATION_ID';
|
||||
|
||||
/**
|
||||
* The identifier of the sound to be played when a recording 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 session is started.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const RECORDING_ON_SOUND_ID = 'RECORDING_ON_SOUND';
|
||||
|
||||
/**
|
||||
* The identifier of the sound to be played when transcription is stopped.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const TRANSCRIPTION_OFF_SOUND_ID = 'TRANSCRIPTION_OFF_SOUND';
|
||||
|
||||
/**
|
||||
* The identifier of the sound to be played when transcription is started.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const TRANSCRIPTION_ON_SOUND_ID = 'TRANSCRIPTION_ON_SOUND';
|
||||
|
||||
/**
|
||||
* The identifier of the sound to be played when recording and transcription are stopped.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const RECORDING_AND_TRANSCRIPTION_OFF_SOUND_ID = 'RECORDING_AND_TRANSCRIPTION_OFF_SOUND';
|
||||
|
||||
/**
|
||||
* The identifier of the sound to be played when recording and transcription are started.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const RECORDING_AND_TRANSCRIPTION_ON_SOUND_ID = 'RECORDING_AND_TRANSCRIPTION_ON_SOUND';
|
||||
|
||||
/**
|
||||
* Expected supported recording types.
|
||||
*
|
||||
* @enum {string}
|
||||
*/
|
||||
export const RECORDING_TYPES = {
|
||||
JITSI_REC_SERVICE: 'recording-service',
|
||||
DROPBOX: 'dropbox',
|
||||
LOCAL: 'local'
|
||||
};
|
||||
|
||||
/**
|
||||
* 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
|
||||
];
|
||||
|
||||
export const START_RECORDING_NOTIFICATION_ID = 'START_RECORDING_NOTIFICATION_ID';
|
||||
|
||||
export const RECORDING_METADATA_ID = 'recording';
|
||||
Reference in New Issue
Block a user