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.
Pure parse of one Vonage media-leg text frame (the JSON control events). Returns the parsed VonageControlEvent, or
nullwhen the text is not a JSON object carrying aneventstring. Audio frames are binary and never reach this function — the host ingress routes binary vs. text and pumps audio straight through IVonageMediaPump as PCMArrayBuffers.