VideoCapturerAndroid: Revert elapsedRealtimeNanos to elapsedRealtime
Review URL: https://codereview.webrtc.org/1254143002 Cr-Commit-Position: refs/heads/master@{#9637}
This commit is contained in:
parent
d55ce2ddb9
commit
013a580064
@ -805,7 +805,8 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba
|
|||||||
throw new RuntimeException("Unexpected camera in callback!");
|
throw new RuntimeException("Unexpected camera in callback!");
|
||||||
}
|
}
|
||||||
|
|
||||||
final long captureTimeNs = SystemClock.elapsedRealtimeNanos();
|
final long captureTimeNs =
|
||||||
|
TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime());
|
||||||
|
|
||||||
captureBuffersCount += videoBuffers.numCaptureBuffersAvailable();
|
captureBuffersCount += videoBuffers.numCaptureBuffersAvailable();
|
||||||
int rotation = getDeviceOrientation();
|
int rotation = getDeviceOrientation();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user