Skip to content

Commit

Permalink
video_duration now in seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkordic committed Oct 27, 2023
1 parent 8fc2614 commit fce283c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ internal class UploadMetrics private constructor() {
put(startTimeKey, iso8601Sdf.format(startTimeMillis)) // ISO8601
put(endTimeKey, iso8601Sdf.format(endTimeMillis)) // ISO8601
put("input_size", uploadInfo.inputFile.length())
put("input_duration", formatMilliseconds(videoDuration)) // HH:mm:ss
put("input_duration", videoDuration / 1000) // HH:mm:ss
put("upload_url", uploadInfo.remoteUri.toString())
put("sdk_version", BuildConfig.LIB_VERSION)
put("platform_name", "Android")
Expand Down

0 comments on commit fce283c

Please sign in to comment.