Compare commits
3 Commits
8efdf0bc5b
...
60b66027a3
| Author | SHA1 | Date | |
|---|---|---|---|
| 60b66027a3 | |||
| fda4bd91aa | |||
| 7b4dfb0dce |
+1
-1
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user