commit | 4382d800d225a3d6ce93011ff9a573e4ff613f35 | [log] [tgz] |
---|---|---|
author | Magnus Jedvert <magjed@webrtc.org> | Thu Oct 08 12:45:34 2015 |
committer | Magnus Jedvert <magjed@webrtc.org> | Thu Oct 08 12:45:42 2015 |
tree | 5968b450e2b3e2e00dc7fd0a4879cc9542f61c87 | |
parent | 6ffc3309dee47b31ba118e41acc89a258c754c33 [diff] |
Android SurfaceViewRenderer: Allow to re-init after release() has been called This CL makes a thorough reset of all variables in release() and clears the last rendered image so that the SurfaceViewRenderer object can be reinitialized with init() and work properly. This CL also removes an implicit assumption that init() is called before surfaceCreated() - now they can be called in any order. BUG=webrtc:4742 R=hbos@webrtc.org Review URL: https://codereview.webrtc.org/1389203003 . Cr-Commit-Position: refs/heads/master@{#10217}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.