Summary
Add a standalone Voice Agent example that demonstrates application-owned session recording. The example collects selected server events during one session and serializes a JSON record when the session finishes.
Why an example
Session recording, storage, consent, retention, and redaction policies belong to each application. The SDK should continue to expose the Voice Agent event stream without retaining customer conversation data or adding a persistence abstraction.
Example behavior
- Collect received conversation text, function-call requests and responses, and latency-report events when present.
- Build a JSON-serializable session record after the connection closes.
- Record only data delivered by the server; do not invent speaker attribution, audio segment references, or per-component latency fields.
- Do not capture or store audio.
- Include a clear warning that transcripts and tool arguments/results can contain sensitive data; applications must apply their own consent, redaction, retention, and storage policy.
Acceptance criteria
Summary
Add a standalone Voice Agent example that demonstrates application-owned session recording. The example collects selected server events during one session and serializes a JSON record when the session finishes.
Why an example
Session recording, storage, consent, retention, and redaction policies belong to each application. The SDK should continue to expose the Voice Agent event stream without retaining customer conversation data or adding a persistence abstraction.
Example behavior
Acceptance criteria