Skip to content

Commit 6123dbb

Browse files
authored
Merge pull request #23 from vasopikof/master
add null _peerConnection.getStats
2 parents cd5c8d0 + 2387275 commit 6123dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/basic_sample/loopback_sample.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class _MyAppState extends State<LoopBackSample> {
4343

4444
void handleStatsReport(Timer timer) async {
4545
if (_peerConnection != null) {
46-
List<StatsReport> reports = await _peerConnection.getStats();
46+
List<StatsReport> reports = await _peerConnection.getStats(null);
4747
reports.forEach((report) {
4848
print("report => { ");
4949
print(" id: " + report.id + ",");

0 commit comments

Comments
 (0)