Interface RtcEventsInterface
Methods
channel-media-relay-event
channel-media-relay-state
crypt-error
- crypt-error(): void
-
Returns void
is-using-cloud-proxy
- is-using-cloud-proxy(isUsingProxy: boolean): void
-
Returns void
live-streaming-error
- live-streaming-error(url: string, err: AgoraRTCError): void
-
Parameters
-
url: string
-
err: AgoraRTCError
Returns void
live-streaming-warning
- live-streaming-warning(url: string, warning: AgoraRTCError): void
-
Parameters
-
url: string
-
warning: AgoraRTCError
Returns void
stream-fallback
- stream-fallback(uid: UID, isFallbackOrRecover: "fallback" | "recover"): void
-
Parameters
-
-
isFallbackOrRecover: "fallback" | "recover"
Returns void
token-privilege-did-expire
- token-privilege-did-expire(): void
-
Returns void
token-privilege-will-expire
- token-privilege-will-expire(): void
-
Returns void
user-info-updated
- user-info-updated(uid: UID, msg: "mute-audio" | "mute-video" | "enable-local-video" | "unmute-audio" | "unmute-video" | "disable-local-video"): void
-
Parameters
-
-
msg: "mute-audio" | "mute-video" | "enable-local-video" | "unmute-audio" | "unmute-video" | "disable-local-video"
Returns void
user-published
- user-published(user: IAgoraRTCRemoteUser, mediaType: "audio" | "video"): void
-
Parameters
-
-
mediaType: "audio" | "video"
Returns void
user-unpublished
- user-unpublished(user: IAgoraRTCRemoteUser, mediaType: "audio" | "video"): void
-
Parameters
-
-
mediaType: "audio" | "video"
Returns void
volume-indicator
- volume-indicator(result: {
level: number;
uid: UID;
}[]): void
-
Parameters
-
result: {
level: number;
uid: UID;
}[]
Returns void