()
| 212 | audio_chunks.append(chunk) |
| 213 | |
| 214 | async def send_input(): |
| 215 | await stream.send_publish( |
| 216 | PublishTts( |
| 217 | text="Hello", |
| 218 | voice=PostedUtteranceVoiceWithName(name="Ava Song", provider="HUME_AI"), |
| 219 | ) |
| 220 | ) |
| 221 | await stream.send_publish(PublishTts(flush=True)) |
| 222 | await asyncio.sleep(1.0) |
| 223 | await stream.send_publish(PublishTts(close=True)) |
| 224 | |
| 225 | await asyncio.gather(handle_messages(), send_input()) |
| 226 |
no outgoing calls
no test coverage detected