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
package/src/config/config.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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,
|
|
2142
|
+
NOTICE.streamAbnormalLoss({ streamId, userId: util.getUidByStreamId(streamId), type: 'video' });
|
|
2143
2143
|
}
|
|
2144
2144
|
}
|
|
2145
2145
|
return callMethod('ActivateVideoPlayStream', {
|