Add missing RTC_EXPORT for the component build.

Bug: webrtc:9419
Change-Id: I3225259fb4cc55e9820f590928795f4587f1e3cb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153884
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29479}
This commit is contained in:
Mirko Bonadei
2019-09-23 14:54:28 +02:00
committed by Commit Bot
parent ef0627fb50
commit 35214fcfe2
58 changed files with 172 additions and 104 deletions

View File

@ -91,7 +91,7 @@ enum class DegradationPreference {
RTC_EXPORT extern const double kDefaultBitratePriority;
struct RtcpFeedback {
struct RTC_EXPORT RtcpFeedback {
RtcpFeedbackType type = RtcpFeedbackType::CCM;
// Equivalent to ORTC "parameter" field with slight differences:
@ -116,7 +116,7 @@ struct RtcpFeedback {
// RtpCodecCapability is to RtpCodecParameters as RtpCapabilities is to
// RtpParameters. This represents the static capabilities of an endpoint's
// implementation of a codec.
struct RtpCodecCapability {
struct RTC_EXPORT RtpCodecCapability {
RtpCodecCapability();
~RtpCodecCapability();
@ -230,7 +230,7 @@ struct RtpHeaderExtensionCapability {
};
// RTP header extension, see RFC8285.
struct RtpExtension {
struct RTC_EXPORT RtpExtension {
RtpExtension();
RtpExtension(const std::string& uri, int id);
RtpExtension(const std::string& uri, int id, bool encrypt);
@ -332,7 +332,7 @@ struct RtpExtension {
// TODO(deadbeef): This is missing the "encrypt" flag, which is unimplemented.
typedef RtpExtension RtpHeaderExtensionParameters;
struct RtpFecParameters {
struct RTC_EXPORT RtpFecParameters {
// If unset, a value is chosen by the implementation.
// Works just like RtpEncodingParameters::ssrc.
absl::optional<uint32_t> ssrc;
@ -352,7 +352,7 @@ struct RtpFecParameters {
bool operator!=(const RtpFecParameters& o) const { return !(*this == o); }
};
struct RtpRtxParameters {
struct RTC_EXPORT RtpRtxParameters {
// If unset, a value is chosen by the implementation.
// Works just like RtpEncodingParameters::ssrc.
absl::optional<uint32_t> ssrc;
@ -502,7 +502,7 @@ struct RTC_EXPORT RtpEncodingParameters {
}
};
struct RtpCodecParameters {
struct RTC_EXPORT RtpCodecParameters {
RtpCodecParameters();
RtpCodecParameters(const RtpCodecParameters&);
~RtpCodecParameters();