decord/source/stores/HookErrorStore.tsx

35 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 4653
// Function ID: 4654
// Name: HookErrorStore
// Dependencies: [1074, 504, 573, 2]
2026-07-23 10:11:24 +00:00
// Module 4653 (HookErrorStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
const MediaEngineHookTypes = Constants.MediaEngineHookTypes;
2026-07-29 08:29:29 +00:00
let closure_1 = {};
2026-08-24 06:08:38 +00:00
const Store = initializeDefault.Store;
2026-07-29 08:29:29 +00:00
class HookErrorStore extends Store {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
HookErrorStore.prototype["getHookError"] = function getHookError(SOUND) {
return closure_1[SOUND];
2026-07-29 08:29:29 +00:00
};
HookErrorStore.displayName = "HookErrorStore";
const hookErrorStore = new HookErrorStore(DispatcherDefault, {
2026-07-20 16:05:17 +00:00
MEDIA_ENGINE_SET_GO_LIVE_SOURCE: function handleSetGoLiveSource() {
2026-08-24 06:08:38 +00:00
closure_1 = {};
2026-07-20 16:05:17 +00:00
},
MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING: function handleSoundshareTransmitting() {
2026-07-23 10:11:24 +00:00
delete tmp2[tmp];
2026-07-20 16:05:17 +00:00
},
MEDIA_ENGINE_SOUNDSHARE_FAILED: function handleSoundshareFailed(errorMessage) {
2026-07-29 08:29:29 +00:00
closure_1[MediaEngineHookTypes.SOUND] = { errorMessage: errorMessage.errorMessage, errorCode: errorMessage.errorCode };
2026-07-20 16:05:17 +00:00
}
});
const result = size.fileFinishedImporting("stores/HookErrorStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default hookErrorStore;