Adaptive constructor
Adaptive(
- RTCPeerConnection conn,
- void metricCallback(
- String data
Implementation
Adaptive(RTCPeerConnection conn, void Function(String data) metricCallback) {
this.conn = conn;
this.running = true;
this.metricCallback = metricCallback;
this.startCollectingStat(this.conn);
}