Compare commits

..

3 Commits

Author SHA1 Message Date
neru 60b66027a3 fix: add ffmpeg to docker image 2026-01-14 22:58:08 -03:00
neru fda4bd91aa style: fmt comment 2026-01-14 22:58:02 -03:00
neru 7b4dfb0dce fix: log transcoder errs 2026-01-14 22:57:55 -03:00
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ RUN npm run build
# prod
FROM node:24-alpine
WORKDIR /app
RUN apk add --no-cache python3 make g++
RUN apk add --no-cache python3 make g++ ffmpeg
COPY package*.json ./
RUN npm ci --only=production # only prod deps
COPY --from=builder /app/dist ./dist
+4 -3
View File
@@ -143,7 +143,8 @@ export class MixedStream {
}, durationMs);
});
transcoder.on('error', () => {
transcoder.on('error', (err) => {
console.error('Transcoder error:', err);
this.mixer.removeAudioinput(mixerInput);
resolve();
});
@@ -182,8 +183,8 @@ export class AudioStreamManager {
}
/*
singleton logic
*/
singleton logic
*/
static #instance: AudioStreamManager | null = null;
public static get get(): AudioStreamManager {