Technology sharing | anyRTC’s RTN network

RTN (Real-time Network) Chinese name: Real-time audio and video transmission network.

RTN is a new architecture of real-time audio and video transmission network concept proposed by major RTC cloud vendors in recent years. Similar to the CDN network for live broadcasts, RTN is designed for scenarios that have strong requirements for real-time audio and video. In principle, the global end-to-end delay can be controlled within 300ms through the RTN network.

anyRTC is one of the earliest RTC cloud vendors to propose the concept of RTN. How does anyRTC implement RTN network? Let’s introduce it in detail below:

1. Introduction

First introduce some special terms:

A.SN: Push node – Clients of multiple protocols push to this node.

B.RN: Routing Node – Routes flows to clients in different regions.

C.GN: Pull node – distributes streams to clients of multiple protocols.

D.RoutePath: Routing line – the path for flows from one area to another area.

anyRTC implements a configurable dynamic RTN network. The network can be large or small. The smallest can only have one machine, and the largest can support tens of millions of concurrent RTN networks covering the world.

2. Implementation scenarios

1. Stand-alone version

The stand-alone service only requires the functions of push and pull. User A pushes and user B pulls.

Applicable scene:

A. Testing does not require complex network architecture.

B. Private audio and video communication scenarios with small business volume.

2.Advanced version

If two services are required in the business, there must be an RN node. Through the RN node, the flow of area A can be routed to area B, and vice versa.

Applicable scene:

A. Internal and external network penetration: In many industries, such as finance, public security, fire protection and other fields, the requirements for network security are very high, and internal and external networks need to be isolated and data exchanged through fixed ports.

B. Cross-region interoperability: For example, a company has business in Xinjiang and Shanghai. If the service is only deployed in Xinjiang or Shanghai, the user experience in the corresponding other region will be very poor. Nodes are deployed through the respective regions, and domestic users use their own nodes. , only when there is interaction between the two areas, the flow is forwarded to the other party through RN.

C. Transnational operations: For example, a company has business in both China and the United States. If the United States requires that its data must be stored and transmitted locally, nodes will be deployed in their respective regions, and domestic users will use their own nodes for data storage and transmission. When there is interaction between countries, the flow is transferred to the other party through RN.

3. Advanced version

The multi-region RTN network is suitable for application scenarios with high concurrency and high access volume. At this time, the RN service is independent and specializes in flow routing. SN and GN can also be separated, because when dealing with large concurrency, the flow business The demand will be much greater.

Applicable scene:

A. RTC cloud service providers provide services for a large number of RTC access or live broadcast access scenarios.

B. Multi-country operations, providing personalized services that can be implemented in different countries, and adapting operation strategies to more scenarios based on local laws.

C. For lower-latency live CDN distribution, CDN manufacturers can use RTN networks to transmit data streams between nodes, and then perform live CDN distribution at their respective landing points.

D. Higher-standard network security. In the industry, there are many business requirements for isolated areas of the network. At this time, multi-region RTN deployment can be used to solve the transparent transmission between various networks.

E. There are many operators, such as China Mobile, China Unicom, China Telecom, Vodafone, etc. If the direct connection between operators may not be very good, services can be deployed in the computer rooms of different operators. RN nodes are deployed in the third line. In the computer room, data is transmitted to each other through RN nodes.

3. Summary

anyRTC has built a global RTC transmission network through a configurable RTN network. anyRTC's RTN network has achieved continuous and stable operation for more than 1,000+ days since its launch, and the average daily customer access volume served exceeds 500,000+. At the same time, anyRTC will also open RTN network services in the near future, so stay tuned!

Microsoft launches new "Windows App" .NET 8 officially GA, the latest LTS version Xiaomi officially announced that Xiaomi Vela is fully open source, and the underlying kernel is NuttX Alibaba Cloud 11.12 The cause of the failure is exposed: Access Key Service (Access Key) exception Vite 5 officially released GitHub report : TypeScript replaces Java and becomes the third most popular language Offering a reward of hundreds of thousands of dollars to rewrite Prettier in Rust Asking the open source author "Is the project still alive?" Very rude and disrespectful Bytedance: Using AI to automatically tune Linux kernel parameter operators Magic operation: disconnect the network in the background, deactivate the broadband account, and force the user to change the optical modem
{{o.name}}
{{m.name}}

おすすめ

転載: my.oschina.net/anyRTC/blog/10149489