English | 简体中文
TCGSDK
TCGSDK
is used to connect to Real-Time Cloud Rendering on web and supports PC and mobile games, cloud applications, and virtual live streaming. Download here
Feature description
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.
Basics
Before connection, see Basic Technical Concepts for basic information about the Real-Time Cloud Rendering connection process.
Real-Time Cloud Rendering connection process
Installation
Directly run import dist/tcg-sdk
. The SDK is exported as a .umd file.
Browser support
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.