Add RtpPacketInfo and RtpPacketInfos to RTC_EXPORT

Bug: none
Change-Id: I731bded442edeb98025c2af3923175dcf6596942
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166881
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30333}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index f0b5eeb..f2a940e 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -96,6 +96,7 @@
     "..: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 6973027..21cfefb 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 @@
 // 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 08da1ae..d636464 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 @@
 // |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<RtpPacketInfo>;