snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
43
react/features/video-menu/constants.ts
Normal file
43
react/features/video-menu/constants.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Used to set maximumValue for native volume slider.
|
||||
* Slider double-precision floating-point number indicating the volume,
|
||||
* from 0 mute to 1 max, which converts to 0 mute to 19 max in our case.
|
||||
* 0 as muted, 10 as standard and 19 as max remote participant volume level.
|
||||
*/
|
||||
export const NATIVE_VOLUME_SLIDER_SCALE = 19;
|
||||
|
||||
/**
|
||||
* Used to modify initialValue, which is expected to be a decimal value between
|
||||
* 0 and 1, and converts it to a number representable by an input slider, which
|
||||
* recognizes whole numbers.
|
||||
*/
|
||||
export const VOLUME_SLIDER_SCALE = 100;
|
||||
|
||||
/**
|
||||
* Participant context menu button keys.
|
||||
*/
|
||||
export const PARTICIPANT_MENU_BUTTONS = {
|
||||
ALLOW_DESKTOP: 'allow-desktop',
|
||||
ALLOW_VIDEO: 'allow-video',
|
||||
ASK_UNMUTE: 'ask-unmute',
|
||||
CONN_STATUS: 'conn-status',
|
||||
DEMOTE: 'demote',
|
||||
FLIP_LOCAL_VIDEO: 'flip-local-video',
|
||||
GRANT_MODERATOR: 'grant-moderator',
|
||||
HIDE_SELF_VIEW: 'hide-self-view',
|
||||
KICK: 'kick',
|
||||
LOWER_PARTICIPANT_HAND: 'lower-participant-hand',
|
||||
MUTE: 'mute',
|
||||
MUTE_DESKTOP: 'mute-desktop',
|
||||
MUTE_OTHERS: 'mute-others',
|
||||
MUTE_OTHERS_DESKTOP: 'mute-others-desktop',
|
||||
MUTE_OTHERS_VIDEO: 'mute-others-video',
|
||||
MUTE_VIDEO: 'mute-video',
|
||||
PIN_TO_STAGE: 'pinToStage',
|
||||
PRIVATE_MESSAGE: 'privateMessage',
|
||||
REMOTE_CONTROL: 'remote-control',
|
||||
SEND_PARTICIPANT_TO_ROOM: 'send-participant-to-room',
|
||||
SEND_TO_SECOND_SCREEN: 'send-to-second-screen',
|
||||
TRANSLATE_AUDIO: 'translate-audio',
|
||||
VERIFY: 'verify'
|
||||
};
|
||||
Reference in New Issue
Block a user