# Record live streams fails with long duration

**URL:** <https://community.wowza.com/t/record-live-streams-fails-with-long-duration/92167>\
**Category:** Wowza Developer Dojo\
**Created:** [October 19, 2020, 4:46pm UTC](https://community.wowza.com/t/record-live-streams-fails-with-long-duration/92167 "2020-10-19T16:46:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cesar\_Fernandes1](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@Cesar\_Fernandes1](https://community.wowza.com/u/Cesar_Fernandes1)\
**Post date:** [October 19, 2020, 4:46pm UTC](https://community.wowza.com/t/record-live-streams-fails-with-long-duration/92167/1 "2020-10-19T16:46:56Z")

</div>

Hi I’m using the “com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord”.

My problem is, for short recordings it works normal but for long recordings like 2 hours, at the end of the recording the file is removed and not saved

I’m using the option to record on only one file.
