zby-live-sdk 1.0.49-beta-1222-1 → 1.0.49-beta-1222-2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zby-live-sdk",
3
- "version": "1.0.49-beta-1222-1",
3
+ "version": "1.0.49-beta-1222-2",
4
4
  "main": "dist/zby-live-sdk.cjs.js",
5
5
  "module": "dist/zby-live-sdk.esm.js",
6
6
  "browsers": "dist/zby-live-sdk.umd.js",
@@ -13,7 +13,7 @@ const urls = {
13
13
  };
14
14
 
15
15
  // export const version = require('../../package.json').version;
16
- export const version = '1.0.49-beta-1222-1';
16
+ export const version = '1.0.49-beta-1222-2';
17
17
 
18
18
  export const liveExt = {
19
19
  name: 'live',
@@ -1409,7 +1409,7 @@ export const pullAudioFlow = (playerId, operation, operator, streamid) => {
1409
1409
  if(streamid){
1410
1410
  if(streamIdToRtcPlayerId[streamid] == undefined) {
1411
1411
  NOTICE.pullAudioFlowError({ streamid });
1412
- NOTICE.streamAbnormalLoss({ streamid, userid: util.getUidByStreamId(streamid), type: 'audio' });
1412
+ NOTICE.streamAbnormalLoss({ streamid, userId: util.getUidByStreamId(streamid), type: 'audio' });
1413
1413
  return;
1414
1414
  }else{
1415
1415
  playerId = streamIdToRtcPlayerId[streamid]
@@ -1456,7 +1456,7 @@ export const controlPullAudioOnly = (streamId, audioOnly) => {
1456
1456
  }
1457
1457
  if (streamId) {
1458
1458
  if ( streamIdToRtcPlayerId[streamId] == undefined) {
1459
- NOTICE.streamAbnormalLoss({ streamid: streamId, userid: util.getUidByStreamId(streamId), type: 'video' });
1459
+ NOTICE.streamAbnormalLoss({ streamid: streamId, userId: util.getUidByStreamId(streamId), type: 'video' });
1460
1460
  }
1461
1461
  }
1462
1462
  const rtcPlayerId = streamIdToRtcPlayerId[streamId];
@@ -2094,7 +2094,7 @@ export const pullAudioFlow = (playerId, operation, streamid) => {
2094
2094
  if(streamid){
2095
2095
  if(streamIdToPreviewId[streamid] == undefined) {
2096
2096
  NOTICE.pullAudioFlowError({ streamid });
2097
- NOTICE.streamAbnormalLoss({ streamid, userid: util.getUidByStreamId(streamid), type: 'audio' });
2097
+ NOTICE.streamAbnormalLoss({ streamid, userId: util.getUidByStreamId(streamid), type: 'audio' });
2098
2098
  return;
2099
2099
  }else{
2100
2100
  playerId = streamIdToPreviewId[streamid]
@@ -2139,7 +2139,7 @@ export const activateVideoPlayStream = (streamId, bActive) => {
2139
2139
  }
2140
2140
  if (streamId) {
2141
2141
  if (streamIdToPreviewId[streamId] == undefined) {
2142
- NOTICE.streamAbnormalLoss({ streamId, userid: util.getUidByStreamId(streamId), type: 'video' });
2142
+ NOTICE.streamAbnormalLoss({ streamId, userId: util.getUidByStreamId(streamId), type: 'video' });
2143
2143
  }
2144
2144
  }
2145
2145
  return callMethod('ActivateVideoPlayStream', {