interface NERtcCallback {
    onClientRoleChange(oldRole, newRole): void;
    onDisconnect(reason): void;
    onJoinChannel(result, channelId, elapsed, uid): void;
    onLeaveChannel(result): void;
    onRecvSEIMsg(userId, data, dataSize): void;
    onUserAudioStart(uid): void;
    onUserAudioStop(uid): void;
    onUserJoined(uid, extraInfo?): void;
    onUserLeave(uid, reason, extraInfo?): void;
    onUserVideoStart(uid, maxProfile): void;
    onUserVideoStop(uid): void;
}

Implemented by

Methods

  • Parameters

    • oldRole: number
    • newRole: number

    Returns void

  • Parameters

    • reason: number

    Returns void

  • Parameters

    • result: number
    • channelId: bigint
    • elapsed: bigint
    • uid: bigint

    Returns void

  • Parameters

    • result: number

    Returns void

  • Parameters

    • userId: bigint
    • data: Uint8Array
    • dataSize: number

    Returns void

  • Parameters

    • uid: bigint

    Returns void

  • Parameters

    • uid: bigint

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • uid: bigint
    • maxProfile: number

    Returns void

  • Parameters

    • uid: bigint

    Returns void