Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: webrtc/api/java/jni/peerconnection_jni.cc

Issue 1974453002: Add a parameter to set a maximum filesize when starting an RTC event log on the PeerConnectionFacto… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments by terelius@ Created 4 years, 7 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/java/jni/peerconnection_jni.cc
diff --git a/webrtc/api/java/jni/peerconnection_jni.cc b/webrtc/api/java/jni/peerconnection_jni.cc
index ac328efc2b13d2e15c6a22878ba62cea11aebcc9..cd5b6f772478c2523c251d4a059f2ef55703128f 100644
--- a/webrtc/api/java/jni/peerconnection_jni.cc
+++ b/webrtc/api/java/jni/peerconnection_jni.cc
@@ -1288,11 +1288,15 @@ JOW(void, PeerConnectionFactory_nativeStopAecDump)(
factory->StopAecDump();
}
-JOW(jboolean, PeerConnectionFactory_nativeStartRtcEventLog)(
- JNIEnv* jni, jclass, jlong native_factory, jint file) {
+JOW(jboolean, PeerConnectionFactory_nativeStartRtcEventLog)
+(JNIEnv* jni,
+ jclass,
+ jlong native_factory,
+ jint file,
+ jint filsize_limit_bytes) {
rtc::scoped_refptr<PeerConnectionFactoryInterface> factory(
factoryFromJava(native_factory));
- return factory->StartRtcEventLog(file);
+ return factory->StartRtcEventLog(file, filesize_limit_bytes);
}
JOW(void, PeerConnectionFactory_nativeStopRtcEventLog)(
« no previous file with comments | « no previous file | webrtc/api/java/src/org/webrtc/PeerConnectionFactory.java » ('j') | webrtc/call/rtc_event_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698