zbzt-live-sdk 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/zbzt-live-sdk.cjs.js +14 -14
- package/dist/zbzt-live-sdk.esm.js +14 -14
- package/dist/zbzt-live-sdk.umd.js +14 -14
- package/dist/zbzt-live-sdk.umd.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
<a name="0.9.1"></a>
|
|
6
|
+
## [0.9.1] (2024-07-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* 修复火山自动播放失败被拦截的问题 ([883895d])
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
5
15
|
<a name="0.9.0"></a>
|
|
6
16
|
# [0.9.0] (2024-07-08)
|
|
7
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* zbzt-live-sdk.js v0.9.
|
|
3
|
-
* 2024-7-
|
|
2
|
+
* zbzt-live-sdk.js v0.9.1
|
|
3
|
+
* 2024-7-30 lanlonggang
|
|
4
4
|
* Released By TAL Live.
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
@@ -16664,7 +16664,7 @@ var urls = {
|
|
|
16664
16664
|
api: 'api.weclassroom.com',
|
|
16665
16665
|
report: 's.weclassroom.com'
|
|
16666
16666
|
};
|
|
16667
|
-
var version = '0.9.
|
|
16667
|
+
var version = '0.9.1';
|
|
16668
16668
|
var liveExt = {
|
|
16669
16669
|
name: 'live',
|
|
16670
16670
|
version: '1.0.0.0'
|
|
@@ -35095,12 +35095,6 @@ var init$1 = /*#__PURE__*/function () {
|
|
|
35095
35095
|
role: args.role
|
|
35096
35096
|
}));
|
|
35097
35097
|
talrtc.enableLogUpload();
|
|
35098
|
-
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
35099
|
-
if (kind !== 'video') {
|
|
35100
|
-
return;
|
|
35101
|
-
}
|
|
35102
|
-
NOTICE.autoplayFailed();
|
|
35103
|
-
};
|
|
35104
35098
|
// talrtc.setLogLevel(1);
|
|
35105
35099
|
client = talrtc.createClient({
|
|
35106
35100
|
codec: 'h264',
|
|
@@ -35108,19 +35102,25 @@ var init$1 = /*#__PURE__*/function () {
|
|
|
35108
35102
|
streamPrefix: institutionId
|
|
35109
35103
|
});
|
|
35110
35104
|
clients.set(String(args.roomId), client);
|
|
35111
|
-
_context4.next =
|
|
35105
|
+
_context4.next = 27;
|
|
35112
35106
|
return client.join();
|
|
35113
|
-
case
|
|
35107
|
+
case 27:
|
|
35114
35108
|
if (!(args.role !== 'spy')) {
|
|
35115
|
-
_context4.next =
|
|
35109
|
+
_context4.next = 30;
|
|
35116
35110
|
break;
|
|
35117
35111
|
}
|
|
35118
|
-
_context4.next =
|
|
35112
|
+
_context4.next = 30;
|
|
35119
35113
|
return setDefaultDevice$1(_devices, 'default');
|
|
35120
|
-
case
|
|
35114
|
+
case 30:
|
|
35121
35115
|
setMicphoneVolumInterval(1000);
|
|
35122
35116
|
startRemoteVolumeInterval(1000);
|
|
35123
35117
|
addDeviceListener(talrtc);
|
|
35118
|
+
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
35119
|
+
if (kind !== 'video' && client._type === 7) {
|
|
35120
|
+
return;
|
|
35121
|
+
}
|
|
35122
|
+
NOTICE.autoplayFailed();
|
|
35123
|
+
};
|
|
35124
35124
|
// await setMediaSideFlags();
|
|
35125
35125
|
window.current_sdk_type = sdkType;
|
|
35126
35126
|
defaultApi$1.writeLog('avsdk TALRTC::init finished current_sdk_type: ' + sdkType);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* zbzt-live-sdk.js v0.9.
|
|
3
|
-
* 2024-7-
|
|
2
|
+
* zbzt-live-sdk.js v0.9.1
|
|
3
|
+
* 2024-7-30 lanlonggang
|
|
4
4
|
* Released By TAL Live.
|
|
5
5
|
*/
|
|
6
6
|
import axios$2 from 'axios';
|
|
@@ -16658,7 +16658,7 @@ var urls = {
|
|
|
16658
16658
|
api: 'api.weclassroom.com',
|
|
16659
16659
|
report: 's.weclassroom.com'
|
|
16660
16660
|
};
|
|
16661
|
-
var version = '0.9.
|
|
16661
|
+
var version = '0.9.1';
|
|
16662
16662
|
var liveExt = {
|
|
16663
16663
|
name: 'live',
|
|
16664
16664
|
version: '1.0.0.0'
|
|
@@ -35089,12 +35089,6 @@ var init$1 = /*#__PURE__*/function () {
|
|
|
35089
35089
|
role: args.role
|
|
35090
35090
|
}));
|
|
35091
35091
|
talrtc.enableLogUpload();
|
|
35092
|
-
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
35093
|
-
if (kind !== 'video') {
|
|
35094
|
-
return;
|
|
35095
|
-
}
|
|
35096
|
-
NOTICE.autoplayFailed();
|
|
35097
|
-
};
|
|
35098
35092
|
// talrtc.setLogLevel(1);
|
|
35099
35093
|
client = talrtc.createClient({
|
|
35100
35094
|
codec: 'h264',
|
|
@@ -35102,19 +35096,25 @@ var init$1 = /*#__PURE__*/function () {
|
|
|
35102
35096
|
streamPrefix: institutionId
|
|
35103
35097
|
});
|
|
35104
35098
|
clients.set(String(args.roomId), client);
|
|
35105
|
-
_context4.next =
|
|
35099
|
+
_context4.next = 27;
|
|
35106
35100
|
return client.join();
|
|
35107
|
-
case
|
|
35101
|
+
case 27:
|
|
35108
35102
|
if (!(args.role !== 'spy')) {
|
|
35109
|
-
_context4.next =
|
|
35103
|
+
_context4.next = 30;
|
|
35110
35104
|
break;
|
|
35111
35105
|
}
|
|
35112
|
-
_context4.next =
|
|
35106
|
+
_context4.next = 30;
|
|
35113
35107
|
return setDefaultDevice$1(_devices, 'default');
|
|
35114
|
-
case
|
|
35108
|
+
case 30:
|
|
35115
35109
|
setMicphoneVolumInterval(1000);
|
|
35116
35110
|
startRemoteVolumeInterval(1000);
|
|
35117
35111
|
addDeviceListener(talrtc);
|
|
35112
|
+
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
35113
|
+
if (kind !== 'video' && client._type === 7) {
|
|
35114
|
+
return;
|
|
35115
|
+
}
|
|
35116
|
+
NOTICE.autoplayFailed();
|
|
35117
|
+
};
|
|
35118
35118
|
// await setMediaSideFlags();
|
|
35119
35119
|
window.current_sdk_type = sdkType;
|
|
35120
35120
|
defaultApi$1.writeLog('avsdk TALRTC::init finished current_sdk_type: ' + sdkType);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* zbzt-live-sdk.js v0.9.
|
|
3
|
-
* 2024-7-
|
|
2
|
+
* zbzt-live-sdk.js v0.9.1
|
|
3
|
+
* 2024-7-30 lanlonggang
|
|
4
4
|
* Released By TAL Live.
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
@@ -18347,7 +18347,7 @@
|
|
|
18347
18347
|
api: 'api.weclassroom.com',
|
|
18348
18348
|
report: 's.weclassroom.com'
|
|
18349
18349
|
};
|
|
18350
|
-
var version = '0.9.
|
|
18350
|
+
var version = '0.9.1';
|
|
18351
18351
|
var liveExt = {
|
|
18352
18352
|
name: 'live',
|
|
18353
18353
|
version: '1.0.0.0'
|
|
@@ -36778,12 +36778,6 @@
|
|
|
36778
36778
|
role: args.role
|
|
36779
36779
|
}));
|
|
36780
36780
|
talrtc.enableLogUpload();
|
|
36781
|
-
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
36782
|
-
if (kind !== 'video') {
|
|
36783
|
-
return;
|
|
36784
|
-
}
|
|
36785
|
-
NOTICE.autoplayFailed();
|
|
36786
|
-
};
|
|
36787
36781
|
// talrtc.setLogLevel(1);
|
|
36788
36782
|
client = talrtc.createClient({
|
|
36789
36783
|
codec: 'h264',
|
|
@@ -36791,19 +36785,25 @@
|
|
|
36791
36785
|
streamPrefix: institutionId
|
|
36792
36786
|
});
|
|
36793
36787
|
clients.set(String(args.roomId), client);
|
|
36794
|
-
_context4.next =
|
|
36788
|
+
_context4.next = 27;
|
|
36795
36789
|
return client.join();
|
|
36796
|
-
case
|
|
36790
|
+
case 27:
|
|
36797
36791
|
if (!(args.role !== 'spy')) {
|
|
36798
|
-
_context4.next =
|
|
36792
|
+
_context4.next = 30;
|
|
36799
36793
|
break;
|
|
36800
36794
|
}
|
|
36801
|
-
_context4.next =
|
|
36795
|
+
_context4.next = 30;
|
|
36802
36796
|
return setDefaultDevice$1(_devices, 'default');
|
|
36803
|
-
case
|
|
36797
|
+
case 30:
|
|
36804
36798
|
setMicphoneVolumInterval(1000);
|
|
36805
36799
|
startRemoteVolumeInterval(1000);
|
|
36806
36800
|
addDeviceListener(talrtc);
|
|
36801
|
+
talrtc.onAutoplayFailed = function (autoResume, kind) {
|
|
36802
|
+
if (kind !== 'video' && client._type === 7) {
|
|
36803
|
+
return;
|
|
36804
|
+
}
|
|
36805
|
+
NOTICE.autoplayFailed();
|
|
36806
|
+
};
|
|
36807
36807
|
// await setMediaSideFlags();
|
|
36808
36808
|
window.current_sdk_type = sdkType;
|
|
36809
36809
|
defaultApi$1.writeLog('avsdk TALRTC::init finished current_sdk_type: ' + sdkType);
|