Duration is incorrect

We are running into an issue whereby we take the **recording\_start** and **recording\_end** from a /v1/recording/get request, and subtract that to get a duration. It seems as though you are using this to calculate the duration in your video player, as well.

Unfortunately, that is not calculating the right duration. Example:

{
 "id": "8e622bb9-6161-4433-9e10-...",
 "meeting\_id": "...",
 "recording\_start": "2017-07-27T22:16:36Z",
 "recording\_end": "2017-07-27T22:22:43Z",
 "file\_type": "MP4",
 "file\_size": 15466797,
 "play\_url": "https://api.zoom.us/recording/play/...",
 "download\_url": "https://api.zoom.us/recording/download/..."
 }


[7] pry(main)\> ts\_end = Time.parse("2017-07-27T22:22:43Z")
=\> 2017-07-27 22:22:43 UTC
[8] pry(main)\> ts\_start = Time.parse("2017-07-27T22:16:36Z")
=\> 2017-07-27 22:16:36 UTC
[9] pry(main)\> ts\_end - ts\_start
=\> 367.0

However, this video (when we download and play in VLC/QuickTime) is *actually 246 seconds long*. See attached:

can you send the details to me via email so i can dig deeper joshua.woodward@zoom.us