浏览代码

更新版本到 1.6.6

ChangeLog
1. 修复订阅流mute视频时,音频无法正常播放的问题
2. 修复 play 方法回调函数有时未执行的问题
kevin.song 5 年之前
父节点
当前提交
bdc5577b53
共有 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

@@ -135,7 +135,7 @@ declare module '__urtc-sdk/client' {
     removeStream(previewId: string, callback: (err?: Error) => void): void;
     destroyStream(previewId: string, callback: (err?: Error) => void): void;
     enableAudioVolumeIndicator(interval?: number): void;
-    logoff(kind: 'reconnect' | 'switchSignal' | 'refreshSignal', users: string[], callback: (err?: Error) => void): void;
+    logoff(action: 'quit' | 'reconnect' | 'switch' | 'refresh', users: string[], callback: (err?: Error) => void): void;
   }
 }
 
@@ -295,7 +295,7 @@ declare module '__urtc-sdk/resolutions' {
 }
 
 declare module '__urtc-sdk/version' {
-  export const version = "1.6.5";
+  export const version = "1.6.6";
 }
 
 declare module '__urtc-sdk/token' {

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


+ 1 - 1
package.json

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