diff --git a/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java index 8976ad25b6..d1e45701b3 100644 --- a/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java +++ b/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java @@ -805,7 +805,8 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba throw new RuntimeException("Unexpected camera in callback!"); } - final long captureTimeNs = SystemClock.elapsedRealtimeNanos(); + final long captureTimeNs = + TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime()); captureBuffersCount += videoBuffers.numCaptureBuffersAvailable(); int rotation = getDeviceOrientation();