Cleanup RTCVideoRenderer interface.

RTCVideoRenderer should be a protocol not a class. This change includes
an adapter for use with the C++ apis. The video views have been refactored
to implement that protocol.

BUG=3795
R=glaznev@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23279004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7626 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tkchin@webrtc.org
2014-11-04 23:06:15 +00:00
parent b8425bc4f3
commit 8125744a5f
18 changed files with 137 additions and 208 deletions

View File

@@ -204,8 +204,8 @@
'app/webrtc/objc/RTCStatsReport.mm',
'app/webrtc/objc/RTCVideoCapturer+Internal.h',
'app/webrtc/objc/RTCVideoCapturer.mm',
'app/webrtc/objc/RTCVideoRenderer+Internal.h',
'app/webrtc/objc/RTCVideoRenderer.mm',
'app/webrtc/objc/RTCVideoRendererAdapter.h',
'app/webrtc/objc/RTCVideoRendererAdapter.mm',
'app/webrtc/objc/RTCVideoSource+Internal.h',
'app/webrtc/objc/RTCVideoSource.mm',
'app/webrtc/objc/RTCVideoTrack+Internal.h',
@@ -259,7 +259,6 @@
'conditions': [
['OS=="ios"', {
'sources': [
'app/webrtc/objc/RTCEAGLVideoView+Internal.h',
'app/webrtc/objc/RTCEAGLVideoView.m',
'app/webrtc/objc/public/RTCEAGLVideoView.h',
],