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

Unified Diff: talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java

Issue 1417633007: VideoCapturerAndroid: More frequent and verbose logging (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
diff --git a/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
index 06722fa8abae45c6b52645fbf269d3022d11397e..4caefc513d343e7e0f9dbced64cf96befb5e75df 100644
--- a/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
+++ b/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
@@ -71,7 +71,7 @@ import javax.microedition.khronos.egl.EGL10;
public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallback,
SurfaceTextureHelper.OnTextureFrameAvailableListener {
private final static String TAG = "VideoCapturerAndroid";
- private final static int CAMERA_OBSERVER_PERIOD_MS = 5000;
+ private final static int CAMERA_OBSERVER_PERIOD_MS = 2000;
private Camera camera; // Only non-null while capturing.
private HandlerThread cameraThread;
@@ -789,7 +789,7 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba
}
pendingBuffers.put(timeStamp, buffer);
if (queuedBuffers.isEmpty()) {
- Logging.v(TAG, "Camera is running out of capture buffers.");
+ Logging.d(TAG, "Camera is running out of capture buffers.");
}
return true;
}
@@ -805,7 +805,7 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba
if (camera != null && returnedFrame.capacity() == frameSize) {
camera.addCallbackBuffer(returnedFrame.array());
if (queuedBuffers.isEmpty()) {
- Logging.v(TAG, "Frame returned when camera is running out of capture"
+ Logging.d(TAG, "Frame returned when camera is running out of capture"
+ " buffers for TS " + TimeUnit.NANOSECONDS.toMillis(timeStamp));
}
queuedBuffers.put(returnedFrame.array(), returnedFrame);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698