Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

31930: Stream - Media - Buffer Overflow


WARNING: 31930

warning-31930 page anchor
VOICE
WARNING

Twilio raises this warning when a Media Stream is sending call audio to your WebSocket server and the WebSocket upstream becomes congested. When restricted bandwidth prevents the stream from keeping up, Twilio discards audio.

Possible causes

possible-causes page anchor
  • Your server or network path has an upstream bandwidth restriction that causes congestion while Twilio is streaming audio over WebSockets.
  • Your Media Streams application cannot reliably accept the real-time audio that Twilio sends to your WebSocket server.
  • Network controls between Twilio and your WebSocket server are not fully configured for secure WebSocket traffic on port 443.
  • Verify network load and available upstream bandwidth on the server that handles the Media Stream.
  • Confirm that your WebSocket endpoint can accept secure WebSocket connections from Twilio on port 443 from any public IP address.
  • Review how your application handles incoming Media Streams messages so it can continue receiving Twilio's real-time audio.
  • Validate the X-Twilio-Signature header on your Media Streams endpoint while you troubleshoot connectivity and network configuration.

Additional resources

additional-resources page anchor