The Realtime Playground walks through one Task voice exchange on the OneSay
Realtime WebSocket (protocol onesay.realtime.v1), step by step:
signal.open → signal.opened → OSAF frame → audio.ack → artifact.delta → signal.end → signal.ended → artifact.finalized → task.completed.
Each step shows its direction and what it carries. Control messages are JSON.
Each binary audio frame starts with a 32-byte OSAF header, followed by 40 ms of
16 kHz mono pcm_s16le audio by default. audio.ack reports the highest
contiguous sequence the server has received, and the client releases buffered
audio only up to that sequence. The Playground shows the messages only: it
opens no WebSocket, asks for no microphone and creates no audio. MCP never
carries audio.
RTC
This page covers the Task protocol and opens no RTC session. To try Realtime RTC, start from Examples, which says how to ask for the OneSay SDK. With a short-lived credential you already have, the SDK connects, publishes, subscribes and starts Agents. RTC needs real server authorization, so OneSay Cloud does not simulate it.