Member Junction
    Preparing search index...
    • Pure parse of one Vonage media-leg text frame (the JSON control events). Returns the parsed VonageControlEvent, or null when the text is not a JSON object carrying an event string. Audio frames are binary and never reach this function — the host ingress routes binary vs. text and pumps audio straight through IVonageMediaPump as PCM ArrayBuffers.

      Parameters

      • text: string

        The UTF-8 text-frame payload Vonage sent.

      Returns VonageControlEvent

      The parsed control event, or null when the frame is not a recognizable JSON event.