OptionalBase64Frame payload as a base64-encoded string. Used by transports that can only carry text. Mutually exclusive with BridgeMediaFrame.Bytes; populate one.
OptionalBytesRaw frame payload as binary. Preferred for in-process server-bridged drivers — no intermediate encoding. Mutually exclusive with BridgeMediaFrame.Base64; populate one.
OptionalSpeakerOptional per-speaker label for diarized inbound media (requires the provider's
SpeakerDiarization feature). Lets turn-taking attribute speech to a named participant.
Typically the participant's ExternalId or display name.
OptionalTimestampOptional epoch-millisecond capture timestamp for the frame, used for ordering, latency accounting, and silence-window calculations in the turn-taking policy. When omitted the consumer may stamp arrival time.
Which track this frame belongs to (kind + direction).
A single frame of media on a bridge track.
Frames are intentionally minimal and serializable. The payload is carried EITHER as raw binary (
Bytes, the fast in-process path used by server-bridged drivers) OR as a base64 string (Base64, for transports that can only move text) — a frame should populate exactly one. Keeping the payload representation explicit avoids guessing and keeps the type free ofany.