rtcRoom$onRoomStats method

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

@detail callback @region 多房间 @author yejing @brief 房间内通话统计信息回调。
用户进房开始通话后,每 2s 收到一次本回调。 @param rtcRoom ByteRTCGameRoom 实例。 @param stats 当前 ByteRTCGameRoom 统计数据,详见:ByteRTCRoomStats{@link #ByteRTCRoomStats}。

Implementation

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