Skip to content

Commit a41940f

Browse files
dcpenakodster28
authored andcommitted
[Calls] Renaming Calls to Realtime (#21525)
* Renaming Calls to Realtime * broken links + redirect * Updated file name in changelog * Fixed header link * update releasenote file name * fix broken link * Updated old redirect * Updates * api spec path update * broken link * Update link --------- Co-authored-by: kodster28 <[email protected]>
1 parent 0d716b3 commit a41940f

36 files changed

+319
-318
lines changed

public/__redirects

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
/cache/how-to/edge-browser-cache-ttl/create-page-rules/ /cache/how-to/cache-rules/ 301
265265

266266
# Cloudflare Calls
267-
/calls/turn/overview/ /calls/turn/ 301
267+
/calls/turn/overview/ /realtime/turn/ 301
268268

269269
# china network
270270
/support/about-cloudflare/enterprise-documentation/understanding-and-configuring-an-icp-number/ /china-network/concepts/icp/ 301
@@ -1948,3 +1948,6 @@
19481948
/fundamentals/notifications/* /notifications/:splat 301
19491949
/support/other-languages/* /support/ 301
19501950
/support/speed/* /speed/ 301
1951+
1952+
# Calls
1953+
/calls/* /realtime/:splat 301

public/calls/static/calls-api-2024-05-21.yaml renamed to public/realtime/static/calls-api-2024-05-21.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
openapi: 3.0.0
22
info:
3-
title: Cloudflare Calls API
3+
title: Cloudflare Realtime API
44
version: "1.0"
55
externalDocs:
6-
description: Find out more about Cloudflare Calls
7-
url: https://developers.cloudflare.com/calls/
6+
description: Find out more about Cloudflare Realtime
7+
url: https://developers.cloudflare.com/realtime/
88
servers:
99
- url: https://rtc.live.cloudflare.com/v1
1010
paths:

src/content/apps/index.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,33 +229,33 @@
229229
updated: 2023-03-22
230230
- link: https://github.com/cloudflare/orange
231231
id: Orange Meets
232-
description: Orange Meets is a demo WebRTC application built using Cloudflare Calls.
232+
description: Orange Meets is a demo WebRTC application built using Cloudflare Realtime.
233233
tags: []
234-
products: [Calls]
234+
products: [Realtime]
235235
languages: [TypeScript]
236236
cloudflare: true
237237
updated: 2024-07-05
238238
- link: https://github.com/cloudflare/calls-examples/tree/main/whip-whep-server
239239
id: WHIP-WHEP Server
240-
description: WHIP and WHEP server implemented on top of Calls API.
240+
description: WHIP and WHEP server implemented on top of Realtime API.
241241
tags: []
242-
products: [Calls]
242+
products: [Realtime]
243243
languages: [TypeScript]
244244
cloudflare: true
245245
updated: 2022-06-12
246246
- link: https://github.com/cloudflare/calls-examples/tree/main/echo
247-
id: Calls Echo Demo
247+
id: Realtime Echo Demo
248248
description: Demonstrates a local stream alongside a remote echo stream.
249249
tags: []
250-
products: [Calls]
250+
products: [Realtime]
251251
languages: [JavaScript]
252252
cloudflare: true
253253
updated: 2025-05-10
254254
- link: https://github.com/cloudflare/calls-examples/tree/main/echo-datachannels
255-
id: Calls DataChannel Test
255+
id: Realtime DataChannel Test
256256
description: This example establishes two datachannels, one publishes data and the other one subscribes, the test measures how fast a message travels to and from the server.
257257
tags: []
258-
products: [Calls]
258+
products: [Realtime]
259259
languages: [JavaScript]
260260
cloudflare: true
261261
updated: 2022-06-04

src/content/docs/calls/calls-vs-sfus.mdx

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/content/docs/calls/index.mdx

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/content/docs/calls/introduction.mdx

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/content/docs/calls/pricing.mdx

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/content/docs/calls/sessions-tracks.mdx

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
pcx_content_type: get-started
3+
title: Realtime vs Regular SFUs
4+
sidebar:
5+
order: 4
6+
---
7+
8+
## Cloudflare Realtime vs. Traditional SFUs
9+
10+
Cloudflare Realtime represents a paradigm shift in building real-time applications by leveraging a distributed real-time data plane. It creates a seamless experience in real-time communication, transcending traditional geographical limitations and scalability concerns. Realtime is designed for developers looking to integrate WebRTC functionalities in a server-client architecture without delving deep into the complexities of regional scaling or server management.
11+
12+
### The Limitations of Centralized SFUs
13+
14+
Selective Forwarding Units (SFUs) play a critical role in managing WebRTC connections by selectively forwarding media streams to participants in a video call. However, their centralized nature introduces inherent limitations:
15+
16+
- **Regional Dependency:** A centralized SFU requires a specific region for deployment, leading to latency issues for global users except for those in proximity to the selected region.
17+
18+
- **Scalability Concerns:** Scaling a centralized SFU to meet global demand can be challenging and inefficient, often requiring additional infrastructure and complexity.
19+
20+
### How is Cloudflare Realtime different?
21+
22+
Cloudflare Realtime addresses these limitations by leveraging Cloudflare's global network infrastructure:
23+
24+
- **Global Distribution Without Regions:** Unlike traditional SFUs, Cloudflare Realtime operates on a global scale without regional constraints. It utilizes Cloudflare's extensive network of over 250 locations worldwide to ensure low-latency video forwarding, making it fast and efficient for users globally.
25+
26+
- **Decentralized Architecture:** There are no dedicated servers for Realtime. Every server within Cloudflare's network contributes to handling Realtime, ensuring scalability and reliability. This approach mirrors the distributed nature of Cloudflare's products such as 1.1.1.1 DNS or Cloudflare's CDN.
27+
28+
## How Cloudflare Realtime Works
29+
30+
### Establishing Peer Connections
31+
32+
To initiate a real-time communication session, an end user's client establishes a WebRTC PeerConnection to the nearest Cloudflare location. This connection benefits from anycast routing, optimizing for the lowest possible latency.
33+
34+
### Signaling and Media Stream Management
35+
36+
- **HTTPS API for Signaling:** Cloudflare Realtime simplifies signaling with a straightforward HTTPS API. This API manages the initiation and coordination of media streams, enabling clients to push new MediaStreamTracks or request these tracks from the server.
37+
38+
- **Efficient Media Handling:** Unlike traditional approaches that require multiple connections for different media streams from different clients, Cloudflare Realtime maintains a single PeerConnection per client. This streamlined process reduces complexity and improves performance by handling both the push and pull of media through a singular connection.
39+
40+
### Application-Level Management
41+
42+
Cloudflare Realtime delegates the responsibility of state management and participant tracking to the application layer. Developers are empowered to design their logic for handling events such as participant joins or media stream updates, offering flexibility to create tailored experiences in applications.
43+
44+
## Getting Started with Cloudflare Realtime
45+
46+
Integrating Cloudflare Realtime into your application promises a straightforward and efficient process, removing the hurdles of regional scalability and server management so you can focus on creating engaging real-time experiences for users worldwide.

0 commit comments

Comments
 (0)