Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zby-live-sdk

Package Overview
Dependencies
Maintainers
0
Versions
370
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zby-live-sdk - npm Package Compare versions

Comparing version 1.0.49-beta-20240618 to 1.0.49-beta-20240731

17

CHANGELOG.md

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

<a name="1.0.49-beta-20240731"></a>
## [1.0.49-beta-20240731] (2024-07-31)
### Bug Fixes
* 移除无用日志 ([16f4977])
* 自研拉流超过100路时返回失败 ([6d69610])
### Features
* 移除pomelo消息。测试 ([79cc2de])
* 移除自研的joinAck和leave消息 ([54e151c])
<a name="1.0.49-beta-20240618"></a>

@@ -7,0 +24,0 @@ ## [1.0.49-beta-20240618] (2024-06-18)

2

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

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

@@ -13,2 +13,3 @@ import zbyChannelObj from './zby';

import zbysdk from '../zby-live-sdk';
import { config } from '../config/config';

@@ -40,2 +41,3 @@ const channelObjs = {

async joinRoom(params, cb, channelType = 1) {
return;
// 设置初始化参数

@@ -52,2 +54,4 @@ this.initParams = params;

async leaveRoom() {
return;
if (!channelObj) {

@@ -62,2 +66,4 @@ defaultApi.writeLog('channel has not init');

sendChannelMsg(msg) {
return;
if (!channelObj) {

@@ -71,2 +77,4 @@ defaultApi.writeLog('channel has not init');

sendJoin(args) {
return;
this.sendChannelMsg(getSendMsgParams.sendJoin(args));

@@ -76,2 +84,5 @@ }

sendLeave(args) {
return;
if (config.pomeloMsgLevel > 0) return;
this.sendChannelMsg(getSendMsgParams.sendLeave(args));

@@ -81,2 +92,5 @@ }

sendJoinAck(args) {
return;
if (config.pomeloMsgLevel > 0) return;
this.sendChannelMsg(getSendMsgParams.sendJoinAck(args));

@@ -86,2 +100,4 @@ }

sendAddStream(args) {
return;
this.sendChannelMsg(getSendMsgParams.sendAddStream(args));

@@ -91,2 +107,4 @@ }

sendUpdateStreamDeviceStatus(args) {
return;
this.sendChannelMsg(getSendMsgParams.sendUpdateStreamDeviceStatus(args));

@@ -96,2 +114,4 @@ }

sendRemoveStream(args) {
return;
this.sendChannelMsg(getSendMsgParams.sendRemoveStream(args));

@@ -101,2 +121,4 @@ }

async reJoin() {
return;
//获取当前小组sdk类型

@@ -103,0 +125,0 @@ const cloudResponse = await getCloudData(window.zby_sdk_req_get_cloud_params);

@@ -96,3 +96,4 @@ import {getInitParams} from '../network/api';

weblog: true,
businessLinesType: 'saas' // saas | xes
businessLinesType: 'saas', // saas | xes
pomeloMsgLevel: 0, // pomelo消息发送方式 0: 不过滤 1: 过滤joinAck、leave 2: 过滤joinAck、leave、join
};

@@ -99,0 +100,0 @@

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

Object.assign(this, options);
if (sdkConfig.env !== 'prod') {
sdkConfig.pomeloMsgLevel = 1;
}
},

@@ -1119,3 +1122,2 @@ deviceStatus: {},

const streamId = streamid ? streamid : undefined;
defaultApi.writeLog(`pullAudioFlow-streamId ${streamId}`);
await zbyAVSDK.pullAudioFlow(playerId, operation, streamId);

@@ -1122,0 +1124,0 @@ defaultApi.writeLog(`sdk action : pullAudioFlow playerId ${playerId}, ${operation}`);

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc