decord/source/stores/HookErrorStore.tsx

35 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4473
// Function ID: 4474
2026-07-29 08:29:29 +00:00
// Name: getHookError
// Dependencies: [676, 589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-08-25 06:04:03 +00:00
// Module 4473 (getHookError)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import initializeDefault from "initialize" /* 589 */;
import ME from "ME" /* 676 */;
import dispatcherDefault from "dispatcher" /* 709 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
const MediaEngineHookTypes = ME.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 table[SOUND];
};
HookErrorStore.displayName = "HookErrorStore";
2026-08-24 06:08:38 +00:00
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
}
});
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("stores/HookErrorStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default hookErrorStore;