[inworld] default timestamp transport strategy to ASYNC

This commit is contained in:
Ian Lee
2026-02-17 15:07:39 -08:00
parent 3537420d91
commit 8006223911
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
- Update `InworldTTSService` and `InworldHttpTTSService` to use `ASYNC` timestamp transport strategy by default

View File

@@ -70,7 +70,7 @@ class InworldHttpTTSService(WordTTSService):
temperature: Optional[float] = None
speaking_rate: Optional[float] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = "ASYNC"
def __init__(
self,
@@ -442,7 +442,7 @@ class InworldTTSService(AudioContextWordTTSService):
max_buffer_delay_ms: Optional[int] = None
buffer_char_threshold: Optional[int] = None
auto_mode: Optional[bool] = True
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = None
timestamp_transport_strategy: Optional[Literal["ASYNC", "SYNC"]] = "ASYNC"
def __init__(
self,