Interface NormalizedMediaStreamConnected

A bidirectional media stream WebSocket has connected successfully.

interface NormalizedMediaStreamConnected {
    eventId: string;
    providerCallId: string;
    timestamp: number;
    provider?: VoiceProviderName;
    providerRequestId?: string;
    kind: "media-stream-connected";
    streamSid: string;
}

Hierarchy

  • NormalizedEventBase
    • NormalizedMediaStreamConnected

Properties

eventId: string

Provider-assigned event ID for idempotency.

providerCallId: string

Provider-assigned call ID.

timestamp: number

Unix timestamp (ms).

Provider namespace attached by stable carrier parsing.

providerRequestId?: string

Creation request identity when distinct from the actual call leg.

kind: "media-stream-connected"
streamSid: string

Provider-assigned stream identifier for routing audio frames.