Update capturer/test code to use the new interface VideoCapturer.
Bug: webrtc:9496 Change-Id: I9adf2c341b831820bbe71f2511616b629c9e1acc Reviewed-on: https://webrtc-review.googlesource.com/87306 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23869}
This commit is contained in:
committed by
Commit Bot
parent
05b552f76a
commit
b2daaaacbd
@ -77,7 +77,7 @@ public class ScreenCapturerAndroid implements VideoCapturer, VideoSink {
|
||||
// TODO(bugs.webrtc.org/8491): Remove NoSynchronizedMethodCheck suppression.
|
||||
@SuppressWarnings("NoSynchronizedMethodCheck")
|
||||
public synchronized void initialize(final SurfaceTextureHelper surfaceTextureHelper,
|
||||
final Context applicationContext, final VideoCapturer.CapturerObserver capturerObserver) {
|
||||
final Context applicationContext, final CapturerObserver capturerObserver) {
|
||||
checkNotDisposed();
|
||||
|
||||
if (capturerObserver == null) {
|
||||
|
||||
Reference in New Issue
Block a user