rtcRoom$onRemoteStreamStats$info$stats method
FutureOr<void>
rtcRoom$onRemoteStreamStats$info$stats(
- ByteRTCRoom 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 ByteRTCRoom object.
@param streamId Stream ID.
@param info Stream information.
@param stats Current room local stream statistics. See: ByteRTCRemoteStreamStats{@link #ByteRTCRemoteStreamStats}
Implementation
FutureOr<void> rtcRoom$onRemoteStreamStats$info$stats(
ByteRTCRoom rtcRoom,
NSString streamId,
ByteRTCStreamInfo info,
ByteRTCRemoteStreamStats stats) async {}