2022-04-01 03:40:07 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis';
|
|
|
|
import handleTranscriptUpdated from '/imports/api/audio-captions/server/handlers/transcriptUpdated';
|
2024-02-08 21:50:30 +08:00
|
|
|
import handleTranscriptionProviderError from '/imports/api/audio-captions/server/handlers/transcriptionProviderError';
|
2022-04-01 03:40:07 +08:00
|
|
|
|
|
|
|
RedisPubSub.on('TranscriptUpdatedEvtMsg', handleTranscriptUpdated);
|
2024-02-08 21:50:30 +08:00
|
|
|
RedisPubSub.on('TranscriptionProviderErrorEvtMsg', handleTranscriptionProviderError);
|