Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

This document describes how to run the TRTC v5 samples.

English | 简体中文

Instructions

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.

Online Demo

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.

How to Run

  1. Clone this repository
git clone https://github.com/Tencent-RTC/TRTC_Web.git
  1. Enter a specific sample's folder (e.g. screen sharing)
cd ./TRTC_Web/samples/basic-features/screen-sharing
  1. Open the index.html file with Chrome browser to run the sample.

  2. Enter the SDKAppID and SDKSecretKey. For detailed directions, see TRTC RTC Engine.

Try the sample

  • 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