浏览代码

更新版本到 1.5.16

ChangeLog
1. 修复 updateRecordStreams 和 updateRelayStreams 方法变更 streamAddMode 添流模式的问题
kevin.song 5 年之前
父节点
当前提交
f5b7eeafc3
共有 3 个文件被更改,包括 9 次插入8 次删除
  1. 2 2
      README.md
  2. 5 5
      lib/index.js
  3. 2 1
      package.json

+ 2 - 2
README.md

@@ -1533,7 +1533,7 @@ client.startMix(MixOptions, callback)
 
 ```
 {
-  type?: MixType  // 选传,MixType 为 'relay' | 'record' | 'relay-and-record' | 'update-config' 其中之一,分别代表 '转推' | '录制' | '录制并转推' | '更改设置',不传时,默认为 'record' 录制。
+  type?: MixType  // 选传,MixType 为 'relay' | 'record' | 'relay-and-record' 其中之一,分别代表 '转推' | '录制' | '录制并转推',不传时,默认为 'record' 录制。
   bucket?: string  // 当 type 为 '录制' 和 '录制并转推时',必传,存储的 bucket, URTC 使用 UCloud 的 UFile 产品进行在存储,相关信息见控制台操作文档
   region?: string  // 当 type 为 '录制' 和 '录制并转推时',必传,存储服务所在的地域
 
@@ -1628,7 +1628,7 @@ MixResult: object 类型,类型说明如下
 {
   MixId?: string        // 混流 ID
   FileName?: string     // 混流文件名
-  Type?: MixType        // 混流类型,MixType 为 'relay' | 'record' | 'relay-and-record' | 'update-config',注:queryMix 操作时会返回此项
+  Type?: MixType        // 混流类型,MixType 为 'relay' | 'record' | 'relay-and-record',注:queryMix 操作时会返回此项
   PushURL?: string[]    // 转推的 URL 列表,注:stopMix 操作时会返回此项
 }
 ```

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


+ 2 - 1
package.json

@@ -1,8 +1,9 @@
 {
   "name": "urtc-sdk",
-  "version": "1.5.15",
+  "version": "1.5.16",
   "description": "UCloud RTC javascript SDK",
   "main": "lib/index.js",
+  "types": "types",
   "repository": {
     "type": "git",
     "url": "https://github.com/ucloud/urtc-sdk-web.git"