This document describes how to quickly run the experience demo of the Tencent Cloud Web ILVB component.
SDKAppID, creation time, and expiration time of the new application on the overview page of the console. Record the
Please store the key information properly to prevent leakage.
TWebLive/dist/debug/GenerateTestUserSig.jsfile and set relevant parameters:
- The method of local UserSig calculation is used for local development debugging only. Do not directly publish it to your online systems. Once your
SECRETKEYis disclosed, attackers can use your Tencent Cloud traffic without authorization.
- The correct
UserSigdistribution method is to integrate the computing code of the
UserSiginto your server and provide an app-oriented API. When
UserSigis required, your app can send a request to the business server to obtain the dynamic
UserSig. For more information, see How to Generate UserSig on the Server.
index.html file in the
dist directory with Chrome to run the demo.
- Generally, the demo needs to be deployed on your server and then accessed through
https://domain name/xxx. You can also build a server locally and access the demo through
- Currently, the desktop version of Chrome offers more comprehensive support for the features of the TRTC SDK for desktop browsers. Therefore, Chrome is recommended for the demo.
WebRTC needs to use a camera and mic to capture audio and video. During the trial, you may receive relevant prompts from Chrome and you should click Allow.
Starting from TRTC SDK v6.6 (August 2019), the new signature algorithm HMAC-SHA256 is used. For applications created before this version, you need to upgrade the signature algorithm before you can get a new encryption key.
This indicates that the TRTC desktop browser SDK failed to pass Session Traversal Utilities for NAT (STUN). Please check your firewall policy based on the environment requirements.
This indicates that the TRTC desktop browser SDK failed to build a media transfer channel. Please check your firewall policy based on the environment requirements.
If "Join room failed result: 10006 error: service is suspended, if charge is overdue,renew it" is displayed, please check whether your TRTC application service is available.
Log in to the TRTC console, click the application you created, click Account Info, and you can view the service status in the account info tab.