revert(voice-call): remove cached inbound greeting

This commit is contained in:
Sebastian
2026-02-16 22:32:42 -05:00
parent 950f36feff
commit 759c7fc18e
3 changed files with 7 additions and 73 deletions

View File

@@ -62,17 +62,6 @@ export class TwilioProvider implements VoiceCallProvider {
/** Map of call SID to stream SID for media streams */
private callStreamMap = new Map<string, string>();
/** Pre-generated greeting audio for instant inbound playback */
private cachedGreetingAudio: Buffer | null = null;
setCachedGreetingAudio(audio: Buffer): void {
this.cachedGreetingAudio = audio;
console.log(`[voice-call] Cached greeting audio: ${audio.length} bytes`);
}
getCachedGreetingAudio(): Buffer | null {
return this.cachedGreetingAudio;
}
/** Per-call tokens for media stream authentication */
private streamAuthTokens = new Map<string, string>();