decord/source/modules/media_engine/dispatchAutoDisableVideo.tsx

24 lines
854 B
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 13716
// Function ID: 13717
2026-07-20 16:05:17 +00:00
// Name: dispatchAutoDisableVideo
2026-09-02 09:53:35 +00:00
// Dependencies: [4542, 706, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-09-03 10:05:34 +00:00
// Module 13716 (dispatchAutoDisableVideo)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import dispatcherDefault from "dispatcher" /* 706 */;
2026-09-01 10:26:29 +00:00
import DesktopSources from "DesktopSources" /* 4542 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const MediaEngineContextTypes = DesktopSources.MediaEngineContextTypes;
const result = set.fileFinishedImporting("modules/media_engine/dispatchAutoDisableVideo.tsx");
2026-07-20 16:05:17 +00:00
export default function dispatchAutoDisableVideo(arg0, arg1) {
2026-08-24 06:08:38 +00:00
importDefault = arg0;
dependencyMap = arg1;
dispatcherDefault.wait(() => {
2026-07-23 10:11:24 +00:00
let obj = callback(table[1]);
2026-08-24 06:08:38 +00:00
obj = { type: "AUDIO_SET_LOCAL_VIDEO_DISABLED", context: closure_1_2.DEFAULT, userId: callback, videoToggleState: table, persist: false, isAutomatic: true };
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
});
};