浏览代码

更新版本到 1.6.29

ChangeLog
1. 将请求网关超时时间设为 5 秒,增一次超时重试,以提高加入房间的成功率
2. 增加错误日志的上报
poplark 4 年之前
父节点
当前提交
0bc9a3bcc2
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      lib/index.d.ts
  2. 3 3
      lib/index.js
  3. 1 1
      package.json

+ 2 - 2
lib/index.d.ts

@@ -298,7 +298,7 @@ declare module '__urtc-sdk/resolutions' {
 }
 
 declare module '__urtc-sdk/version' {
-  export const version = "1.6.28";
+  export const version = "1.6.29";
 }
 
 declare module '__urtc-sdk/token' {
@@ -314,7 +314,7 @@ declare module '__urtc-sdk/token' {
 }
 
 declare module '__urtc-sdk/types' {
-  export type VideoCodec = 'vp8' | 'h264';
+  export type VideoCodec = 'vp8' | 'h264' | 'h265';
   export type AudioCodec = 'opus';
   export type RoomType = 'rtc' | 'live';
   export type UserRole = 'pull' | 'push' | 'push-and-pull';

文件差异内容过多而无法显示
+ 3 - 3
lib/index.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "urtc-sdk",
-  "version": "1.6.28",
+  "version": "1.6.29",
   "description": "UCloud RTC javascript SDK",
   "main": "lib/index.js",
   "types": "lib/index.d.ts",