2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 5295
|
|
|
|
|
// Function ID: 5296
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: dispatchAutoDisableVideo
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [5117, 584, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 5295 (dispatchAutoDisableVideo)
|
2026-10-07 22:43:51 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 584 */;
|
2026-10-12 16:32:48 +00:00
|
|
|
import Constants from "Constants" /* 5117 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const MediaEngineContextTypes = Constants.MediaEngineContextTypes;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/media_engine/dispatchAutoDisableVideo.tsx");
|
|
|
|
|
|
|
|
|
|
export default function dispatchAutoDisableVideo(userId, videoToggleState) {
|
2026-10-12 16:32:48 +00:00
|
|
|
const obj = DispatcherDefault;
|
|
|
|
|
const obj2 = { type: "AUDIO_SET_LOCAL_VIDEO_DISABLED", context: MediaEngineContextTypes.DEFAULT, userId, videoToggleState, persist: false, isAutomatic: true };
|
|
|
|
|
obj.dispatch(obj2);
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|