"Fossies" - the Fresh Open Source Software Archive 
Member "jitsi-meet-7328/react/features/base/media/actionTypes.ts" (8 Jun 2023, 2726 Bytes) of package /linux/misc/jitsi-meet-7328.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "actionTypes.ts":
7309_vs_7312.
1
2 /**
3 * The type of (redux) action to store the gum pending state for unmute and initial track creation.
4 *
5 * {
6 * type: GUM_PENDING,
7 * mediaTypes: Array<MediaType>,
8 * status: IGUMPendingState
9 * }
10 */
11 export const GUM_PENDING = 'GUM_PENDING';
12
13 /**
14 * The type of (redux) action to adjust the availability of the local audio.
15 *
16 * {
17 * type: SET_AUDIO_AVAILABLE,
18 * muted: boolean
19 * }
20 */
21 export const SET_AUDIO_AVAILABLE = 'SET_AUDIO_AVAILABLE';
22
23 /**
24 * The type of (redux) action to set the muted state of the local audio.
25 *
26 * {
27 * type: SET_AUDIO_MUTED,
28 * muted: boolean
29 * }
30 */
31 export const SET_AUDIO_MUTED = 'SET_AUDIO_MUTED';
32
33 /**
34 * The type of (redux) action to enable/disable the audio mute icon.
35 *
36 * {
37 * type: SET_AUDIO_UNMUTE_PERMISSIONS,
38 * blocked: boolean
39 * }
40 */
41 export const SET_AUDIO_UNMUTE_PERMISSIONS = 'SET_AUDIO_UNMUTE_PERMISSIONS';
42
43 /**
44 * The type of (redux) action to set the facing mode of the local video camera
45 * to a specific value.
46 *
47 * {
48 * type: SET_CAMERA_FACING_MODE,
49 * cameraFacingMode: CAMERA_FACING_MODE
50 * }
51 */
52 export const SET_CAMERA_FACING_MODE = 'SET_CAMERA_FACING_MODE';
53
54 /**
55 * The type of (redux) action to set the muted state of the local screenshare.
56 *
57 * {
58 * type: SET_SCREENSHARE_MUTED,
59 * muted: boolean
60 * }
61 */
62 export const SET_SCREENSHARE_MUTED = 'SET_SCREENSHARE_MUTED';
63
64 /**
65 * The type of (redux) action to adjust the availability of the local video.
66 *
67 * {
68 * type: SET_VIDEO_AVAILABLE,
69 * available: boolean
70 * }
71 */
72 export const SET_VIDEO_AVAILABLE = 'SET_VIDEO_AVAILABLE';
73
74 /**
75 * The type of (redux) action to set the muted state of the local video.
76 *
77 * {
78 * type: SET_VIDEO_MUTED,
79 * muted: boolean
80 * }
81 */
82 export const SET_VIDEO_MUTED = 'SET_VIDEO_MUTED';
83
84 /**
85 * The type of (redux) action to store the last video {@link Transform} applied
86 * to a stream.
87 *
88 * {
89 * type: STORE_VIDEO_TRANSFORM,
90 * streamId: string,
91 * transform: Transform
92 * }
93 */
94 export const STORE_VIDEO_TRANSFORM = 'STORE_VIDEO_TRANSFORM';
95
96 /**
97 * The type of (redux) action to enable/disable the video mute icon.
98 *
99 * {
100 * type: SET_VIDEO_UNMUTE_PERMISSIONS,
101 * blocked: boolean
102 * }
103 */
104 export const SET_VIDEO_UNMUTE_PERMISSIONS = 'SET_VIDEO_UNMUTE_PERMISSIONS';
105
106 /**
107 * The type of (redux) action to toggle the local video camera facing mode. In
108 * contrast to SET_CAMERA_FACING_MODE, allows the toggling to be optimally
109 * and/or natively implemented without the overhead of separate reads and writes
110 * of the current/effective camera facing mode.
111 *
112 * {
113 * type: TOGGLE_CAMERA_FACING_MODE
114 * }
115 */
116 export const TOGGLE_CAMERA_FACING_MODE = 'TOGGLE_CAMERA_FACING_MODE';