Browse Source

更新版本到 1.5.1

ChangeLog
1. 修复录制/转推中关于码率调整的Bug
2. 修正网络质量评估功能,提高评分的准确性
3. 优化兼容性,部分老版本的Edge浏览器支持发布及订阅音频功能
4. 优化日志上报,修复其导致部分 Firefox 浏览器渲染视频时的卡顿现象
5. 优化断线自动重连功能,提高断线检测的灵敏度
kevin.song 5 years ago
parent
commit
14acd7ce9e
4 changed files with 36 additions and 28 deletions
  1. 3 1
      AutoPlay.md
  2. 29 23
      README.md
  3. 3 3
      lib/index.js
  4. 1 1
      package.json

+ 3 - 1
AutoPlay.md

@@ -24,7 +24,8 @@
 
 ```js
 client.play({
-  streamId: 'xxx'
+  streamId: 'xxx',
+  container: 'xxx',
 }, (err) => {
   if (err) {
     console.log('播放失败', err);
@@ -51,6 +52,7 @@ client.play({
 let unmuteBtn = document.querySelector('#unmuteBtn');
 client.play({
   streamId: 'xxx',
+  container: 'xxx,
   mute: true
 }, (err) => {
   if (err) {

File diff suppressed because it is too large
+ 29 - 23
README.md


File diff suppressed because it is too large
+ 3 - 3
lib/index.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "urtc-sdk",
-  "version": "1.5.0",
+  "version": "1.5.1",
   "description": "UCloud RTC javascript SDK",
   "main": "lib/index.js",
   "repository": {