decord/source/stores/HookErrorStore.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

34 lines
1.2 KiB
TypeScript

// Module ID: 4686
// Function ID: 4687
// Name: HookErrorStore
// Dependencies: [1074, 504, 573, 2]
// Module 4686 (HookErrorStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
const MediaEngineHookTypes = Constants.MediaEngineHookTypes;
let closure_1 = {};
const Store = initializeDefault.Store;
class HookErrorStore extends Store {
}
HookErrorStore.prototype["getHookError"] = function getHookError(SOUND) {
return closure_1[SOUND];
};
HookErrorStore.displayName = "HookErrorStore";
const hookErrorStore = new HookErrorStore(DispatcherDefault, {
MEDIA_ENGINE_SET_GO_LIVE_SOURCE: function handleSetGoLiveSource() {
closure_1 = {};
},
MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING: function handleSoundshareTransmitting() {
delete tmp2[tmp];
},
MEDIA_ENGINE_SOUNDSHARE_FAILED: function handleSoundshareFailed(errorMessage) {
closure_1[MediaEngineHookTypes.SOUND] = { errorMessage: errorMessage.errorMessage, errorCode: errorMessage.errorCode };
}
});
const result = size.fileFinishedImporting("stores/HookErrorStore.tsx");
export default hookErrorStore;