2026-09-24 16:03:38 +00:00
|
|
|
// Module ID: 14131
|
|
|
|
|
// Function ID: 14132
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: dispatchAutoDisableVideo
|
2026-09-24 16:03:38 +00:00
|
|
|
// Dependencies: [4815, 577, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-24 16:03:38 +00:00
|
|
|
// Module 14131 (dispatchAutoDisableVideo)
|
2026-09-21 19:31:18 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 577 */;
|
2026-09-24 16:03:38 +00:00
|
|
|
import Constants from "Constants" /* 4815 */;
|
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) {
|
|
|
|
|
importDefault = userId;
|
|
|
|
|
dependencyMap = videoToggleState;
|
|
|
|
|
DispatcherDefault.wait(() => {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "AUDIO_SET_LOCAL_VIDEO_DISABLED", context: MediaEngineContextTypes.DEFAULT, userId, videoToggleState, persist: false, isAutomatic: true });
|
|
|
|
|
});
|
|
|
|
|
};
|