mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 21:17:48 +00:00
* feat: Initial UI part for A/V moderation. Based on https://github.com/jitsi/jitsi-meet/pull/7779 Co-authored-by: Gabriel Imre <gabriel.lucaci@8x8.com> * feat: Hides context menu in p2p or only moderators in the meeting. * feat: Show notifications on enable/disable. * feat(moderation): Add buttons to participant list & notifications * fix(moderation): Fix raised hand participant leaving * feat(moderation): Add support for video moderation * feat(moderation): Add mute all video to context menu * feat(moderation): Redo participants list 'More menu' * fix: Fixes clearing av_moderation table. * fix: Start moderation context menu * fix(moderation): Show notification if unapproved participant tries to start CS Co-authored-by: Gabriel Imre <gabriel.lucaci@8x8.com> Co-authored-by: Vlad Piersec <vlad.piersec@8x8.com>
20 lines
545 B
JavaScript
20 lines
545 B
JavaScript
// @flow
|
|
|
|
import { MEDIA_TYPE, type MediaType } from '../base/media/constants';
|
|
|
|
/**
|
|
* Mapping between a media type and the witelist reducer key.
|
|
*/
|
|
export const MEDIA_TYPE_TO_WHITELIST_STORE_KEY: {[key: MediaType]: string} = {
|
|
[MEDIA_TYPE.AUDIO]: 'audioWhitelist',
|
|
[MEDIA_TYPE.VIDEO]: 'videoWhitelist'
|
|
};
|
|
|
|
/**
|
|
* Mapping between a media type and the pending reducer key.
|
|
*/
|
|
export const MEDIA_TYPE_TO_PENDING_STORE_KEY: {[key: MediaType]: string} = {
|
|
[MEDIA_TYPE.AUDIO]: 'pendingAudio',
|
|
[MEDIA_TYPE.VIDEO]: 'pendingVideo'
|
|
};
|