The surface view renderer size was set to match parent so it couldn't adjust based on the frame size. The size is now set to wrap_content which allows the renderer to adjust. The root element of the call activity is changed to FrameLayout to allow the renderer to center. requestLayout is added to SurfaceView setScalingType so onMeasure gets called again. BUG=webrtc:7901 Review-Url: https://codereview.webrtc.org/2978173002 Cr-Commit-Position: refs/heads/master@{#19073}
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.