Files
jitsi-meet/react/features/reactions/sounds.js
robertpin 30802be752 feat(reaction-sounds) Added sounds for reactions (#9775) (#9776)
* 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
2021-08-23 13:07:05 +03:00

49 lines
1.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 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 = [ 'reactionsapplause.mp3', 'reactionsapplause.mp3', 'reactionsapplause.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 = [ 'reactionsthumbs-up.mp3', 'reactionsthumbs-up.mp3', 'reactionsthumbs-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 = [ 'reactionsboo.mp3', 'reactionsboo.mp3', 'reactionsboo.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 = [ 'reactionssurprise.mp3', 'reactionssurprise.mp3', 'reactionssurprise.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 = [ 'reactionscrickets.mp3', 'reactionscrickets.mp3', 'reactionscrickets.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 = 'reactionsraised-hand.mp3';