rtcRoom$onRoomStats method

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

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

Implementation

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