Socket
Socket
Sign inDemoInstall

zby-live-sdk

Package Overview
Dependencies
60
Maintainers
4
Versions
344
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.49-beta-20240311 to 1.0.49-beta-20240321

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.0.49-beta-20240321"></a>
## [1.0.49-beta-20240321] (2024-03-21)
### Bug Fixes
* 修复推流失败后,切引擎不推流的问题 ([9de0499])
<a name="1.0.49-beta-20240311"></a>

@@ -7,0 +17,0 @@ ## [1.0.49-beta-20240311] (2024-03-11)

2

package.json
{
"name": "zby-live-sdk",
"version": "1.0.49-beta-20240311",
"version": "1.0.49-beta-20240321",
"main": "dist/zby-live-sdk.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/zby-live-sdk.esm.js",

@@ -819,2 +819,5 @@ import zbyAVSDK from './zby-av-sdk/zby-av-sdk';

} catch (e) {};
if (!idx) {
userAndDeviceStatusInfo.isPushingFlow = true; // 仅标记业务调用行为,不作为推流成功参考
}
await zbyAVSDK.startPushFlow(streamid, idx);

@@ -846,3 +849,2 @@ // 不重新推流此情况不适用,推流状态跟着设备开关情况改变,以下仅用作数据上报

}).then(() => {
userAndDeviceStatusInfo.isPushingFlow = true;
//需要确保处于推流状态才能发送AddStream

@@ -859,3 +861,2 @@ CHANNEL.sendAddStream(initParams);

CHANNEL.sendAddStream(initParams);
userAndDeviceStatusInfo.isPushingFlow = true;
}

@@ -867,2 +868,5 @@ }

defaultApi.writeLog(`sdk action : stopPushFlow streamid:${streamid} idx:${idx}`);
if (!idx) {
userAndDeviceStatusInfo.isPushingFlow = false; // 仅标记业务调用行为,不作为推流成功参考
}
await zbyAVSDK.stopPushFlow(idx, streamid);

@@ -877,3 +881,2 @@ try {

if(!idx) {
userAndDeviceStatusInfo.isPushingFlow = false;
CHANNEL.sendRemoveStream(window.zby_sdk_init_params);

@@ -880,0 +883,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc