Rename RTC_EXPORT to RTC_OBJC_EXPORT.
A new version of RTC_EXPORT will be introduced by [1] and it will be
used by WebRTC native code.
This CL renames the current RTC_EXPORT to RTC_OBJC_EXPORT in order
to avoid to mix them. It has been decided to avoid to unify them because
RTC_OBJC_EXPORT always marks symbols with default visibility, while
RTC_EXPORT will do it only when COMPONENT_BUILD is defined.
[1] - https://webrtc-review.googlesource.com/c/src/+/97960 is
Bug: webrtc:9419
Change-Id: I56a3fc6601c72d3ad6a58f9961a00e3761dfb5da
Reviewed-on: https://webrtc-review.googlesource.com/100521
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24754}
diff --git a/sdk/objc/api/logging/RTCCallbackLogger.h b/sdk/objc/api/logging/RTCCallbackLogger.h
index 669f2a3..4867b31 100644
--- a/sdk/objc/api/logging/RTCCallbackLogger.h
+++ b/sdk/objc/api/logging/RTCCallbackLogger.h
@@ -17,7 +17,7 @@
// This class intercepts WebRTC logs and forwards them to a registered block.
// This class is not threadsafe.
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCCallbackLogger : NSObject
// The severity level to capture. The default is kRTCLoggingSeverityInfo.
diff --git a/sdk/objc/api/peerconnection/RTCAudioSource.h b/sdk/objc/api/peerconnection/RTCAudioSource.h
index f6bccc9..d1030e3 100644
--- a/sdk/objc/api/peerconnection/RTCAudioSource.h
+++ b/sdk/objc/api/peerconnection/RTCAudioSource.h
@@ -15,7 +15,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCAudioSource : RTCMediaSource
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCAudioTrack.h b/sdk/objc/api/peerconnection/RTCAudioTrack.h
index 4fb634f..501ef92 100644
--- a/sdk/objc/api/peerconnection/RTCAudioTrack.h
+++ b/sdk/objc/api/peerconnection/RTCAudioTrack.h
@@ -15,7 +15,7 @@
@class RTCAudioSource;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCAudioTrack : RTCMediaStreamTrack
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCCertificate.h b/sdk/objc/api/peerconnection/RTCCertificate.h
index f6e9d02..50c1ca5 100644
--- a/sdk/objc/api/peerconnection/RTCCertificate.h
+++ b/sdk/objc/api/peerconnection/RTCCertificate.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCCertificate : NSObject <NSCopying>
/** Private key in PEM. */
diff --git a/sdk/objc/api/peerconnection/RTCConfiguration.h b/sdk/objc/api/peerconnection/RTCConfiguration.h
index bc70f0f..9fb8b4d 100644
--- a/sdk/objc/api/peerconnection/RTCConfiguration.h
+++ b/sdk/objc/api/peerconnection/RTCConfiguration.h
@@ -69,7 +69,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCConfiguration : NSObject
/** An array of Ice Servers available to be used by ICE. */
diff --git a/sdk/objc/api/peerconnection/RTCDataChannel.h b/sdk/objc/api/peerconnection/RTCDataChannel.h
index 8bde372..0cc2de8 100644
--- a/sdk/objc/api/peerconnection/RTCDataChannel.h
+++ b/sdk/objc/api/peerconnection/RTCDataChannel.h
@@ -15,7 +15,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCDataBuffer : NSObject
/** NSData representation of the underlying buffer. */
@@ -35,7 +35,7 @@
@end
@class RTCDataChannel;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCDataChannelDelegate <NSObject>
/** The data channel state changed. */
@@ -59,7 +59,7 @@
RTCDataChannelStateClosed,
};
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCDataChannel : NSObject
/**
diff --git a/sdk/objc/api/peerconnection/RTCDataChannelConfiguration.h b/sdk/objc/api/peerconnection/RTCDataChannelConfiguration.h
index de4b72a..96d33f4 100644
--- a/sdk/objc/api/peerconnection/RTCDataChannelConfiguration.h
+++ b/sdk/objc/api/peerconnection/RTCDataChannelConfiguration.h
@@ -15,7 +15,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCDataChannelConfiguration : NSObject
/** Set to YES if ordered delivery is required. */
diff --git a/sdk/objc/api/peerconnection/RTCDtmfSender.h b/sdk/objc/api/peerconnection/RTCDtmfSender.h
index 1beed5c..5d86d01 100644
--- a/sdk/objc/api/peerconnection/RTCDtmfSender.h
+++ b/sdk/objc/api/peerconnection/RTCDtmfSender.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCDtmfSender <NSObject>
/**
diff --git a/sdk/objc/api/peerconnection/RTCFileLogger.h b/sdk/objc/api/peerconnection/RTCFileLogger.h
index 36b0f75..cd5c1c4 100644
--- a/sdk/objc/api/peerconnection/RTCFileLogger.h
+++ b/sdk/objc/api/peerconnection/RTCFileLogger.h
@@ -33,7 +33,7 @@
// are preserved while the middle section is overwritten instead.
// For kRTCFileLoggerTypeApp, the oldest log is overwritten.
// This class is not threadsafe.
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCFileLogger : NSObject
// The severity level to capture. The default is kRTCFileLoggerSeverityInfo.
diff --git a/sdk/objc/api/peerconnection/RTCIceCandidate.h b/sdk/objc/api/peerconnection/RTCIceCandidate.h
index 7c72e56..3e305cc 100644
--- a/sdk/objc/api/peerconnection/RTCIceCandidate.h
+++ b/sdk/objc/api/peerconnection/RTCIceCandidate.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCIceCandidate : NSObject
/**
diff --git a/sdk/objc/api/peerconnection/RTCIceServer.h b/sdk/objc/api/peerconnection/RTCIceServer.h
index c2def04..ab5fc4a 100644
--- a/sdk/objc/api/peerconnection/RTCIceServer.h
+++ b/sdk/objc/api/peerconnection/RTCIceServer.h
@@ -19,7 +19,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCIceServer : NSObject
/** URI(s) for this server represented as NSStrings. */
diff --git a/sdk/objc/api/peerconnection/RTCLegacyStatsReport.h b/sdk/objc/api/peerconnection/RTCLegacyStatsReport.h
index 5ea9ff5..85f2b8f 100644
--- a/sdk/objc/api/peerconnection/RTCLegacyStatsReport.h
+++ b/sdk/objc/api/peerconnection/RTCLegacyStatsReport.h
@@ -15,7 +15,7 @@
NS_ASSUME_NONNULL_BEGIN
/** This does not currently conform to the spec. */
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCLegacyStatsReport : NSObject
/** Time since 1970-01-01T00:00:00Z in milliseconds. */
diff --git a/sdk/objc/api/peerconnection/RTCMediaConstraints.h b/sdk/objc/api/peerconnection/RTCMediaConstraints.h
index adde356..eb12a59 100644
--- a/sdk/objc/api/peerconnection/RTCMediaConstraints.h
+++ b/sdk/objc/api/peerconnection/RTCMediaConstraints.h
@@ -38,7 +38,7 @@
RTC_EXTERN NSString *const kRTCMediaConstraintsValueTrue;
RTC_EXTERN NSString *const kRTCMediaConstraintsValueFalse;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMediaConstraints : NSObject
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCMediaSource.h b/sdk/objc/api/peerconnection/RTCMediaSource.h
index 9a1137a..838c783 100644
--- a/sdk/objc/api/peerconnection/RTCMediaSource.h
+++ b/sdk/objc/api/peerconnection/RTCMediaSource.h
@@ -21,7 +21,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMediaSource : NSObject
/** The current state of the RTCMediaSource. */
diff --git a/sdk/objc/api/peerconnection/RTCMediaStream.h b/sdk/objc/api/peerconnection/RTCMediaStream.h
index 675e4b9..bb9bec6 100644
--- a/sdk/objc/api/peerconnection/RTCMediaStream.h
+++ b/sdk/objc/api/peerconnection/RTCMediaStream.h
@@ -18,7 +18,7 @@
@class RTCPeerConnectionFactory;
@class RTCVideoTrack;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMediaStream : NSObject
/** The audio tracks in this stream. */
diff --git a/sdk/objc/api/peerconnection/RTCMediaStreamTrack.h b/sdk/objc/api/peerconnection/RTCMediaStreamTrack.h
index 60c9af4..d1ea0f2 100644
--- a/sdk/objc/api/peerconnection/RTCMediaStreamTrack.h
+++ b/sdk/objc/api/peerconnection/RTCMediaStreamTrack.h
@@ -25,7 +25,7 @@
RTC_EXTERN NSString *const kRTCMediaStreamTrackKindAudio;
RTC_EXTERN NSString *const kRTCMediaStreamTrackKindVideo;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMediaStreamTrack : NSObject
/**
diff --git a/sdk/objc/api/peerconnection/RTCMetricsSampleInfo.h b/sdk/objc/api/peerconnection/RTCMetricsSampleInfo.h
index 707f866..cd38ab9 100644
--- a/sdk/objc/api/peerconnection/RTCMetricsSampleInfo.h
+++ b/sdk/objc/api/peerconnection/RTCMetricsSampleInfo.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMetricsSampleInfo : NSObject
/**
diff --git a/sdk/objc/api/peerconnection/RTCPeerConnection.h b/sdk/objc/api/peerconnection/RTCPeerConnection.h
index fa1e3c1..0179ec0 100644
--- a/sdk/objc/api/peerconnection/RTCPeerConnection.h
+++ b/sdk/objc/api/peerconnection/RTCPeerConnection.h
@@ -72,7 +72,7 @@
@class RTCPeerConnection;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCPeerConnectionDelegate <NSObject>
/** Called when the SignalingState changed. */
@@ -130,7 +130,7 @@
@end
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCPeerConnection : NSObject
/** The object that will be notifed about events such as state changes and
diff --git a/sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h b/sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h
index a5faeae..c808218 100644
--- a/sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h
+++ b/sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h
@@ -27,7 +27,7 @@
@protocol RTCVideoDecoderFactory;
@protocol RTCVideoEncoderFactory;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCPeerConnectionFactory : NSObject
/* Initialize object with default H264 video encoder/decoder factories */
diff --git a/sdk/objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h b/sdk/objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h
index 26a743b..af327f9 100644
--- a/sdk/objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h
+++ b/sdk/objc/api/peerconnection/RTCPeerConnectionFactoryOptions.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCPeerConnectionFactoryOptions : NSObject
@property(nonatomic, assign) BOOL disableEncryption;
diff --git a/sdk/objc/api/peerconnection/RTCRtcpParameters.h b/sdk/objc/api/peerconnection/RTCRtcpParameters.h
index 2f4c43b..5c26580 100644
--- a/sdk/objc/api/peerconnection/RTCRtcpParameters.h
+++ b/sdk/objc/api/peerconnection/RTCRtcpParameters.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtcpParameters : NSObject
/** The Canonical Name used by RTCP. */
diff --git a/sdk/objc/api/peerconnection/RTCRtpCodecParameters.h b/sdk/objc/api/peerconnection/RTCRtpCodecParameters.h
index cb69a37..5d3cac5 100644
--- a/sdk/objc/api/peerconnection/RTCRtpCodecParameters.h
+++ b/sdk/objc/api/peerconnection/RTCRtpCodecParameters.h
@@ -32,7 +32,7 @@
RTC_EXTERN const NSString *const kRTCH264CodecName;
/** Defined in http://w3c.github.io/webrtc-pc/#idl-def-RTCRtpCodecParameters */
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpCodecParameters : NSObject
/** The RTP payload type. */
diff --git a/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h b/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
index 900b379..0634791 100644
--- a/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
+++ b/sdk/objc/api/peerconnection/RTCRtpEncodingParameters.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpEncodingParameters : NSObject
/** Controls whether the encoding is currently transmitted. */
diff --git a/sdk/objc/api/peerconnection/RTCRtpHeaderExtension.h b/sdk/objc/api/peerconnection/RTCRtpHeaderExtension.h
index 8dd80ff..3211449 100644
--- a/sdk/objc/api/peerconnection/RTCRtpHeaderExtension.h
+++ b/sdk/objc/api/peerconnection/RTCRtpHeaderExtension.h
@@ -14,7 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpHeaderExtension : NSObject
/** The URI of the RTP header extension, as defined in RFC5285. */
diff --git a/sdk/objc/api/peerconnection/RTCRtpParameters.h b/sdk/objc/api/peerconnection/RTCRtpParameters.h
index a4acc9b..c1f2d5c 100644
--- a/sdk/objc/api/peerconnection/RTCRtpParameters.h
+++ b/sdk/objc/api/peerconnection/RTCRtpParameters.h
@@ -18,7 +18,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpParameters : NSObject
/** A unique identifier for the last set of parameters applied. */
diff --git a/sdk/objc/api/peerconnection/RTCRtpReceiver.h b/sdk/objc/api/peerconnection/RTCRtpReceiver.h
index 9023479..7a7dace 100644
--- a/sdk/objc/api/peerconnection/RTCRtpReceiver.h
+++ b/sdk/objc/api/peerconnection/RTCRtpReceiver.h
@@ -25,7 +25,7 @@
@class RTCRtpReceiver;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCRtpReceiverDelegate <NSObject>
/** Called when the first RTP packet is received.
@@ -45,7 +45,7 @@
@end
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCRtpReceiver <NSObject>
/** A unique identifier for this receiver. */
@@ -72,7 +72,7 @@
@end
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpReceiver : NSObject <RTCRtpReceiver>
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCRtpSender.h b/sdk/objc/api/peerconnection/RTCRtpSender.h
index 55ab383..49f61b8 100644
--- a/sdk/objc/api/peerconnection/RTCRtpSender.h
+++ b/sdk/objc/api/peerconnection/RTCRtpSender.h
@@ -17,7 +17,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCRtpSender <NSObject>
/** A unique identifier for this sender. */
@@ -40,7 +40,7 @@
@end
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpSender : NSObject <RTCRtpSender>
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCRtpTransceiver.h b/sdk/objc/api/peerconnection/RTCRtpTransceiver.h
index 402b04e..8b962e4 100644
--- a/sdk/objc/api/peerconnection/RTCRtpTransceiver.h
+++ b/sdk/objc/api/peerconnection/RTCRtpTransceiver.h
@@ -56,7 +56,7 @@
* WebRTC specification for RTCRtpTransceiver, the JavaScript analog:
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver
*/
-RTC_EXPORT
+RTC_OBJC_EXPORT
@protocol RTCRtpTransceiver <NSObject>
/** Media type of the transceiver. The sender and receiver will also have this
@@ -118,7 +118,7 @@
@end
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCRtpTransceiver : NSObject <RTCRtpTransceiver>
- (instancetype)init NS_UNAVAILABLE;
diff --git a/sdk/objc/api/peerconnection/RTCSessionDescription.h b/sdk/objc/api/peerconnection/RTCSessionDescription.h
index bef3a4c..b9bcab1 100644
--- a/sdk/objc/api/peerconnection/RTCSessionDescription.h
+++ b/sdk/objc/api/peerconnection/RTCSessionDescription.h
@@ -24,7 +24,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCSessionDescription : NSObject
/** The type of session description. */
diff --git a/sdk/objc/api/peerconnection/RTCVideoSource.h b/sdk/objc/api/peerconnection/RTCVideoSource.h
index 1ead394..ec8a45c 100644
--- a/sdk/objc/api/peerconnection/RTCVideoSource.h
+++ b/sdk/objc/api/peerconnection/RTCVideoSource.h
@@ -16,7 +16,7 @@
NS_ASSUME_NONNULL_BEGIN
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoSource : RTCMediaSource <RTCVideoCapturerDelegate>
diff --git a/sdk/objc/api/peerconnection/RTCVideoTrack.h b/sdk/objc/api/peerconnection/RTCVideoTrack.h
index 547f4d4..b946889 100644
--- a/sdk/objc/api/peerconnection/RTCVideoTrack.h
+++ b/sdk/objc/api/peerconnection/RTCVideoTrack.h
@@ -18,7 +18,7 @@
@class RTCPeerConnectionFactory;
@class RTCVideoSource;
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoTrack : RTCMediaStreamTrack
/** The video source for this video track. */
diff --git a/sdk/objc/api/video_codec/RTCVideoCodecConstants.h b/sdk/objc/api/video_codec/RTCVideoCodecConstants.h
index fb9043f..03f36e2 100644
--- a/sdk/objc/api/video_codec/RTCVideoCodecConstants.h
+++ b/sdk/objc/api/video_codec/RTCVideoCodecConstants.h
@@ -12,5 +12,5 @@
#import "RTCMacros.h"
-RTC_EXPORT extern NSString *const kRTCVideoCodecVp8Name;
-RTC_EXPORT extern NSString *const kRTCVideoCodecVp9Name;
+RTC_OBJC_EXPORT extern NSString* const kRTCVideoCodecVp8Name;
+RTC_OBJC_EXPORT extern NSString* const kRTCVideoCodecVp9Name;
diff --git a/sdk/objc/api/video_codec/RTCVideoDecoderVP8.h b/sdk/objc/api/video_codec/RTCVideoDecoderVP8.h
index e5050ff..00786dc 100644
--- a/sdk/objc/api/video_codec/RTCVideoDecoderVP8.h
+++ b/sdk/objc/api/video_codec/RTCVideoDecoderVP8.h
@@ -13,7 +13,7 @@
#import "RTCMacros.h"
#import "RTCVideoDecoder.h"
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoDecoderVP8 : NSObject
/* This returns a VP8 decoder that can be returned from a RTCVideoDecoderFactory injected into
diff --git a/sdk/objc/api/video_codec/RTCVideoDecoderVP9.h b/sdk/objc/api/video_codec/RTCVideoDecoderVP9.h
index 06d0a03..b74c1ef 100644
--- a/sdk/objc/api/video_codec/RTCVideoDecoderVP9.h
+++ b/sdk/objc/api/video_codec/RTCVideoDecoderVP9.h
@@ -13,7 +13,7 @@
#import "RTCMacros.h"
#import "RTCVideoDecoder.h"
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoDecoderVP9 : NSObject
/* This returns a VP9 decoder that can be returned from a RTCVideoDecoderFactory injected into
diff --git a/sdk/objc/api/video_codec/RTCVideoEncoderVP8.h b/sdk/objc/api/video_codec/RTCVideoEncoderVP8.h
index e3a50f2..8d87a89 100644
--- a/sdk/objc/api/video_codec/RTCVideoEncoderVP8.h
+++ b/sdk/objc/api/video_codec/RTCVideoEncoderVP8.h
@@ -13,7 +13,7 @@
#import "RTCMacros.h"
#import "RTCVideoEncoder.h"
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoEncoderVP8 : NSObject
/* This returns a VP8 encoder that can be returned from a RTCVideoEncoderFactory injected into
diff --git a/sdk/objc/api/video_codec/RTCVideoEncoderVP9.h b/sdk/objc/api/video_codec/RTCVideoEncoderVP9.h
index 955f382..9efea4b 100644
--- a/sdk/objc/api/video_codec/RTCVideoEncoderVP9.h
+++ b/sdk/objc/api/video_codec/RTCVideoEncoderVP9.h
@@ -13,7 +13,7 @@
#import "RTCMacros.h"
#import "RTCVideoEncoder.h"
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCVideoEncoderVP9 : NSObject
/* This returns a VP9 encoder that can be returned from a RTCVideoEncoderFactory injected into
diff --git a/sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.h b/sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.h
index 4830952..9a904f5 100644
--- a/sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.h
+++ b/sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.h
@@ -16,7 +16,7 @@
NS_ASSUME_NONNULL_BEGIN
/** RTCI420Buffer implements the RTCI420Buffer protocol */
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCI420Buffer : NSObject<RTCI420Buffer>
@end
diff --git a/sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h b/sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h
index 035666d..6cd5110 100644
--- a/sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h
+++ b/sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h
@@ -17,7 +17,7 @@
NS_ASSUME_NONNULL_BEGIN
/** Mutable version of RTCI420Buffer */
-RTC_EXPORT
+RTC_OBJC_EXPORT
@interface RTCMutableI420Buffer : RTCI420Buffer<RTCMutableI420Buffer>
@end