RTC_OBJC_TYPE RTCWrappedNativeVideo{Decoder,Encoder}.
Some versionss of WebKit.framework export these symbols. Even if they are private symbols, WebRTC needs to provide a way to prefix them like the OBJC API symbols (see [1]). [1] - https://webrtc-review.googlesource.com/c/src/+/173781 Bug: None Change-Id: Ibb9ca2c89796a0d5e2ca65c549ba8799f24bbe7c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182421 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31987}
This commit is contained in:
committed by
Commit Bot
parent
cccd55094d
commit
5923083657
@ -10,13 +10,14 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "base/RTCMacros.h"
|
||||
#import "base/RTCVideoEncoder.h"
|
||||
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "media/base/codec.h"
|
||||
|
||||
@interface RTCWrappedNativeVideoEncoder : NSObject <RTC_OBJC_TYPE (RTCVideoEncoder)>
|
||||
@interface RTC_OBJC_TYPE (RTCWrappedNativeVideoEncoder) : NSObject <RTC_OBJC_TYPE (RTCVideoEncoder)>
|
||||
|
||||
- (instancetype)initWithNativeEncoder:(std::unique_ptr<webrtc::VideoEncoder>)encoder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user