Handling the signalling to play the audio

This commit is contained in:
Filipi Fuchter
2025-01-16 10:42:22 -03:00
parent d2efe27350
commit ea1323723d
2 changed files with 9 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ async def main():
@transport.event_handler("on_app_message")
async def on_app_message(transport, message, sender):
logger.debug(f"Received app message: {message} - {sender}")
if "message" not in message:
if "playable" not in message:
return
await task.queue_frames(
[TTSSpeakFrame(f"Hello there, how are you doing today ?"), EndFrame()]