2026-03-02T07-56-25_auto_memory/memories.db-wal

This commit is contained in:
Nicholai Vogel 2026-03-02 00:56:25 -07:00
parent 526e46064a
commit 2bc2e86b9f
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -256,13 +256,16 @@ class MeetingNotesBot {
private subscribeToUser(receiver: any, userId: string, userName: string): void {
if (!this.activeSession) return;
const audioStream = receiver.subscribe(userId, {
const opusStream = receiver.subscribe(userId, {
end: {
behavior: EndBehaviorType.AfterSilence,
duration: 2000,
},
});
const decoder = new prism.opus.Decoder({ rate: 48000, channels: 2, frameSize: 960 });
const audioStream = opusStream.pipe(decoder);
audioStream.on('data', (chunk: Buffer) => {
const buffers = this.audioBuffers.get(userId) || [];
buffers.push(chunk);