This CL introduces a new org.webrtc.VideoRenderer.Callbacks implementation called SurfaceViewRenderer that renders each video stream in its own SurfaceView. AppRTCDemo is updated to use this new rendering. This CL also does the following changes: * Make the VideoRenderer.Callbacks interface asynchronous and require that renderFrameDone() is called for every renderFrame(). In JNI, this is implemented with cricket::VideoFrame::Copy()/delete. * Make public static helper functions: convertScalingTypeToVisibleFraction(), getDisplaySize(), and getTextureMatrix(). * Introduces new helper functions surfaceWidth()/surfaceHeight() in EGlBase that allows to query the surface size. * Introduce PercentFrameLayout that implements the percentage layout that is used by AppRTCDemo. BUG=webrtc:4742 Review URL: https://codereview.webrtc.org/1257043004 Cr-Commit-Position: refs/heads/master@{#9699}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.