Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: webrtc/api/android/jni/

Issue 2276593003: Android Screen Capturer. (Closed) Base URL:
Patch Set: merge master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/android/jni/
diff --git a/webrtc/api/android/jni/ b/webrtc/api/android/jni/
index 4098ea1735d62896535d1bca0902848618bb91f6..026a0c6289c79aaa89db6566b58a1b34feb4cf1b 100644
--- a/webrtc/api/android/jni/
+++ b/webrtc/api/android/jni/
@@ -1258,13 +1258,14 @@ JOW(jlong, PeerConnectionFactory_nativeCreateLocalMediaStream)(
JOW(jlong, PeerConnectionFactory_nativeCreateVideoSource)
-(JNIEnv* jni, jclass, jlong native_factory, jobject j_egl_context) {
+(JNIEnv* jni, jclass, jlong native_factory, jobject j_egl_context,
+ jboolean is_screencast) {
OwnedFactoryAndThreads* factory =
rtc::scoped_refptr<webrtc::AndroidVideoTrackSource> source(
new rtc::RefCountedObject<webrtc::AndroidVideoTrackSource>(
- factory->signaling_thread(), jni, j_egl_context));
+ factory->signaling_thread(), jni, j_egl_context, is_screencast));
rtc::scoped_refptr<webrtc::VideoTrackSourceProxy> proxy_source =
factory->worker_thread(), source);
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/ ('k') | webrtc/api/androidvideotracksource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698