Skip to content

Commit b87da82

Browse files
author
ranpeng
committed
v1.1.7
1 parent 39e04b0 commit b87da82

File tree

18 files changed

+2309
-182
lines changed

18 files changed

+2309
-182
lines changed

README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,37 @@
1-
## TCGSDK 简介
2-
腾讯云云渲染JSSDK,用于web接入,支持端游,手游,云应用。SDK提供了丰富的接口,满足大部分接入需求。
1+
简体中文| [English](README_EN-US.md)
2+
3+
# TCGSDK
4+
5+
`TCGSDK` 用于腾讯云渲染 Web 接入,支持端游,手游,云应用,虚拟直播。
6+
7+
## 功能介绍
8+
9+
`TCGSDK` 提供了丰富的接口,可用于定制化开发。目前包括生命周期,键鼠控制,音视频控制,游戏进程,数据通道,调试及日志相关接口。
10+
11+
## 基础知识
12+
13+
接入前需要对云渲染就如流程有大致了解,可参考 [基本技术概念
14+
](https://cloud.tencent.com/document/product/1547/75988)
15+
16+
## 云渲染接入功能流程说明
17+
18+
![url](https://ex.cloud-gaming.myqcloud.com/assets/images/docs/rcr-flow.png)
319

4-
生命周期,调用方式,详细接口描述请参考官网[JSSDK](https://cloud.tencent.com/document/product/1162/46134)
520
## 安装
621

722
直接 import dist/tcg-sdk,导出的为umd 格式
823

24+
## 浏览器支持
25+
26+
云渲染基于 WebRTC 实现,依赖于操作系统和浏览器对于 WebRTC 的支持。
27+
28+
以外,浏览器采集音视频画面的功能在移动端支持较差,比如移动端浏览器不支持屏幕录制,iOS 14.3及以上版本才支持获取用户摄像头设备。
29+
930
## Samples
1031

11-
可参考samples 文件夹下,Mobile/PC demo
32+
可参考samples 文件夹下,Mobile/PC demo.
1233

13-
## Plugin
34+
## Plugins
1435

1536
[虚拟摇杆](plugin/joystick/)
1637

README_EN-US.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
English | [简体中文](./README.md)
2+
3+
4+
# TCGSDK
5+
6+
`TCGSDK` is used to connect to Real-Time Cloud Rendering on web and supports PC and mobile games, cloud applications, and virtual live streaming.
7+
8+
## Feature description
9+
10+
`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.
11+
12+
## Basics
13+
14+
Before connection, see [Basic Technical Concepts](https://www.tencentcloud.com/document/product/1158/49611) for basic information about the Real-Time Cloud Rendering connection process.
15+
16+
## Real-Time Cloud Rendering connection process
17+
18+
![url](https://qcloudimg.tencent-cloud.cn/raw/dec8b73715e1a2e80f62a298fffba0e0.jpg)
19+
20+
## Installation
21+
22+
Directly run `import dist/tcg-sdk`. The SDK is exported as a .umd file.
23+
24+
## Browser support
25+
26+
Real-Time Cloud Rendering relies on WebRTC and therefore can only be used on OS and browsers that support WebRTC.
27+
28+
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.
29+
30+
## Samples
31+
32+
For more information, see the mobile and PC demos in the `samples` folder.
33+
34+
## Plugins
35+
36+
[Virtual stick](plugin/joystick/)
37+
38+
[Virtual keyboard](plugin/keyboard/)
39+
40+
## Documentation
41+
42+
[Use Samples](samples/)
43+
44+
[Getting Started](https://www.tencentcloud.com/document/product/1158/49612)
45+
46+
[API Declaration File](dist/tcg-sdk//index_en.d.ts)
47+

changelog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
### [1.1.7](https://github.com/tencentyun/cloudgame-js-sdk/releases/tag/v1.1.7)@2022.08.10
2+
3+
**新增**
4+
5+
- 新增 game stop 消息通知
6+
- 针对手游横竖屏设置不同旋转逻辑
7+
8+
**变更**
9+
10+
- 增加粘贴功能劫持配置项
11+
- 手游根据 screen_config 配置云端画面尺寸
12+
- 摇杆插件变更,通过实例化创建
13+
14+
**修复**
15+
16+
- PC 端玩手游,鼠标显示异常问题
17+
- 重连导致数据通道创建异常
18+
- 移动端切换后台后,前端 touch 卡键问题
19+
120
### [1.1.6](https://github.com/tencentyun/cloudgame-js-sdk/releases/tag/v1.1.6)@2022.08.10
221

322
**新增**

0 commit comments

Comments
 (0)