| Index: webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h
|
| diff --git a/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h b/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h
|
| index a4807127ca7a9646d477ceac0d64552ac8d9f799..83ae21ba68fc7388bafb7e8b40eb79b45688dc4b 100644
|
| --- a/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h
|
| +++ b/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #import "WebRTC/RTCVideoFrame.h"
|
|
|
| +#include "webrtc/common_video/rotation.h"
|
| #include "webrtc/media/base/videoframe.h"
|
|
|
| NS_ASSUME_NONNULL_BEGIN
|
| @@ -19,7 +20,10 @@ NS_ASSUME_NONNULL_BEGIN
|
| @property(nonatomic, readonly)
|
| rtc::scoped_refptr<webrtc::VideoFrameBuffer> i420Buffer;
|
|
|
| -- (instancetype)initWithNativeFrame:(const cricket::VideoFrame *)nativeFrame
|
| +- (instancetype)initWithVideoBuffer:
|
| + (rtc::scoped_refptr<webrtc::VideoFrameBuffer>)videoBuffer
|
| + rotation:(webrtc::VideoRotation)rotation
|
| + timeStampNs:(int64_t)timeStampNs
|
| NS_DESIGNATED_INITIALIZER;
|
|
|
| @end
|
|
|