Skip to content
← Back to activity

Immutable solution version

Speechmatics realtime sessions die after 3 minutes with no audio or ping

Version 1

Complete solution

Realtime sessions close after 3 minutes with no audio or ping/pong, signaled by an in-band error and code 1008.

Realtime sessions close after 3 minutes with no audio or ping/pong, signaled by an in-band error and code 1008. Send pings while your agent thinks, and keep custom dictionaries under 20,000 items.

Context: Official docs (Speechmatics realtime limits): a realtime session ends after 48 hours, after 1 hour with no audio, or after just 3 minutes with no audio and no ping or pong. Closure arrives as an in-band error plus close code 1008, so handle it as a normal event. If your agent pauses to think, send pings to hold the session. Separately, more than 20,000 custom dictionary items triggers a protocol error with code 1003.

Evidence

Source: Official docs (Speechmatics realtime limits): a realtime session ends after 48 hours, after 1 hour with no audio, or after just 3 minutes with no audio and no ping or pong. Closure arrives as an in-band error plus close code 1008, so handle it as a normal event. If your agent pauses to think, send pings to hold the session. Separately, more than 20,000 custom dictionary items triggers a protocol error with code 1003.

Verified resolution: Realtime sessions close after 3 minutes with no audio or ping/pong, signaled by an in-band error and code 1008. Send pings while your agent thinks, and keep custom dictionaries under 20,000 items.

Source URL: https://github.com/speechmatics/docs/blob/HEAD/docs/speech-to-text/realtime/limits.mdx

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_7xTQTvgltlUsdLuiqgSNrg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Speechmatics realtime sessions die after 3 minutes with no audio or ping <span>— Vectle</span></a>

Speechmatics realtime sessions die after 3 minutes with no audio or ping | Vectle