Prevent warning logs when signaling stats from connectionless sockets.

Signaling per-packet stats invokes GetRemoteAddress and a warning log is
output for each signal in SendTo for UDP sockets. This creates noise in
the debug log.

Bug: webrtc:9103
Change-Id: Ibf4667cf196aef971452f745bef3c02fb1dbf3d4
Reviewed-on: https://webrtc-review.googlesource.com/70364
Commit-Queue: Qingsi Wang <qingsi@google.com>
Reviewed-by: Bjorn Mellem <mellem@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22911}
This commit is contained in:
Qingsi Wang
2018-04-16 18:22:31 -07:00
committed by Commit Bot
parent 0676f224f8
commit 4ea53b356d
4 changed files with 8 additions and 4 deletions

View File

@ -145,6 +145,7 @@ class AsyncPacketSocket : public sigslot::has_slots<> {
void CopySocketInformationToPacketInfo(size_t packet_size_bytes,
const AsyncPacketSocket& socket_from,
bool is_connectionless,
rtc::PacketInfo* info);
} // namespace rtc