aboutsummaryrefslogtreecommitdiff
path: root/talk/app/webrtc
diff options
context:
space:
mode:
authormagjed <magjed@webrtc.org>2015-10-28 03:27:20 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-28 10:27:30 +0000
commit83585c9075a3f0dad24a55b24872168bf825eacc (patch)
treef80fad5ffc16080db33d146c9d239d4f95c6e970 /talk/app/webrtc
parentec9d187f708933c75c3b48cf62296c37c7c506d9 (diff)
downloadwebrtc-83585c9075a3f0dad24a55b24872168bf825eacc.tar.gz
VideoCapturerAndroid: More frequent and verbose logging
BUG=b/24437529 Review URL: https://codereview.webrtc.org/1417633007 Cr-Commit-Position: refs/heads/master@{#10434}
Diffstat (limited to 'talk/app/webrtc')
-rw-r--r--talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
index 06722fa8ab..4caefc513d 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);