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}
This commit is contained in:
Johannes Kron 2020-01-21 11:54:21 +01:00 committed by Commit Bot
parent 4bab2fcf6b
commit 0809e7ed43
3 changed files with 5 additions and 2 deletions

View file

@ -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",
]
}

View file

@ -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();

View file

@ -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<RtpPacketInfo>;