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

@agora-js/report

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/report - npm Package Compare versions

Comparing version 4.19.1 to 4.19.2

4

package.json
{
"name": "@agora-js/report",
"version": "4.19.1",
"version": "4.19.2",
"description": "logger and report module across @agora-js packages",

@@ -26,5 +26,5 @@ "main": "AgoraRTC_N-report.js",

"axios": "^0.27.2",
"@agora-js/shared": "^4.19.1"
"@agora-js/shared": "^4.19.2"
},
"peerDependencies": {}
}
import { AgoraRTCError } from '@agora-js/shared';
import { EventEmitter } from '@agora-js/shared';
import { NETWORK_STATE } from '@agora-js/shared';
import type { SDK_CODEC } from '@agora-js/shared';
import type { SDK_MODE } from '@agora-js/shared';

@@ -204,2 +205,3 @@ import type { UID } from '@agora-js/shared';

pcStats(sessionId: string, params: EventPCStatsParams): void;
updateRemoteRTPCapabilities(sessionId: string | null, params: EventUpdateRemoteRTPCapabilitiesParams): void;
onGatewayStream(sessionId: string, eventType: AgoraRTCEventOnGatewayStream, uploadType: AgoraRTCEventUploadOnGatewayStream, params: EventOnGatewayStreamParams): void;

@@ -774,2 +776,18 @@ streamSwitch(sessionId: string, params: EventReportStreamSwitchParams): void;

export declare interface EventUpdateRemoteRTPCapabilitiesParams {
/**
* 实际发流的m-line
* mids 为空时,表示此时没有发流
*/
mids: string[];
/**
* 本地媒体能力
*/
localCodecs: SDK_CODEC[];
/**
* 对端媒体能力
*/
remoteCodecs: SDK_CODEC[];
}
export declare type EventUploadData = [...BaseUploadData, [string, string | undefined]];

@@ -776,0 +794,0 @@

import { AgoraRTCError } from '@agora-js/shared';
import { EventEmitter } from '@agora-js/shared';
import { NETWORK_STATE } from '@agora-js/shared';
import type { SDK_CODEC } from '@agora-js/shared';
import type { SDK_MODE } from '@agora-js/shared';

@@ -121,2 +122,3 @@ import type { UID } from '@agora-js/shared';

pcStats(sessionId: string, params: EventPCStatsParams): void;
updateRemoteRTPCapabilities(sessionId: string | null, params: EventUpdateRemoteRTPCapabilitiesParams): void;
onGatewayStream(sessionId: string, eventType: AgoraRTCEventOnGatewayStream, uploadType: AgoraRTCEventUploadOnGatewayStream, params: EventOnGatewayStreamParams): void;

@@ -675,2 +677,8 @@ streamSwitch(sessionId: string, params: EventReportStreamSwitchParams): void;

export declare interface EventUpdateRemoteRTPCapabilitiesParams {
mids: string[];
localCodecs: SDK_CODEC[];
remoteCodecs: SDK_CODEC[];
}
export declare type EventUploadData = [...BaseUploadData, [string, string | undefined]];

@@ -677,0 +685,0 @@

Sorry, the diff of this file is not supported yet

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