2026-09-14 20:04:03 +00:00
|
|
|
// Module ID: 13911
|
|
|
|
|
// Function ID: 13912
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: dispatchAutoDisableVideo
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4661, 573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-14 20:04:03 +00:00
|
|
|
// Module 13911 (dispatchAutoDisableVideo)
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import Constants from "Constants" /* 4661 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const MediaEngineContextTypes = Constants.MediaEngineContextTypes;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/media_engine/dispatchAutoDisableVideo.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
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 });
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
};
|