类class
agentscope.realtimePlayoutPosition
class PlayoutPosition(BaseModel)
源码Source
agentscope/realtime/_playout.py:6–18Playout Position,处理低延迟的实时语音与多模态交互。位于 agentscope.realtime 包。
How much assistant audio actually left the speaker — the only sound basis for truncating a barge-in. Declared in agentscope.realtime.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
item_id | str | 条目标识字段。 | — |
played_ms | int | `played_ms` 字段。 | Field(default=0, ge=0) |
first_played_at | float | None | `first_played_at` 字段。 | None |
属性详情Attribute Detail
item_id
str条目标识字段。声明为 str。
The item id field.
源码Source
agentscope/realtime/_playout.py:10played_ms
int = Field(default=0, ge=0)played_ms 字段。声明为 int。
The played ms field.
源码Source
agentscope/realtime/_playout.py:13first_played_at
float | None = Nonefirst_played_at 字段。声明为 float | None。
The first played at field.
源码Source
agentscope/realtime/_playout.py:16