Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
24 lines
971 B
TypeScript
24 lines
971 B
TypeScript
// Module ID: 9787
|
|
// Function ID: 9788
|
|
// Name: MediaEngineActionCreators
|
|
// Dependencies: [1908, 4631, 573, 2]
|
|
// Exports: setPushToTalkState
|
|
|
|
// Module 9787 (MediaEngineActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import MediaEngineStore from "MediaEngineStore" /* 1908 */;
|
|
|
|
const MediaEngineContextTypes = fn(4631).MediaEngineContextTypes;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/media_engine/MediaEngineActionCreators.tsx");
|
|
|
|
export const setPushToTalkState = function setPushToTalkState(first1, arg1) {
|
|
closure_0 = first1;
|
|
let flag = arg1;
|
|
if (arg1 === undefined) {
|
|
flag = false;
|
|
}
|
|
DispatcherDefault.dispatch({ type: "PUSH_TO_TALK_STATE_CHANGE", isActive: first1, isPriority: flag });
|
|
const mediaEngine = MediaEngineStore.getMediaEngine();
|
|
mediaEngine.eachConnection((setForceAudioInput) => setForceAudioInput.setForceAudioInput(closure_0, flag, false), MediaEngineContextTypes.DEFAULT);
|
|
};
|