Remove deprecated protocol alias RTCEAGLVideoViewRenderer.

Bug: None
Change-Id: Iab0544fda2c32593d019a1453eb16e60d5b8f7f9
Reviewed-on: https://webrtc-review.googlesource.com/c/103125
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24948}
This commit is contained in:
Kári Tristan Helgason
2018-10-02 11:49:59 +02:00
committed by Commit Bot
parent 5cc8e14586
commit 416018d455
2 changed files with 4 additions and 8 deletions

View File

@ -23,7 +23,7 @@ static CGFloat const kLocalVideoViewSize = 120;
static CGFloat const kLocalVideoViewPadding = 8; static CGFloat const kLocalVideoViewPadding = 8;
static CGFloat const kStatusBarHeight = 20; static CGFloat const kStatusBarHeight = 20;
@interface ARDVideoCallView () <RTCEAGLVideoViewDelegate> @interface ARDVideoCallView () <RTCVideoViewDelegate>
@end @end
@implementation ARDVideoCallView { @implementation ARDVideoCallView {
@ -173,10 +173,10 @@ static CGFloat const kStatusBarHeight = 20;
CGPointMake(CGRectGetMidX(bounds), CGRectGetMidY(bounds)); CGPointMake(CGRectGetMidX(bounds), CGRectGetMidY(bounds));
} }
#pragma mark - RTCEAGLVideoViewDelegate #pragma mark - RTCVideoViewDelegate
- (void)videoView:(RTCEAGLVideoView*)videoView didChangeVideoSize:(CGSize)size { - (void)videoView:(id<RTCVideoRenderer>)videoView didChangeVideoSize:(CGSize)size {
if (videoView == _remoteVideoView) { if (videoView == _remoteVideoView) {
_remoteVideoSize = size; _remoteVideoSize = size;
} }
[self setNeedsLayout]; [self setNeedsLayout];

View File

@ -19,10 +19,6 @@ NS_ASSUME_NONNULL_BEGIN
@class RTCEAGLVideoView; @class RTCEAGLVideoView;
RTC_OBJC_EXPORT
@protocol RTCEAGLVideoViewDelegate <RTCVideoViewDelegate>
@end
/** /**
* RTCEAGLVideoView is an RTCVideoRenderer which renders video frames in its * RTCEAGLVideoView is an RTCVideoRenderer which renders video frames in its
* bounds using OpenGLES 2.0 or OpenGLES 3.0. * bounds using OpenGLES 2.0 or OpenGLES 3.0.