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

@agora-js/shared

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agora-js/shared - npm Package Compare versions

Comparing version 4.21.0 to 4.22.0

2

package.json
{
"name": "@agora-js/shared",
"version": "4.21.0",
"version": "4.22.0",
"description": "internal utils shared across @agora-js packages",

@@ -5,0 +5,0 @@ "main": "AgoraRTC_N-shared.js",

@@ -43,3 +43,2 @@ import { AxiosRequestConfig } from 'axios';

JOIN_FALLBACK_TO_PROXY = "Client._joinFallbackToProxy",
DATACHANNEL_FAILBACK = "Client._datachannelFailback",
ON_LIVE_STREAM_WARNING = "Client.onLiveStreamWarning",

@@ -195,3 +194,2 @@ ON_LIVE_STREAM_ERROR = "Client.onLiveStreamingError",

DISCONNECT_P2P = "DISCONNECT_P2P",
INIT_WEBSOCKET_TIMEOUT = "INIT_WEBSOCKET_TIMEOUT",
CONVERTING_IMAGEDATA_TO_BLOB_FAILED = "CONVERTING_IMAGEDATA_TO_BLOB_FAILED",

@@ -326,2 +324,3 @@ CONVERTING_VIDEO_FRAME_TO_BLOB_FAILED = "CONVERTING_VIDEO_FRAME_TO_BLOB_FAILED",

* - `"vp9"`: (Beta) Use VP9 for encoding.
* - `"av1"`: Use AV1 for encoding.
*

@@ -402,4 +401,2 @@ * > Safari 12.1 or earlier does not support the VP8 codec.

LIVE_STREAMING_WARNING = "live-streaming-warning",
/** @internal */
INJECT_STREAM_STATUS = "stream-inject-status",
EXCEPTION = "exception",

@@ -475,2 +472,6 @@ ERROR = "error",

/**
* @ignore
*/
FALLBACK = "FALLBACK",
/**
* The IP is banned.

@@ -486,6 +487,2 @@ */

*/
FALLBACK = "FALLBACK",
/**
* @ignore
*/
LICENSE_MISSING = "LICENSE_MISSING",

@@ -559,3 +556,3 @@ /**

stream_id: number;
ordered: number;
ordered: boolean;
max_retrans_times: number;

@@ -875,2 +872,6 @@ metadata: string;

export declare function isPageRecording(): boolean;
export declare function isPromise(obj: any): boolean;
export declare function isQQBrowser(): boolean;

@@ -969,3 +970,61 @@

export declare const MUTABLE_GATEWAY_PARAMS: {
ENABLE_PUBLISHED_USER_LIST: boolean;
MAX_SUBSCRIPTION: number;
SUBSCRIBE_AUDIO_FILTER_TOPN: any;
ENABLE_PUBLISH_AUDIO_FILTER: any;
ENABLE_USER_LICENSE_CHECK: boolean;
USE_PUB_RTX: boolean;
USE_SUB_RTX: boolean;
DISABLE_FEC: any;
ENABLE_NTP_REPORT: boolean;
ENABLE_INSTANT_VIDEO: boolean;
ENABLE_DATASTREAM_2: boolean;
ENABLE_USER_AUTO_REBALANCE_CHECK: boolean;
USE_XR: boolean;
ENABLE_LOSSBASED_BWE: boolean;
ENABLE_AUT_CC: boolean;
ENABLE_CC_FALLBACK: any;
ENABLE_PREALLOC_PC: boolean;
SUBSCRIBE_TWCC: boolean;
PUBLISH_TWCC: boolean;
ENABLE_SVC: boolean;
ENABLE_SVC_DEFAULT_CODECS: string[];
SVC: any[];
ENABLE_FULL_LINK_AV_SYNC: boolean;
SVC_MODE: any;
PRE_SUB_NUM: number;
ENABLE_PRE_SUB: boolean;
ENABLE_AUT_FEEDBACK: boolean;
};
export declare const MUTABLE_PARAMS: {
USE_CANDIDATE_FROM_AP_DETAIL: boolean;
ENABLE_PUBLISHED_USER_LIST: boolean;
MAX_SUBSCRIPTION: number;
SUBSCRIBE_AUDIO_FILTER_TOPN: any;
ENABLE_PUBLISH_AUDIO_FILTER: any;
ENABLE_USER_LICENSE_CHECK: boolean;
USE_PUB_RTX: boolean;
USE_SUB_RTX: boolean;
DISABLE_FEC: any;
ENABLE_NTP_REPORT: boolean;
ENABLE_INSTANT_VIDEO: boolean;
ENABLE_DATASTREAM_2: boolean;
ENABLE_USER_AUTO_REBALANCE_CHECK: boolean;
USE_XR: boolean;
ENABLE_LOSSBASED_BWE: boolean;
ENABLE_AUT_CC: boolean;
ENABLE_CC_FALLBACK: any;
ENABLE_PREALLOC_PC: boolean;
SUBSCRIBE_TWCC: boolean;
PUBLISH_TWCC: boolean;
ENABLE_SVC: boolean;
ENABLE_SVC_DEFAULT_CODECS: string[];
SVC: any[];
ENABLE_FULL_LINK_AV_SYNC: boolean;
SVC_MODE: any;
PRE_SUB_NUM: number;
ENABLE_PRE_SUB: boolean;
ENABLE_AUT_FEEDBACK: boolean;
PROCESS_ID: string;

@@ -992,4 +1051,2 @@ ENCRYPT_AES: boolean;

NOT_REPORT_EVENT: any[];
SUBSCRIBE_TWCC: boolean;
PUBLISH_TWCC: boolean;
PING_PONG_TIME_OUT: number;

@@ -1039,8 +1096,2 @@ WEBSOCKET_TIMEOUT_MIN: number;

PRELOAD_MEDIA_COUNT: number;
USE_PUB_RTX: boolean;
USE_SUB_RTX: boolean;
USE_XR: boolean;
ENABLE_LOSSBASED_BWE: boolean;
ENABLE_AUT_CC: any;
ENABLE_CC_FALLBACK: any;
CHECK_VIDEO_VISIBLE_INTERVAL: number;

@@ -1079,4 +1130,2 @@ CHECK_LOCAL_STATS_INTERVAL: number;

FILTER_SEND_H264_BASELINE: boolean;
ENABLE_PUBLISHED_USER_LIST: boolean;
MAX_SUBSCRIPTION: number;
X_GOOGLE_START_BITRATE: any;

@@ -1094,5 +1143,2 @@ NEW_REPORT_SERVER: boolean;

FORCE_TURN_TCP: boolean;
SUBSCRIBE_AUDIO_FILTER_TOPN: any;
ENABLE_PUBLISH_AUDIO_FILTER: any;
DISABLE_FEC: any;
WEBAUDIO_INIT_OPTIONS: any;

@@ -1107,4 +1153,2 @@ FILTER_VIDEO_FEC: boolean;

NEW_ICE_RESTART: boolean;
ENABLE_USER_LICENSE_CHECK: boolean;
SIGNAL_CHANNEL: number;
TRANSMITTER_INITIAL_RTT: number;

@@ -1138,3 +1182,2 @@ TRANSMITTER_INITIAL_RTO: number;

AP_AREA: boolean;
SVC: any[];
ENABLE_ENCODED_TRANSFORM: boolean;

@@ -1149,7 +1192,3 @@ ENABLE_VIDEO_SEI: boolean;

SHOW_GLOBAL_CLIENT_LIST: boolean;
ENABLE_DATASTREAM_2: boolean;
DATASTREAM_MAX_RETRANSMITS: number;
ENABLE_USER_AUTO_REBALANCE_CHECK: boolean;
ENABLE_INSTANT_VIDEO: boolean;
ENABLE_NTP_REPORT: boolean;
TCP_CANDIDATE_ONLY: boolean;

@@ -1409,3 +1448,3 @@ EXTERNAL_SIGNAL_REQUEST_TIMEOUT: number;

* - `"vp9"`: (Beta) Use VP9 for encoding.
* - `"av1"`: Reserved, unavailable now.
* - `"av1"`: Use AV1 for encoding.
*

@@ -1450,4 +1489,2 @@ * > Safari 12.1 or earlier does not support the VP8 codec.

get cloudProxyServerMode(): CloudProxyServerMode;
set useDataChannel(val: boolean);
get useDataChannel(): boolean;
set useP2P(val: boolean);

@@ -1508,4 +1545,2 @@ get useP2P(): boolean;

export declare function swapCase(str: string): string;
export declare const throttleByKey: any;

@@ -1515,2 +1550,4 @@

export declare function toCamelCase(snakeStr: string): string;
export declare function transferVersion(version: string): string;

@@ -1517,0 +1554,0 @@

Sorry, the diff of this file is not supported yet

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