Skip to content

Commit c7d681f

Browse files
PerondasPerondasPerondascloudwebrtc
authored
Added the ability to get call statistics (#314)
* Added default response to cancellation * Added flag to stop ConcurrentModificationError when stopping ua * update. * Added the ability to get call stats Co-authored-by: Perondas <114622@fhwn.ac.at> Co-authored-by: Perondas <Pperondas@gmail.com> Co-authored-by: cloudwebrtc <duanweiwei1982@gmail.com>
1 parent ae58a18 commit c7d681f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/sip_ua_helper.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,10 @@ class Call {
554554
}
555555
return peerHasMediaLine;
556556
}
557+
558+
Future<List<StatsReport>>? getStats([MediaStreamTrack? track]) {
559+
return peerConnection?.getStats(track);
560+
}
557561
}
558562

559563
class CallState {

0 commit comments

Comments
 (0)