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

Unified Diff: webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java

Issue 2110113003: Reland of "Move RtcEventLog object from inside VoiceEngine to Call.", "Fix to make the start/stop f… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/PeerConnection.java ('k') | webrtc/api/peerconnection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java
diff --git a/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java b/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java
index 0c1ef3ca88e8a5ef77a3f891127e7a3986616c08..2edd56e8413d2b17601a7ab8e4929e608cf6747f 100644
--- a/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java
+++ b/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java
@@ -148,28 +148,6 @@ public class PeerConnectionFactory {
nativeStopAecDump(nativeFactory);
}
- // Starts recording an RTC event log. Ownership of the file is transfered to
- // the native code. If an RTC event log is already being recorded, it will be
- // stopped and a new one will start using the provided file.
- public boolean startRtcEventLog(int file_descriptor) {
- return startRtcEventLog(file_descriptor, -1);
- }
-
- // Same as above, but allows setting an upper limit to the size of the
- // generated logfile.
- public boolean startRtcEventLog(int file_descriptor,
- int filesize_limit_bytes) {
- return nativeStartRtcEventLog(nativeFactory,
- file_descriptor,
- filesize_limit_bytes);
- }
-
- // Stops recording an RTC event log. If no RTC event log is currently being
- // recorded, this call will have no effect.
- public void stopRtcEventLog() {
- nativeStopRtcEventLog(nativeFactory);
- }
-
@Deprecated
public void setOptions(Options options) {
nativeSetOptions(nativeFactory, options);
@@ -275,12 +253,6 @@ public class PeerConnectionFactory {
private static native void nativeStopAecDump(long nativeFactory);
- private static native boolean nativeStartRtcEventLog(long nativeFactory,
- int file_descriptor,
- int filesize_limit_bytes);
-
- private static native void nativeStopRtcEventLog(long nativeFactory);
-
@Deprecated
public native void nativeSetOptions(long nativeFactory, Options options);
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/PeerConnection.java ('k') | webrtc/api/peerconnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698