diff --git a/api/BUILD.gn b/api/BUILD.gn index f0b5eeb1ae..f2a940eae6 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -96,6 +96,7 @@ rtc_library("rtp_packet_info") { "..:webrtc_common", "../rtc_base:deprecation", "../rtc_base:rtc_base_approved", + "../rtc_base/system:rtc_export", "//third_party/abseil-cpp/absl/types:optional", ] } diff --git a/api/rtp_packet_info.h b/api/rtp_packet_info.h index 6973027a31..21cfefb748 100644 --- a/api/rtp_packet_info.h +++ b/api/rtp_packet_info.h @@ -18,6 +18,7 @@ #include "absl/types/optional.h" #include "api/rtp_headers.h" #include "rtc_base/deprecation.h" +#include "rtc_base/system/rtc_export.h" namespace webrtc { @@ -26,7 +27,7 @@ namespace webrtc { // used to carry per-packet information from when a packet is received until // the information is passed to |SourceTracker|. // -class RtpPacketInfo { +class RTC_EXPORT RtpPacketInfo { public: RtpPacketInfo(); diff --git a/api/rtp_packet_infos.h b/api/rtp_packet_infos.h index 08da1aee61..d63646414d 100644 --- a/api/rtp_packet_infos.h +++ b/api/rtp_packet_infos.h @@ -18,6 +18,7 @@ #include "api/ref_counted_base.h" #include "api/rtp_packet_info.h" #include "api/scoped_refptr.h" +#include "rtc_base/system/rtc_export.h" namespace webrtc { @@ -29,7 +30,7 @@ namespace webrtc { // |std::move()|-ed as the per-packet information is transferred from one object // to another. But moving the info, instead of copying it, is not easily done // for the current video code. -class RtpPacketInfos { +class RTC_EXPORT RtpPacketInfos { public: using vector_type = std::vector;