The wss://api.us.genesyscloud.com/platform/v2/analytics/events connection drops every 30s when streaming audio from a Cognigy bot in AppFoundry. Latency spikes to 800ms right before the disconnect. No 1006 errors in the logs, just a silent drop. Here’s the Kotlin config:
val ws = WebSocketFactory().createSocket(uri)
ws.connect()
Why is the stream breaking?