From 2c0d911372b36c9b1e3c54b3c113b1b4043af0c6 Mon Sep 17 00:00:00 2001 From: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com> Date: Tue, 30 Apr 2024 08:17:47 -0400 Subject: [PATCH] RSDK-7376 Add more logs to dial (#197) --- lib/src/rpc/dial.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/rpc/dial.dart b/lib/src/rpc/dial.dart index 6339458394..f499158312 100644 --- a/lib/src/rpc/dial.dart +++ b/lib/src/rpc/dial.dart @@ -346,6 +346,8 @@ Future _dialWebRtc(String address, DialOptions options, Strin return; } + _logger.d('STATS: candidate ${candidate.candidate} gathered'); + try { final candidateProto = ICECandidate(); if (candidate.candidate != null) { @@ -458,6 +460,7 @@ Future _dialWebRtc(String address, DialOptions options, Strin response.update.candidate.sdpmLineIndex, ); try { + _logger.d('STATS: adding remote ICE candidate of ${iceCandidate.candidate}'); await peerConnection.addCandidate(iceCandidate); } catch (error, st) { _logger.e('Add candidate error', error: error, stackTrace: st);