English | 简体中文
TCGSDK
is used to connect to Real-Time Cloud Rendering on web and supports PC and mobile games, cloud applications, and virtual live streaming.
TCGSDK
provides a wide variety of APIs for custom development, including lifecycle, keyboard and mouse control, audio/video control, game process, data channel, debugging, and log APIs.
Before connection, see Basic Technical Concepts for basic information about the Real-Time Cloud Rendering connection process.
Directly run import dist/tcg-sdk
. The SDK is exported as a .umd file.
Real-Time Cloud Rendering relies on WebRTC and therefore can only be used on OS and browsers that support WebRTC.
Moreover, the audio/video capturing feature is poorly supported on mobile browsers. For example, mobile browsers don't support screen recording, and only iOS 14.3 and later allow requesting camera access.
For more information, see the mobile and PC demos in the samples
folder.