aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-19 05:14:16 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-19 05:14:16 +0300
commitba766608b41016546bc5be1a7246d8b60e180317 (patch)
tree0abb092cab15e180a887b00c7cde3859fa9bf12a /Software/Visual_Studio
parent1ba3500b421ddc58888a909fefdf2e2792c8e2be (diff)
downloadTango-ba766608b41016546bc5be1a7246d8b60e180317.tar.gz
Tango-ba766608b41016546bc5be1a7246d8b60e180317.zip
Dropped WebRTCAdapter request messages logging.
Diffstat (limited to 'Software/Visual_Studio')
-rw-r--r--Software/Visual_Studio/Tango.WebRTC/WebRtcTransportAdapter.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/Software/Visual_Studio/Tango.WebRTC/WebRtcTransportAdapter.cs b/Software/Visual_Studio/Tango.WebRTC/WebRtcTransportAdapter.cs
index 606f8d5c8..d6431fe60 100644
--- a/Software/Visual_Studio/Tango.WebRTC/WebRtcTransportAdapter.cs
+++ b/Software/Visual_Studio/Tango.WebRTC/WebRtcTransportAdapter.cs
@@ -121,7 +121,6 @@ namespace Tango.WebRTC
var response = await SignalingTransporter.SendGenericRequest<OfferRequest, OfferResponse>(new OfferRequest() { Offer = offer }, new TransportRequestConfig()
{
Timeout = TimeSpan.FromSeconds(30),
- ShouldLog = true
});
LogManager.Log("WebRTC offer sent and responded with an answer. Setting WebRTC answer...");
@@ -130,14 +129,13 @@ namespace Tango.WebRTC
foreach (var ice in _queuedIceCandidates.ToList())
{
- LogManager.Log("Sending existing ice candidate...");
+ LogManager.Log($"Sending existing ice candidate '{ice.Sdp}'...");
try
{
await SignalingTransporter.SendGenericRequest<IceCandidateRequest, IceCandidateResponse>(new IceCandidateRequest() { IceCandidate = ice }, new TransportRequestConfig()
{
Timeout = TimeSpan.FromSeconds(30),
- ShouldLog = true
});
}
catch (Exception ex)
@@ -216,14 +214,13 @@ namespace Tango.WebRTC
foreach (var ice in _queuedIceCandidates.ToList())
{
- LogManager.Log("Sending existing ice candidate...");
+ LogManager.Log($"Sending existing ice candidate '{ice.Sdp}'...");
try
{
await SignalingTransporter.SendGenericRequest<IceCandidateRequest, IceCandidateResponse>(new IceCandidateRequest() { IceCandidate = ice }, new TransportRequestConfig()
{
Timeout = TimeSpan.FromSeconds(30),
- ShouldLog = true
});
}
catch (Exception ex)
@@ -245,7 +242,6 @@ namespace Tango.WebRTC
await SignalingTransporter.SendGenericRequest<IceCandidateRequest, IceCandidateResponse>(new IceCandidateRequest() { IceCandidate = e.IceCandidate }, new TransportRequestConfig()
{
Timeout = TimeSpan.FromSeconds(30),
- ShouldLog = true
});
}
else
@@ -275,7 +271,7 @@ namespace Tango.WebRTC
LogManager.Log($"{ComponentName}: Ice candidate request received from the remote peer.");
await SignalingTransporter.SendGenericResponse(new IceCandidateResponse() { }, token);
- LogManager.Log("Adding ice candidate...");
+ LogManager.Log($"Adding ice candidate '{request.IceCandidate.Sdp}'...");
_client.AddIceCandidate(request.IceCandidate);
LogManager.Log($"{ComponentName}: Ice candidate added.");
}