@agora-js/report
Advanced tools
Comparing version 4.19.1 to 4.19.2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201164
2308
Updated@agora-js/shared@^4.19.2