# Segment Duration in Application XML

**URL:** <https://community.wowza.com/t/segment-duration-in-application-xml/51958>\
**Category:** Wowza Streaming Engine\
**Tags:** recording\
**Created:** [September 17, 2018, 4:51pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958 "2018-09-17T16:51:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoni\_Bertran1](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@Antoni\_Bertran1](https://community.wowza.com/u/Antoni_Bertran1)\
**Post date:** [September 17, 2018, 4:51pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958/1 "2018-09-17T16:51:21Z")

</div>

Hi I want to know if is possible to set a SegmentDuration in Application.xml

I have a live-lowlatency application and I record it changing the to live-record-lowlatency but I want to set from application.xml the segment duration as we do from Rest Interface ([https://www.wowza.com/docs/stream-recording-query-examples](https://www.wowza.com/docs/stream-recording-query-examples))

Thanks!

---

<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:** [September 17, 2018, 5:29pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958/2 "2018-09-17T17:29:44Z")

</div>

Hello @Antoni Bertran, this document will help you understand how to do this. Please let us know if you require further assistance.

**[https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord#overrides](https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord#overrides)**

---

<div class="post-metadata">

**Author:** ![Antoni\_Bertran1](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@Antoni\_Bertran1](https://community.wowza.com/u/Antoni_Bertran1)\
**Post date:** [September 17, 2018, 9:26pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958/3 "2018-09-17T21:26:34Z")

</div>

Hi @Rose Power I tried but doen’t work, I added it at the end of my applications, is required a module?

I Have an application that uses [https://www.wowza.com/docs/how-to-set-up-live-video-chat](https://www.wowza.com/docs/how-to-set-up-live-video-chat) code

Any idea? thanks!

---

<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:** [September 17, 2018, 9:31pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958/4 "2018-09-17T21:31:59Z")

</div>

Hello. let’s try this module:

**[https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-imediastreamactionnotify3](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-imediastreamactionnotify3)**

You can submit a support ticket too if you need assistance @Antoni Bertran and we can walk you through it.

---

<div class="post-metadata">

**Author:** ![Antoni\_Bertran1](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@Antoni\_Bertran1](https://community.wowza.com/u/Antoni_Bertran1)\
**Post date:** [September 18, 2018, 3:41pm UTC](https://community.wowza.com/t/segment-duration-in-application-xml/51958/5 "2018-09-18T15:41:21Z")

</div>

Thanks I will review it
