decord/source/stores/HookErrorStore.tsx

35 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 4576
// Function ID: 4577
2026-07-29 08:29:29 +00:00
// Name: getHookError
2026-09-02 09:53:35 +00:00
// Dependencies: [673, 586, 706, 2]
2026-07-23 10:11:24 +00:00
// Module 4576 (getHookError)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import initializeDefault from "initialize" /* 586 */;
import ME from "ME" /* 673 */;
import dispatcherDefault from "dispatcher" /* 706 */;
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;