WebRTCStatsReporter constructor

WebRTCStatsReporter(
  1. TxSocket socket,
  2. RTCPeerConnection peerConnection,
  3. String callId,
  4. String peerId,
  5. bool sendStats, {
  6. CallQualityCallback? onCallQualityChange,
})

Default constructor that initializes the WebRTCStatsReporter with the provided parameters

Implementation

WebRTCStatsReporter(
  this.socket,
  this.peerConnection,
  this.callId,
  this.peerId,
  this.sendStats, {
  this.onCallQualityChange,
});