New Knowledge Lab TRTC First Experience

Table of contents

introduction

 Tencent Cloud Real-Time Audio and Video TRTC

1. Experience the product

​edit

2. Activate TRTC products

3. This article takes the form of Web API 

4. Knowledge of personal use

5. Personal experience

 


introduction

With the continuous development of the short video industry, people's demand for real-time audio and video is increasing. Products related to online live broadcast (show live broadcast, e-commerce live broadcast, event live broadcast, new product launch conference, road show, online auction) are constantly emerging, and a hundred flowers are blooming. For business, self-developing a real-time audio and video service is very difficult in terms of cost, technical solution, and development cycle. Therefore, we usually look for a third-party suitable solution.


 Tencent Cloud Real-Time Audio and Video TRTC

Tencent Cloud real-time audio and video TRTC helps developers quickly build low-cost, low-latency, high-quality audio and video interactive solutions. Real-Time Audio and Video (TRTC) is a set of low-latency, high-quality audio and video communication services provided by Tencent Cloud, and is committed to providing Tencent Cloud customers with stable, reliable and low-cost audio and video transmission capabilities. You can use this service to quickly build "video calls", "online education", "live streaming", "online conferences" and other audio and video applications that have strict requirements on communication delay.


1. Experience the product

First of all, we need to register an account. After successful registration, we will enter the console, complete the real-name authentication, enter the project management page on the left, and start creating projects:


 

2. Activate TRTC products

You must first go to TRTC to open the address to create an application. TRTC provides services based on Tencent Cloud. You need to create a TRTC application before you can use the service. The SDKAppID and SecretKey of the application are the service authentication credentials, and you must use this to run the demo locally. Create an application and get 10,000 minutes of free experience, which is enough for the experience; the specific usage can also be seen in the console:

3. This article takes the form of Web API 

Download the source package, find and open /base-js/index.html

To detect devices, microphones and cameras need to be allowed:

Replace SDDAPPID and key:

Finally, click to enter the room to see the camera video.

4. Knowledge of personal use

1. TRTC (Tencent RTC) Tencent's real-time audio and video, originated from the QQ audio and video team, is based on the audio and video technology accumulation of QQ audio and video over the years, and is located in the RTC cloud service of Tencent Cloud. TRTC supports Tencent Conference, Enterprise WeChat Live Broadcast, WeChat Video Account, Tencent Cloud Classroom, National K and other services, and is the best practice output of Tencent's rich audio and video scenarios.

2. TRTC's client SDK covers all platforms, including WeChat/QQ applets, corporate WeChat, browsers, and platforms such as iOS, Windows, Linux, and macOS. TRTC can be bypassed to cloud live broadcast and distributed through CDN, which can multiplex the transcoding, rapid high-definition and other capabilities of the live broadcast system, and record and store to cloud on-demand.

5. Personal experience

1. Tencent Cloud's audio and video products are excellent enough, and they feel very good to use, and the API and documentation are also very complete. The official demo is also simple and easy to understand, and well-known IT companies such as Tencent Conference and Shell have access to it. It is also directly provided to newly opened users to give away 10,000 minutes of experience packages for free.

2. For a front-end developer like me, the greatest experience after using Tencent Cloud TRTC is its high efficiency . It only takes 2 lines of code to run the test demo, and 10 lines of code to complete the access of general capabilities, which is simply create --> download --> reference. We only need to obtain its SDKAppID and key to enjoy various high-quality audio and video services.

3. The second is its versatility . It is almost interoperable with all platforms. It provides an SDK covering all platforms and is compatible with major development frameworks. It really helps global developers quickly build low-cost, low-latency, high-quality audio and video interactive solutions.

 

Guess you like

Origin blog.csdn.net/weixin_52993364/article/details/128007431
Recommended