2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 10381
|
|
|
|
|
// Function ID: 10382
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: setPushToTalkState
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4431, 4444, 709, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: setPushToTalkState
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 10381 (setPushToTalkState)
|
|
|
|
|
import closure_2 from "_detectH265HardwareDecode" /* 4431 */;
|
|
|
|
|
import { MediaEngineContextTypes } from "DesktopSources" /* 4444 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/media_engine/MediaEngineActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const setPushToTalkState = function setPushToTalkState(isActive, arg1) {
|
2026-08-24 06:08:38 +00:00
|
|
|
importDefault = isActive;
|
2026-07-29 08:29:29 +00:00
|
|
|
let flag = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (arg1 === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(flag[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { type: "PUSH_TO_TALK_STATE_CHANGE", isActive, isPriority: flag };
|
|
|
|
|
obj.dispatch(obj);
|
2026-07-23 10:11:24 +00:00
|
|
|
mediaEngine = mediaEngine.getMediaEngine();
|
|
|
|
|
mediaEngine.eachConnection((setForceAudioInput) => setForceAudioInput.setForceAudioInput(closure_0, flag, false), MediaEngineContextTypes.DEFAULT);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|