This document describes how to run the TRTC v5 samples.
English | 简体中文
These samples are created to provide feature demos for basic features and advance features shown on our official website. You can get all the detailed information and instructions on the website.
We offer an online web demo for you to experience a variety of features of TRTC . Also, you can try our CodePen demos on every feature page of our official website.
Enter your application’s SDKAppID and SDKSecretKey on the webpage to enter a room. For how to get the SDKAppID and SDKSecretKey, see TRTC RTC Engine.
After enter the room, you can use the share link to invite others to try the feature with you.
- Clone this repository
git clone https://github.com/Tencent-RTC/TRTC_Web.git- Enter a specific sample's folder (e.g. screen sharing)
cd ./TRTC_Web/samples/basic-features/screen-sharing-
Open the
index.htmlfile with Chrome browser to run the sample. -
Enter the
SDKAppIDandSDKSecretKey. For detailed directions, see TRTC RTC Engine.
- Input userId and roomId
- Click the "Enter Room" button to enter the room
- Explore the features freely
- Copy the link in "Activate remote stream" to invite other users to experience with you