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 # prod
FROM node:24-alpine FROM node:24-alpine
WORKDIR /app WORKDIR /app
RUN apk add --no-cache python3 make g++ RUN apk add --no-cache python3 make g++ ffmpeg
COPY package*.json ./ COPY package*.json ./
RUN npm ci --only=production # only prod deps RUN npm ci --only=production # only prod deps
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist
+2 -1
View File
@@ -143,7 +143,8 @@ export class MixedStream {
}, durationMs); }, durationMs);
}); });
transcoder.on('error', () => { transcoder.on('error', (err) => {
console.error('Transcoder error:', err);
this.mixer.removeAudioinput(mixerInput); this.mixer.removeAudioinput(mixerInput);
resolve(); resolve();
}); });