summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/rtc_base/async_udp_socket.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/libwebrtc/rtc_base/async_udp_socket.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/libwebrtc/rtc_base/async_udp_socket.h b/third_party/libwebrtc/rtc_base/async_udp_socket.h
index 4198b25c4d..af361b98ea 100644
--- a/third_party/libwebrtc/rtc_base/async_udp_socket.h
+++ b/third_party/libwebrtc/rtc_base/async_udp_socket.h
@@ -18,6 +18,7 @@
#include "absl/types/optional.h"
#include "api/sequence_checker.h"
+#include "api/units/time_delta.h"
#include "rtc_base/async_packet_socket.h"
#include "rtc_base/socket.h"
#include "rtc_base/socket_address.h"
@@ -68,9 +69,9 @@ class AsyncUDPSocket : public AsyncPacketSocket {
RTC_NO_UNIQUE_ADDRESS webrtc::SequenceChecker sequence_checker_;
std::unique_ptr<Socket> socket_;
- static constexpr int BUF_SIZE = 64 * 1024;
- char buf_[BUF_SIZE] RTC_GUARDED_BY(sequence_checker_);
- absl::optional<int64_t> socket_time_offset_ RTC_GUARDED_BY(sequence_checker_);
+ rtc::Buffer buffer_ RTC_GUARDED_BY(sequence_checker_);
+ absl::optional<webrtc::TimeDelta> socket_time_offset_
+ RTC_GUARDED_BY(sequence_checker_);
};
} // namespace rtc