Cloudflare Realtime TURN

cloudflareMedia routercloudflare-turn

Anycast TURN and STUN relay for WebRTC clients behind NAT or firewalls.

Provider
cloudflare
Category
Edge
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
anycast · component propertyboolean—notrueinherited
cascadingboolean—nofalseinherited
managedboolean—nofalse▸ true
modeenumsfu | mcu | p2p | ingestnosfu▸ p2p
rerouteOnFailureboolean—nofalseinherited
transportenumudp | tcp | bothnoboth▸ both
turnPort · component propertyinteger—no3478inherited
turnTlsPort · component propertyinteger—no5349inherited
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "turn", component: "cloudflare-turn" }
Other Media router products · 23
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Cloudflare Realtime TURN: anycast relay for WebRTC clients behind NAT or firewalls.
# "When a client tries to connect to turn.cloudflare.com, it automatically connects to the
# Cloudflare location closest to them." STUN/TURN over UDP and TCP on 3478 and TURN over
# TLS on 5349, with 53, 80 and 443 as alternates ("TURN overview").
schemaVersion: "1"
type: "component"
id: "cloudflare-turn"
kind: "media-router"
provider: "cloudflare"
docs: "https://developers.cloudflare.com/realtime/turn/"
defaults:
  managed: true
  mode: "p2p"
  transport: "both"
properties:
  turnPort:
    type: "integer"
    default: 3478
  turnTlsPort:
    type: "integer"
    default: 5349
  anycast:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/cloudflare-turn.md