Member Junction
    Preparing search index...

    The bidirectional Media-Streams frame pump for a single call's websocket. Production wires this over the accepted websocket for the Call SID; tests inject a fake. The pump speaks raw frame objects — transcode happens in RealTwilioBindings via the pure helpers above.

    interface ITwilioMediaPump {
        GetStreamSid(callSid: string): string;
        OnFrame(callSid: string, handler: (frame: TwilioMediaFrame) => void): void;
        Send(callSid: string, frame: TwilioMediaFrame): void;
    }
    Index

    Methods