@agora-js/report
Advanced tools
Comparing version 4.20.2-200 to 4.20.2-300
{ | ||
"name": "@agora-js/report", | ||
"version": "4.20.2-200", | ||
"version": "4.20.2-300", | ||
"description": "logger and report module across @agora-js packages", | ||
@@ -26,5 +26,5 @@ "main": "AgoraRTC_N-report.js", | ||
"axios": "^1.6.7", | ||
"@agora-js/shared": "4.20.2-200" | ||
"@agora-js/shared": "4.20.2-300" | ||
}, | ||
"peerDependencies": {} | ||
} |
@@ -88,3 +88,2 @@ import { AgoraRTCError } from '@agora-js/shared'; | ||
export declare enum AgoraRTCEvent { | ||
PUBLISH = "publish", | ||
SUBSCRIBE = "subscribe", | ||
@@ -200,3 +199,2 @@ WS_COMPRESSOR_INIT = "ws_compressor_init", | ||
joinChannelTimeout(sessionId: string, timeout: number): void; | ||
publish(sessionId: string, params: EventReportPublishParams): void; | ||
subscribe(sessionId: string, params: EventReportSubscribeParams, isMassSubscribe?: boolean): void; | ||
@@ -254,8 +252,5 @@ wsCompressorInit(params: EventReportWsCompressorInitParams): void; | ||
RE_JOIN_GATEWAY = "io.agora.pb.Wrtc.ReJoinGateway", | ||
PUBLISH = "io.agora.pb.Wrtc.Publish", | ||
SUBSCRIBE = "io.agora.pb.Wrtc.Subscribe", | ||
WS_COMPRESSOR_INIT = "io.agora.pb.Wrtc.WsCompressorInit", | ||
STREAM_SWITCH = "io.agora.pb.Wrtc.StreamSwitch", | ||
AUDIO_SENDING_STOPPED = "io.agora.pb.Wrtc.AudioSendingStopped", | ||
VIDEO_SENDING_STOPPED = "io.agora.pb.Wrtc.VideoSendingStopped", | ||
REQUEST_PROXY_APPCENTER = "io.agora.pb.Wrtc.RequestProxyAppCenter", | ||
@@ -446,34 +441,2 @@ REQUEST_PROXY_WORKER_MANAGER = "io.agora.pb.Wrtc.RequestProxyWorkerManager", | ||
export declare enum EventNameToID { | ||
SESSION = 26, | ||
JOIN_CHOOSE_SERVER = 27, | ||
REQ_USER_ACCOUNT = 196, | ||
JOIN_GATEWAY = 28, | ||
PUBLISH = 30, | ||
SUBSCRIBE = 29, | ||
WS_COMPRESSOR_INIT = 9430, | ||
STREAM_SWITCH = 32, | ||
AUDIO_SENDING_STOPPED = 33, | ||
VIDEO_SENDING_STOPPED = 34, | ||
REQUEST_PROXY_APPCENTER = 35, | ||
REQUEST_PROXY_WORKER_MANAGER = 36, | ||
API_INVOKE = 41, | ||
FIRST_VIDEO_RECEIVED = 348, | ||
FIRST_AUDIO_RECEIVED = 349, | ||
FIRST_VIDEO_DECODE = 350, | ||
FIRST_AUDIO_DECODE = 351, | ||
ON_ADD_AUDIO_STREAM = 352, | ||
ON_ADD_VIDEO_STREAM = 353, | ||
ON_UPDATE_STREAM = 356, | ||
ON_REMOVE_STREAM = 355, | ||
JOIN_CHANNEL_TIMEOUT = 407, | ||
PEER_PUBLISH_STATUS = 408, | ||
WORKER_EVENT = 156, | ||
AP_WORKER_EVENT = 160, | ||
JOIN_WEB_PROXY_AP = 700, | ||
WEBSOCKET_QUIT = 671, | ||
USER_ANALYTICS = 10000, | ||
AUTOPLAY_FAILED = 9178 | ||
} | ||
export declare interface EventOnGatewayStreamMessage extends EventReportBase { | ||
@@ -571,2 +534,3 @@ eventType: AgoraRTCEventOnGatewayStream; | ||
lts: number; | ||
buildFormat: number; | ||
/** channel name */ | ||
@@ -633,16 +597,2 @@ cname: string; | ||
export declare interface EventReportPublishMessage extends EventReportBase { | ||
eventType: AgoraRTCEvent.PUBLISH; | ||
eventElapse: number; | ||
errorCode: null | string; | ||
videoName?: string; | ||
audioName?: string; | ||
screenName?: string; | ||
audio: boolean; | ||
video: boolean; | ||
screenshare: boolean; | ||
publishRequestid: number; | ||
p2pid: number; | ||
} | ||
export declare interface EventReportPublishParams { | ||
@@ -739,2 +689,3 @@ eventElapse: number; | ||
browser: string; | ||
buildFormat: number; | ||
build: string; | ||
@@ -741,0 +692,0 @@ mode: SDK_MODE; |
@@ -57,3 +57,2 @@ import { AgoraRTCError } from '@agora-js/shared'; | ||
export declare enum AgoraRTCEvent { | ||
PUBLISH = "publish", | ||
SUBSCRIBE = "subscribe", | ||
@@ -117,3 +116,2 @@ WS_COMPRESSOR_INIT = "ws_compressor_init", | ||
joinChannelTimeout(sessionId: string, timeout: number): void; | ||
publish(sessionId: string, params: EventReportPublishParams): void; | ||
subscribe(sessionId: string, params: EventReportSubscribeParams, isMassSubscribe?: boolean): void; | ||
@@ -171,8 +169,5 @@ wsCompressorInit(params: EventReportWsCompressorInitParams): void; | ||
RE_JOIN_GATEWAY = "io.agora.pb.Wrtc.ReJoinGateway", | ||
PUBLISH = "io.agora.pb.Wrtc.Publish", | ||
SUBSCRIBE = "io.agora.pb.Wrtc.Subscribe", | ||
WS_COMPRESSOR_INIT = "io.agora.pb.Wrtc.WsCompressorInit", | ||
STREAM_SWITCH = "io.agora.pb.Wrtc.StreamSwitch", | ||
AUDIO_SENDING_STOPPED = "io.agora.pb.Wrtc.AudioSendingStopped", | ||
VIDEO_SENDING_STOPPED = "io.agora.pb.Wrtc.VideoSendingStopped", | ||
REQUEST_PROXY_APPCENTER = "io.agora.pb.Wrtc.RequestProxyAppCenter", | ||
@@ -348,34 +343,2 @@ REQUEST_PROXY_WORKER_MANAGER = "io.agora.pb.Wrtc.RequestProxyWorkerManager", | ||
export declare enum EventNameToID { | ||
SESSION = 26, | ||
JOIN_CHOOSE_SERVER = 27, | ||
REQ_USER_ACCOUNT = 196, | ||
JOIN_GATEWAY = 28, | ||
PUBLISH = 30, | ||
SUBSCRIBE = 29, | ||
WS_COMPRESSOR_INIT = 9430, | ||
STREAM_SWITCH = 32, | ||
AUDIO_SENDING_STOPPED = 33, | ||
VIDEO_SENDING_STOPPED = 34, | ||
REQUEST_PROXY_APPCENTER = 35, | ||
REQUEST_PROXY_WORKER_MANAGER = 36, | ||
API_INVOKE = 41, | ||
FIRST_VIDEO_RECEIVED = 348, | ||
FIRST_AUDIO_RECEIVED = 349, | ||
FIRST_VIDEO_DECODE = 350, | ||
FIRST_AUDIO_DECODE = 351, | ||
ON_ADD_AUDIO_STREAM = 352, | ||
ON_ADD_VIDEO_STREAM = 353, | ||
ON_UPDATE_STREAM = 356, | ||
ON_REMOVE_STREAM = 355, | ||
JOIN_CHANNEL_TIMEOUT = 407, | ||
PEER_PUBLISH_STATUS = 408, | ||
WORKER_EVENT = 156, | ||
AP_WORKER_EVENT = 160, | ||
JOIN_WEB_PROXY_AP = 700, | ||
WEBSOCKET_QUIT = 671, | ||
USER_ANALYTICS = 10000, | ||
AUTOPLAY_FAILED = 9178 | ||
} | ||
export declare interface EventOnGatewayStreamMessage extends EventReportBase { | ||
@@ -473,2 +436,3 @@ eventType: AgoraRTCEventOnGatewayStream; | ||
lts: number; | ||
buildFormat: number; | ||
cname: string; | ||
@@ -534,16 +498,2 @@ appid: string; | ||
export declare interface EventReportPublishMessage extends EventReportBase { | ||
eventType: AgoraRTCEvent.PUBLISH; | ||
eventElapse: number; | ||
errorCode: null | string; | ||
videoName?: string; | ||
audioName?: string; | ||
screenName?: string; | ||
audio: boolean; | ||
video: boolean; | ||
screenshare: boolean; | ||
publishRequestid: number; | ||
p2pid: number; | ||
} | ||
export declare interface EventReportPublishParams { | ||
@@ -640,2 +590,3 @@ eventElapse: number; | ||
browser: string; | ||
buildFormat: number; | ||
build: string; | ||
@@ -642,0 +593,0 @@ mode: SDK_MODE; |
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
223812
2351
+ Added@agora-js/shared@4.20.2-300(transitive)
- Removed@agora-js/shared@4.20.2-200(transitive)
Updated@agora-js/shared@4.20.2-300