commit | b7700d370d991b4740460fe93c09ade7acc3556c | [log] [tgz] |
---|---|---|
author | Magnus Jedvert <magjed@webrtc.org> | Wed Jun 13 17:26:59 2018 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 13 15:51:17 2018 +0000 |
tree | af1431cdab9897c0cdd1cbd8be22c8d7eefd1e4e | |
parent | 493c78a9dc66d2eb33fea3cfe5da40789792fe30 [diff] |
Android: Fix VideoTrack behavior for adding/removing VideoSinks In particular: * Trying to remove a VideoSink that was not attached should be a no-op. * Trying to remove a null VideoSink should be a no-op. * Adding the same VideoSink multiple times should a no-op, and should not create duplicate native VideoSinks. * Trying to add a null VideoSink should throw an exception in the Java layer instead of crashing in native code. This CL also adds tests that verify these behaviors. Bug: webrtc:9403 Change-Id: I928b7bb7f683634e287d7fec9e26f4179f73c150 Reviewed-on: https://webrtc-review.googlesource.com/83322 Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Paulina Hensman <phensman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23602}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.