mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 04:37:46 +00:00
* Added sounds for reactions * Updated reactions list * Added reactions to sound settings * Added support for multiple sounds * Added feature flag for sounds * Updated sound settings Moved reactions toggle at the top of the list * Added disable reaction sounds notification * Added reaction button zoom for burst intensity * Fixed raise hand sound * Fixed register sounds for reactions * Changed boo emoji * Updated sounds * Fixed lint errors * Fixed reaction sounds file names * Fix raise hand sound Play sound only on raise hand not on lower hand * Fixed types for sound constants * Fixed type for raise hand sound constant
49 lines
1.6 KiB
JavaScript
49 lines
1.6 KiB
JavaScript
/**
|
||
* The name of the bundled audio files which will be played for the laugh reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const LAUGH_SOUND_FILES = [ 'reactions-laughter.mp3', 'reactions-laughter.mp3', 'reactions-laughter.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the clap reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const CLAP_SOUND_FILES = [ 'reactions–applause.mp3', 'reactions–applause.mp3', 'reactions–applause.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the like reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const LIKE_SOUND_FILES = [ 'reactions–thumbs-up.mp3', 'reactions–thumbs-up.mp3', 'reactions–thumbs-up.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the boo reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const BOO_SOUND_FILES = [ 'reactions–boo.mp3', 'reactions–boo.mp3', 'reactions–boo.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the surprised reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const SURPRISE_SOUND_FILES = [ 'reactions–surprise.mp3', 'reactions–surprise.mp3', 'reactions–surprise.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the silence reaction sound.
|
||
*
|
||
* @type {Array<string>}
|
||
*/
|
||
export const SILENCE_SOUND_FILES = [ 'reactions–crickets.mp3', 'reactions–crickets.mp3', 'reactions–crickets.mp3' ];
|
||
|
||
/**
|
||
* The name of the bundled audio file which will be played for the raise hand sound.
|
||
*
|
||
* @type {string}
|
||
*/
|
||
export const RAISE_HAND_SOUND_FILE = 'reactions–raised-hand.mp3';
|