# Issue with Recording Duration in Zoom Video SDK

**URL:** <https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [July 4, 2024, 8:10am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050 "2024-07-04T08:10:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 4, 2024, 8:10am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/1 "2024-07-04T08:10:10Z")

</div>

**Description**  
I am using the Zoom Video SDK to record video calls. When I checked the dashboard, I noticed a message indicating that the recording could not be generated because the recording time was too short for a session that was supposed to be recorded.

Upon reviewing the webhook logs, I found that the timestamps for recording\_start and recording\_stop in the session.recording\_stopped payload were almost identical.

In our implementation, we ensure that stopCloudRecording cannot be executed immediately after startCloudRecording.

session id  
Zh+k4aRvTmCItnyLbbRN3g==

Could you please investigate if there is any issue with the Zoom Video SDK?

Thank you.

**Browser Console Error**  
The full error message or issue you are running into.

**Which Web Video SDK version?**  
@zoom/videosdk:  
version “1.11.10”

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 4, 2024, 9:13am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/2 "2024-07-04T09:13:37Z")

</div>

Hey @yusuke.yamashita

Thanks for your feedback.

> Zh+k4aRvTmCItnyLbbRN3g==

From the logs, it appears that the recording start and stop events for this session occurred almost at the same time, both at 2024-07-04 01:04:02 GMT.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 5, 2024, 12:22am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/3 "2024-07-05T00:22:17Z")

</div>

Hi @vic.yang

I am aware that this issue occurred simultaneously, but in our application, it is designed so that recording\_stop cannot be executed immediately after recording\_start. Therefore, this behavior is unintended.

I am reaching out to determine whether the issue lies within our application implementation or the Zoom Video SDK.

Is there a possibility that the recording status could immediately change to stop after executing recording\_start in the Zoom Video SDK?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 8, 2024, 2:39am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/4 "2024-07-08T02:39:23Z")

</div>

Hey @yusuke.yamashita

There are two ways to start/stop cloud recording.

One is through the Video SDK using `recordingClient.startCloudRecording()` and `recordingClient.stopCloudRecording()`, and the other is using the RESTful API.

While analyzing this session,

> Zh+k4aRvTmCItnyLbbRN3g==

We found that the `startCloudRecording` and `stopCloudRecording` methods were called almost simultaneously through the SDK. Could you help check the function call of the recording?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![yusuke.yamashita](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yusuke.yamashita/32/50754_2.png) [@yusuke.yamashita](https://devforum.zoom.us/u/yusuke.yamashita)\
**Post date:** [July 9, 2024, 12:14am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/5 "2024-07-09T00:14:30Z")

</div>

Thank you for your investigation.  
We will investigate further assuming there might be an issue with our implementation.  
Thank you for your continued support.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 8, 2024, 10:15am UTC](https://devforum.zoom.us/t/issue-with-recording-duration-in-zoom-video-sdk/113050/6 "2024-08-08T10:15:24Z")

</div>

Closed on August 8, 2024, 10:15am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
