Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Zimmerman committed Dec 18, 2024
1 parent 25166b5 commit 6b1cb62
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ import 'package:uuid/uuid.dart';

class WebRTCStatsReporter {
WebRTCStatsReporter(
this.socket, this.peerConnection, this.callId, this.peerId);
this.socket,
this.peerConnection,
this.callId,
this.peerId,
);

final Logger _logger = Logger();
final Queue<String> _messageQueue = Queue<String>();
Expand Down Expand Up @@ -206,7 +210,9 @@ class WebRTCStatsReporter {
...report.values,
'timestamp': timestamp,
'track': _constructTrack(
report.values.cast<String, dynamic>(), timestamp),
report.values.cast<String, dynamic>(),
timestamp,
),
});
break;

Expand Down Expand Up @@ -317,7 +323,6 @@ class WebRTCStatsReporter {
'outbound': audioOutboundStats,
},
'connection': succeededConnection ?? {},
// Use empty map if no succeeded connection
};

final reportData = {
Expand All @@ -328,7 +333,6 @@ class WebRTCStatsReporter {
'timestamp': DateTime.now().toUtc().toIso8601String(),
'data': _normalizeData(formattedData),
'statsObject': statsObject,
// Includes all candidate-pair and other reports
};

final message = DebugReportDataMessage(
Expand Down

0 comments on commit 6b1cb62

Please sign in to comment.