# Record livestream error duration?

**URL:** <https://community.wowza.com/t/record-livestream-error-duration/54006>\
**Category:** Wowza Streaming Engine\
**Tags:** recording\
**Created:** [October 1, 2019, 3:10am UTC](https://community.wowza.com/t/record-livestream-error-duration/54006 "2019-10-01T03:10:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Live\_Dreamer](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@Live\_Dreamer](https://community.wowza.com/u/Live_Dreamer)\
**Post date:** [October 1, 2019, 3:10am UTC](https://community.wowza.com/t/record-livestream-error-duration/54006/1 "2019-10-01T03:10:05Z")

</div>

Good morning!  
We have a issue when use recording livestream on wowza engine.  
Example: We have livestream have duration time is 45 minutes but when we watch video is recorded by wowza engine but it have duration time is 3 hours or 4 hours. We want to wowza record video of livestream exactly with time of livestream. How to fix or setting it.  
Thank you so much.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 1, 2019, 4:26pm UTC](https://community.wowza.com/t/record-livestream-error-duration/54006/2 "2019-10-01T16:26:48Z")

</div>

Hello @Live Dreamer, I’m having a bit of a hard time understanding the question due a language barrier, but if I may clarify what you are trying to ask is- how to only record the 45 minutes of the stream and not the entire 3 or 4 hours?

If so, are you following the documentation for the streamRecorderSegmentDuration method?

You can view it here:

[https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine)

If you need help configuring it, please feel free to submit a support ticket:

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

**Author:** ![Live\_Dreamer](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@Live\_Dreamer](https://community.wowza.com/u/Live_Dreamer)\
**Post date:** [October 3, 2019, 3:54am UTC](https://community.wowza.com/t/record-livestream-error-duration/54006/3 "2019-10-03T03:54:54Z")

</div>

Hi @Rose Power-Wowza Community Manager

I’m sorry because due a language barrier! I send again my error. When I livestreaming and my livestream have 45 minutes. At wowza engine we use auto record livestream for record my livestream. But when I stop livestream at 45 minutes then wowza engine record error. Time of my livestream’s video have 3hours or 4 hours. I don’t known what is error. If you have solution for resolve that error please help me. Thank for reading!
