Saving the audio inside the Tavus video so we can test.

This commit is contained in:
filipi87
2026-05-21 09:01:12 -03:00
parent 7c61c36825
commit 6ef7f6446a
2 changed files with 31 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ class DailyProxyApp(EventHandler):
def _open_wav(self):
os.makedirs("recordings", exist_ok=True)
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
path = f"recordings/received_{timestamp}.wav"
path = f"recordings/received_pos_speed_{timestamp}.wav"
self._wav_io = open(path, "wb")
self._wav_file = wave.open(self._wav_io, "wb")
self._wav_file.setnchannels(1)