1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * 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_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_OTHERS: 'mute-others',
- 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',
- VERIFY: 'verify'
- };
|