tencent cloud

All product documents
Tencent Real-Time Communication
Last updated: 2024-09-13 10:05:26
Web
Last updated: 2024-09-13 10:05:26

Introduction

Quick Demo show the basic audio and video communication capabilities with sample code:
Set user to login TRTC platform service
Turn on/off your camera and microphone, and send them to others
Share your screen with others

How to use

1. Create an Application

Users within an application are allowed to enter the same room for audio and video calls. SDKAppID and SDKSecretKey are the unique verification credentials for the application.

You can create it in the Console, and get it's SDKAppID and SDKSecretKey. We will use those to login quick demo.




2. Online Demo

You can fill in the SDKAppID and SDKSecretKey obtained from the first part into the following demo, and click "Enter Room" button.
After success, an invitation link will be generated, so you can invite another person to join the call together!



More Demo

The above Demo is written in native JavaScript. You can access its source code here, you can also click on this link to access it in a separate window.

We also provide demos for vue2 and vue3. Here's the links:

If you want to integrate it yourself, you can visit the integration guide documentation.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon