From 23872752c002d66e104395729535e3d6f55d2b71 Mon Sep 17 00:00:00 2001 From: Krid Jin Date: Fri, 10 May 2019 16:19:34 +0800 Subject: [PATCH] add null _peerConnection.getStats add the initial param for _peerConnection.getStats for passing the compile --- lib/src/basic_sample/loopback_sample.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/basic_sample/loopback_sample.dart b/lib/src/basic_sample/loopback_sample.dart index 32702bd..d5f53e9 100644 --- a/lib/src/basic_sample/loopback_sample.dart +++ b/lib/src/basic_sample/loopback_sample.dart @@ -43,7 +43,7 @@ class _MyAppState extends State { void handleStatsReport(Timer timer) async { if (_peerConnection != null) { - List reports = await _peerConnection.getStats(); + List reports = await _peerConnection.getStats(null); reports.forEach((report) { print("report => { "); print(" id: " + report.id + ",");