rtcRoom$onRoomStats method

FutureOr<void> rtcRoom$onRoomStats(
  1. ByteRTCGameRoom rtcRoom,
  2. ByteRTCRoomStats stats
)

@detail callback @author yejing @brief In-room call statistics callback.
After the user enters the room and starts the call, he receives this callback every 2s. @param rtcRoom ByteRTCGameRoom instance. @param stats Current ByteRTCGameRoom statistics, see: ByteRTCRoomStats{@link #ByteRTCRoomStats}

Implementation

FutureOr<void> rtcRoom$onRoomStats(
    ByteRTCGameRoom rtcRoom, ByteRTCRoomStats stats) async {}