2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 9766
|
|
|
|
|
// Function ID: 9767
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: MediaEngineActionCreators
|
2026-09-10 19:12:31 +00:00
|
|
|
// Dependencies: [1908, 4630, 573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: setPushToTalkState
|
|
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
// Module 9766 (MediaEngineActionCreators)
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
|
|
|
import MediaEngineStore from "MediaEngineStore" /* 1908 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
const MediaEngineContextTypes = fn(4630).MediaEngineContextTypes;
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/media_engine/MediaEngineActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const setPushToTalkState = function setPushToTalkState(first1, arg1) {
|
|
|
|
|
closure_0 = first1;
|
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-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "PUSH_TO_TALK_STATE_CHANGE", isActive: first1, isPriority: flag });
|
|
|
|
|
const mediaEngine = MediaEngineStore.getMediaEngine();
|
2026-07-23 10:11:24 +00:00
|
|
|
mediaEngine.eachConnection((setForceAudioInput) => setForceAudioInput.setForceAudioInput(closure_0, flag, false), MediaEngineContextTypes.DEFAULT);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|