"Fossies" - the Fresh Open Source Software Archive 
Member "jitsi-meet-7319/react/features/base/devices/actionTypes.ts" (6 Jun 2023, 2401 Bytes) of package /linux/misc/jitsi-meet-7319.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.
1 /**
2 * The type of Redux action which signals that an error occurred while obtaining
3 * a camera.
4 *
5 * {
6 * type: NOTIFY_CAMERA_ERROR,
7 * error: Object
8 * }
9 */
10 export const NOTIFY_CAMERA_ERROR = 'NOTIFY_CAMERA_ERROR';
11
12 /**
13 * The type of Redux action which signals that an error occurred while obtaining
14 * a microphone.
15 *
16 * {
17 * type: NOTIFY_MIC_ERROR,
18 * error: Object
19 * }
20 */
21 export const NOTIFY_MIC_ERROR = 'NOTIFY_MIC_ERROR';
22
23 /**
24 * The type of Redux action which signals that the currently used audio
25 * input device should be changed.
26 *
27 * {
28 * type: SET_AUDIO_INPUT_DEVICE,
29 * deviceId: string,
30 * }
31 */
32 export const SET_AUDIO_INPUT_DEVICE = 'SET_AUDIO_INPUT_DEVICE';
33
34 /**
35 * The type of Redux action which signals that the currently used video
36 * input device should be changed.
37 *
38 * {
39 * type: SET_VIDEO_INPUT_DEVICE,
40 * deviceId: string,
41 * }
42 */
43 export const SET_VIDEO_INPUT_DEVICE = 'SET_VIDEO_INPUT_DEVICE';
44
45 /**
46 * The type of Redux action which signals that the list of known available
47 * audio and video sources has changed.
48 *
49 * {
50 * type: UPDATE_DEVICE_LIST,
51 * devices: Array<MediaDeviceInfo>,
52 * }
53 */
54 export const UPDATE_DEVICE_LIST = 'UPDATE_DEVICE_LIST';
55
56 /**
57 * The type of Redux action which will add a pending device requests that will
58 * be executed later when it is possible (when the conference is joined).
59 *
60 * {
61 * type: ADD_PENDING_DEVICE_REQUEST,
62 * request: Object
63 * }
64 */
65 export const ADD_PENDING_DEVICE_REQUEST = 'ADD_PENDING_DEVICE_REQUEST';
66
67 /**
68 * The type of Redux action which will remove all pending device requests.
69 *
70 * {
71 * type: REMOVE_PENDING_DEVICE_REQUESTS
72 * }
73 */
74 export const REMOVE_PENDING_DEVICE_REQUESTS = 'REMOVE_PENDING_DEVICE_REQUESTS';
75
76 /**
77 * The type of Redux action which will check passed old and passed new devices
78 * and if needed will show notifications asking the user whether to use those.
79 *
80 * {
81 * type: CHECK_AND_NOTIFY_FOR_NEW_DEVICE
82 * newDevices: Array<MediaDeviceInfo>
83 * oldDevices: Array<MediaDeviceInfo>
84 * }
85 */
86 export const CHECK_AND_NOTIFY_FOR_NEW_DEVICE = 'CHECK_AND_NOTIFY_FOR_NEW_DEVICE';
87
88 /**
89 * The type of Redux action which signals that the device permissions have changed.
90 *
91 * {
92 * type: CHECK_AND_NOTIFY_FOR_NEW_DEVICE
93 * permissions: Object
94 * }
95 */
96 export const DEVICE_PERMISSIONS_CHANGED = 'DEVICE_PERMISSIONS_CHANGED';