Skip to content

Commit bad761d

Browse files
author
jeffgaogao
committed
docs(TcgSdk): release 3.12
1 parent 71a8faf commit bad761d

File tree

5 files changed

+35
-1
lines changed

5 files changed

+35
-1
lines changed

Doc/Release_Notes_EN-US.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
[中文文档](历史版本.md)
22

3+
### Version 3.12.0 (2025-11.19)
4+
Features
5+
- Added a new uplink video weak network degradation strategy interface to TcrSession. Strategies include: [disabled], [Maintain frame rate], [Maintain resolution], [Balanced].
6+
- Added uplink resolution, uplink packet loss rate, and uplink encoding bitrate metrics to CLIENT_STATS.
7+
8+
- Bug Fixes
9+
- Fixed and optimized some known issues.
10+
311
### Version 3.11.0 (2025-10.29)
412
Features
513
- CLIENT_STATS event adds audio and video upstream frame rate data.

Doc/历史版本.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
[English document](Release_Notes_EN-US.md)
22

3+
### Version 3.12.0 (2025-11.19)
4+
Features
5+
- TcrSession新增上行视频弱网降级策略接口,可选择【不降级】、【维持帧率】、【维持分辨率】、【平衡】策略
6+
- CLIENT_STATS新增上行分辨率、上行丢包率、上行编码码率指标
7+
8+
Bug Fixes
9+
- 修复和优化一些已知问题
10+
311
### Version 3.11.0 (2025-10.29)
412
Features
513
- CLIENT_STATS事件新增音视频上行帧率数据

SDK/TCRSDK.framework/Headers/TcrSession.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,24 @@
203203
maxBitrate:(int)maxBitrate
204204
isFrontCamera:(BOOL)isFrontCamera;
205205

206+
/**
207+
* Set the local video profile.
208+
*
209+
* @param width The frame width, range[128, 1920]. Suggested value: 1280.
210+
* @param height The frame height, range[128, 1920]. Suggested value: 720.
211+
* @param fps The frame rate must be greater than 0 Default value: `30`.
212+
* @param minBitrate The minimum bitrate in Kbps. Value range: [1000,15000]. Default value: `1000`.
213+
* @param maxBitrate The maximum bitrate in Kbps. Value range: [1000,15000]. Default value: `15000`.
214+
* @param degrationPreference Specifies the preferred way the WebRTC layer should handle optimizing bandwidth against quality in constrained-bandwidth situations. The possible values are RTCDegradationPreferenceDisabled, RTCDegradationPreferenceMaintainFramerate, RTCDegradationPreferenceMaintainResolution or RTCDegradationPreferenceBalanced. The default value is RTCDegradationPreferenceBalanced.
215+
*/
216+
- (void)setLocalVideoProfile:(int)width
217+
height:(int)height
218+
fps:(int)fps
219+
minBitrate:(int)minBitrate
220+
maxBitrate:(int)maxBitrate
221+
isFrontCamera:(BOOL)isFrontCamera
222+
degrationPreference:(RTCDegradationPreference)degrationPreference;
223+
206224
/**
207225
* Set the playing profile of the remote audio.
208226
*

SDK/TCRSDK.framework/TCRSDK

5.45 KB
Binary file not shown.

TCRSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'TCRSDK'
3-
spec.version = '3.11.0'
3+
spec.version = '3.12.0'
44
spec.license = { :type => 'MIT' }
55
spec.homepage = 'https://github.com/tencentyun/cloudgame-ios-sdk'
66
spec.summary = 'Tencent Cloud Gaming Software Development Kit for iOS.'

0 commit comments

Comments
 (0)