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
@ -11,6 +11,7 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "RTCMacros.h"
|
||||
#import "RTCVideoDecoderVP9.h"
|
||||
#import "RTCWrappedNativeVideoDecoder.h"
|
||||
|
||||
@ -19,7 +20,7 @@
|
||||
@implementation RTC_OBJC_TYPE (RTCVideoDecoderVP9)
|
||||
|
||||
+ (id<RTC_OBJC_TYPE(RTCVideoDecoder)>)vp9Decoder {
|
||||
return [[RTCWrappedNativeVideoDecoder alloc]
|
||||
return [[RTC_OBJC_TYPE(RTCWrappedNativeVideoDecoder) alloc]
|
||||
initWithNativeDecoder:std::unique_ptr<webrtc::VideoDecoder>(webrtc::VP9Decoder::Create())];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user