Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 60b66027a3 | |||
| fda4bd91aa | |||
| 7b4dfb0dce |
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
@@ -182,8 +183,8 @@ export class AudioStreamManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
singleton logic
|
singleton logic
|
||||||
*/
|
*/
|
||||||
static #instance: AudioStreamManager | null = null;
|
static #instance: AudioStreamManager | null = null;
|
||||||
|
|
||||||
public static get get(): AudioStreamManager {
|
public static get get(): AudioStreamManager {
|
||||||
|
|||||||
Reference in New Issue
Block a user