New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

miniprogram-zego-express

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miniprogram-zego-express - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

package.json
{
"name": "miniprogram-zego-express",
"version": "1.1.1",
"version": "1.2.0",
"description": "zego miniprogram express sdk",

@@ -5,0 +5,0 @@ "main": "./ZegoExpressMiniProgram.js",

@@ -12,1 +12,6 @@ ### 日志更新

3. 对齐各端接口,接口命名、参数命名、取值等统一
### 2020-03-31(version 1.2.0)
1. 增加房间弹幕消息功能、自定义信令
2. 优化混流接口

@@ -56,9 +56,9 @@ import { Common } from './common';

}>;
addPublishCDNURL(streamID: string, signature: string, targetURL: string): Promise<{
addPublishCdnUrl(streamID: string, signature: string, targetURL: string): Promise<{
errorCode: number;
}>;
removePublishCDNURL(streamID: string, signature: string, targetURL: string): Promise<{
removePublishCdnUrl(streamID: string, signature: string, targetURL: string): Promise<{
errorCode: number;
}>;
clearPublishCDNURL(streamID: string, signature: string, targetURL: string): Promise<{
clearPublishCdnUrl(streamID: string, signature: string, targetURL: string): Promise<{
errorCode: number;

@@ -65,0 +65,0 @@ }>;

@@ -57,3 +57,2 @@ import { ZegoSignal } from './zego.signal';

userUpdate?: boolean;
authToken?: string;
}

@@ -411,3 +410,3 @@ export interface CapabilityDetection {

} | MediaStreamConstraints | boolean;
external?: {
custom?: {
source: HTMLMediaElement | MediaStream;

@@ -414,0 +413,0 @@ bitRate?: number;

@@ -1,2 +0,1 @@

import { ERRO } from '../common/zego.entity';
import { Logger } from '../common/zego.logger';

@@ -40,3 +39,3 @@ import { StateCenter } from '../common/clientBase/stateCenter';

static uuid(len?: number, radix?: number): string;
static supportDetection(screenShotReady: boolean, success: Function, error: (err: ERRO) => void): Promise<void>;
static supportDetection(screenShotReady: boolean, success: Function): Promise<void>;
static compareVersion(v1: string[] | string, v2: string | string[]): 0 | 1 | -1;

@@ -54,4 +53,4 @@ static isSupportLive(sucCall: {

static supportVideoCodeType(sucCall: {
(videoCodec: any): void;
(arg0: {
(rtcCodec: {
webRTC: boolean;
H264: boolean;

@@ -61,7 +60,3 @@ VP8: boolean;

H265: boolean;
}): void;
}, errCall: {
(err: any): void;
(arg0: any): void;
(arg0: boolean): void;
}, error?: any): void;
}): void;

@@ -68,0 +63,0 @@ static inlineWorker(func: Function): Worker | null;

@@ -66,2 +66,3 @@ import { webPlayOption, ERRO, ENUM_BROADCASTER_STATUS } from '../common/zego.entity';

waittingConnectedInerval: number;
tryingNexitSignal: boolean;
constructor(log: Logger, signal: ZegoSignal | null, dataReport: ZegoDataReport, qualityTimeInterval: number, streamCenter: ZegoStreamCenterWeb);

@@ -68,0 +69,0 @@ startPlay(streamId: string, success: (stream: MediaStream) => void, playOption?: webPlayOption): void;

@@ -62,2 +62,3 @@ import { ZegoDataReport } from '../common/zego.datareport';

waittingConnectedInerval: number;
tryingNexitSignal: boolean;
constructor(log: LoggerWeb, signal: ZegoSignal | null, dataReport: ZegoDataReport, qualityTimeInterval: number, streamCenter: ZegoStreamCenterWeb);

@@ -98,3 +99,3 @@ private publishStateUpdateError;

stopPublish(): void;
onPublishStateUpdate(type: number, streamId: string | null, error?: ERRO | undefined): void;
onPublishStateUpdate(type: number, streamId: string | null, error: ERRO): void;
onPublishQualityUpdate(streamId: string | null, quality: any): void;

@@ -101,0 +102,0 @@ onDisconnect(): void;

@@ -39,3 +39,3 @@ import { ZegoDataReport } from '../common/zego.datareport';

enableCamera(localStream: MediaStream, enable: boolean): boolean;
startPreview(mediaStreamConstraints: Constraints['camera'] | Constraints['external'], success: Function, error: (err: ERRO) => void): boolean;
startPreview(mediaStreamConstraints: Constraints['camera'] | Constraints['custom'], success: Function, error: (err: ERRO) => void): boolean;
stopPreview(localStream: MediaStream): boolean;

@@ -42,0 +42,0 @@ setPublishStateStart(streamid: string, localStream: MediaStream, publishOption: webPublishOption): boolean;

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