Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/invite/sounds.js

44 lines
1.1 KiB

import {
OUTGOING_CALL_EXPIRED_SOUND_ID,
OUTGOING_CALL_REJECTED_SOUND_ID,
OUTGOING_CALL_RINGING_SOUND_ID,
OUTGOING_CALL_START_SOUND_ID
} from './constants';
/**
* Maps the sounds IDs with the filenames sounds associated with them.
*
* @type {Map<string, string>}
*/
export const sounds = new Map([
/**
* The name of the sound file which will be played when outgoing call is
* expired.
*/
[ OUTGOING_CALL_EXPIRED_SOUND_ID, { file: 'rejected.wav' } ],
/**
* The name of the sound file which will be played when outgoing call is
* rejected.
*/
[ OUTGOING_CALL_REJECTED_SOUND_ID, { file: 'rejected.wav' } ],
/**
* The name of the sound file which will be played when the status of an
* outgoing call is ringing.
*/
[
OUTGOING_CALL_RINGING_SOUND_ID,
{
file: 'outgoingRinging.wav',
options: { loop: true }
}
],
/**
* The name of the sound file which will be played when outgoing call is
* started.
*/
[ OUTGOING_CALL_START_SOUND_ID, { file: 'outgoingStart.wav' } ]
]);