Skip to content

Commit a391bde

Browse files
authored
Realtime: Add additional questions to the TURN FAQs (#22955)
* Update faq.mdx Added few questions around relliability * Update src/content/docs/realtime/turn/faq.mdx * Update src/content/docs/realtime/turn/faq.mdx
1 parent f29e133 commit a391bde

File tree

1 file changed

+8
-0
lines changed
  • src/content/docs/realtime/turn

1 file changed

+8
-0
lines changed

src/content/docs/realtime/turn/faq.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,14 @@ Cloudflare Realtime denies CreatePermission or ChannelBind requests if private I
134134

135135
If you are a Cloudflare BYOIP customer and wish to connect to your BYOIP ranges with Realtime TURN, please reach out to your account manager for further details.
136136

137+
### What is the maximum duration limit for a TURN allocation?
138+
139+
There is no maximum duration limit for a TURN allocation. Per [RFC 8656 Section 3.2](https://datatracker.ietf.org/doc/html/rfc8656#section-3.2), once a relayed transport address is allocated, a client must keep the allocation alive. To do this, the client periodically sends a Refresh request to the server. The Refresh request needs to be authenticated with a valid TURN credential. The maximum duration for a credential is 48 hours. If a longer allocation is required, a new credential must be generated at least every 48 hours.
140+
141+
### How often does Cloudflare perform maintenance on a server that is actively handling a TURN allocation? What is the impact of this?
142+
143+
Even though this is not common, in certain scenarios TURN allocations may be disrupted. This could be caused by maintenance on the Cloudflare server handling the allocation or could be related to Internet network topology changes that cause TURN packets to arrive at a different Cloudflare datacenter. Regardless of the reason, [ICE restart](https://datatracker.ietf.org/doc/html/rfc8445#section-2.4) support by clients is highly recommended.
144+
137145
### What will happen if TURN credentials expire while the TURN allocation is in use?
138146

139147
Cloudflare Realtime will immediately stop billing and recording usage for analytics. After a short delay, the connection will be disconnected.

0 commit comments

Comments
 (0)