rtcRoom$onRemoteStreamStats$info$stats method
FutureOr<void>
rtcRoom$onRemoteStreamStats$info$stats(
- ByteRTCGameRoom rtcRoom,
- NSString streamId,
- ByteRTCStreamInfo info,
- ByteRTCRemoteStreamStats stats,
@detail callback
@author yejing
@brief Remote audio/video stream statistics and network quality callbacks for local subscriptions.
After the local user subscribes to the stream successfully, the SDK will periodically (2s) notify the user through this callback event of the quality statistics of the subscribed stream during this reference period, including: sending audio & video bit rate, sending frame rate, encoded frame rate, network quality, etc.
@param rtcRoom ByteRTCGameRoom instance.
@param streamId Stream ID.
@param info Stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}.
@param stats Current room remote stream statistics. See: ByteRTCRemoteStreamStats{@link #ByteRTCRemoteStreamStats}.
Implementation
FutureOr<void> rtcRoom$onRemoteStreamStats$info$stats(
ByteRTCGameRoom rtcRoom,
NSString streamId,
ByteRTCStreamInfo info,
ByteRTCRemoteStreamStats stats) async {}