Update examples to use the new VideoCapturer interface.

Bug: webrtc:9496
Change-Id: Ifbf06d644e3758d537757cdbbc7f61bdc0fe270d
Reviewed-on: https://webrtc-review.googlesource.com/87307
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23899}
This commit is contained in:
Sami Kalliomäki
2018-07-06 11:25:58 +02:00
committed by Commit Bot
parent 9bb8f80c40
commit a7a10a8b31
2 changed files with 14 additions and 5 deletions

View File

@ -13,6 +13,7 @@ package org.webrtc.examples.androidnativeapi;
import android.content.Context;
import android.os.Handler;
import android.os.HandlerThread;
import org.webrtc.CapturerObserver;
import org.webrtc.SurfaceTextureHelper;
import org.webrtc.VideoCapturer;
import org.webrtc.VideoSink;
@ -66,6 +67,6 @@ public class CallClient {
long nativeAndroidCallClient, VideoSink localSink, VideoSink remoteSink);
private static native void nativeHangup(long nativeAndroidCallClient);
private static native void nativeDelete(long nativeAndroidCallClient);
private static native VideoCapturer.CapturerObserver nativeGetJavaVideoCapturerObserver(
private static native CapturerObserver nativeGetJavaVideoCapturerObserver(
long nativeAndroidCallClient);
}