Open neophack opened 1 year ago
Thanks for the pull request! As far as I know this information is already included in the protobuf as timestamp_source
I'm not sure that this information needs to be available during recording, but I'll try it out. Thanks again!
SENSOR_INFO_TIMESTAMP_SOURCE Added in API level 21
public static final Key<Integer> SENSOR_INFO_TIMESTAMP_SOURCE The time base source for sensor capture start timestamps.
The timestamps provided for captures are always in nanoseconds and monotonic, but may not based on a time source that can be compared to other system time sources.
This characteristic defines the source for the timestamps, and therefore whether they can be compared against other system time sources/timestamps.
Possible values:
UNKNOWN REALTIME This key is available on all devices.
See also:
CameraMetadata.SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN CameraMetadata.SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME