# LiveStreamRecordAutoRecord module help

**URL:** <https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 16, 2015, 5:36pm UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904 "2015-03-16T17:36:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Tahir\_Irsha](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Muhammad\_Tahir\_Irsha](https://community.wowza.com/u/Muhammad_Tahir_Irsha)\
**Post date:** [March 16, 2015, 5:36pm UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904/1 "2015-03-16T17:36:48Z")

</div>

Hi

i want to know about LiveStreamRecordAutoRecord module how can i use it for schedule based recording? like, 1 \* \* \* \*

Thanks

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 30, 2015, 7:48am UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904/2 "2015-03-30T07:48:39Z")

</div>

Hello there.

The [StreamRecorderAutoRecordAdvancedExample](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-livestreamrecordautorecord-example#advancedexample) module demonstrates how to set StreamRecorder configuration parameters such as the _segmentationType, segmentationDuration, fileFormat,_ and so on. This module also has a custom file version delegate that implements the IStreamRecorderFileVersionDelegate interface and sets the StreamRecorder parameters to use this class instead of the built-in one.

If this does not answer your question can you please explain what you are trying to do exactly?

Also, the LiveStreamRecordManager APIs are fully documented in the “com.wowza.wms.livestreamrecord.manager” section in the Javadocs installed with the Wowza Streaming Engine software ([install-dir]/documentation/serverapi) and in the [Wowza Streaming Engine Server-Side API](https://www.wowza.com/resources/WowzaStreamingEngine_ServerSideAPI.pdf)

Kind regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [April 2, 2015, 11:48am UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904/3 "2015-04-02T11:48:30Z")

</div>

Hi,

If you want to enable scheduled recording. you will need to build a custom module using the examples provided by “salvadore”.

The scheduler used for the segmentation type is basically creating a recording segment at the scheduled time.

If you wish to implement a recording that would start and stop according to a schedule, you can use the operating system schedules (crontab) that would run a CURL command in order to start “[Recording live streams using URL queries](https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord#livestreamrecordhttpprovider)”

Basically, to start a recording at the desired time you would need to access this URL:

```auto
http://[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=startRecording

```

and to stop it:

```auto
http://[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=stopRecording

```

Hope this helps.

Zoran

---

<div class="post-metadata">

**Author:** ![Muhammad\_Tahir\_Irsha](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Muhammad\_Tahir\_Irsha](https://community.wowza.com/u/Muhammad_Tahir_Irsha)\
**Post date:** [March 31, 2015, 11:45am UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904/4 "2015-03-31T11:45:34Z")

</div>

Thank you for replaying

i am trying to set auto schedule based ( hourly, 1 \* \* \* \*) recording of my live stream in Wowza 4.x. with custom file name, STREAMNAME\_CURRENTDATE\_CURRENTHOUR.mp4.

Like, MyStream\_30-03-2015\_23.mp4

i tried to use LiveStreamRecordAutoRecord module but its working on duration based recording, i have changed the segmentationType in WOwza 4 Manager to schedule but it still recording on duration not on schedule.

could any one help me regarding this **please**.

Thanks

---

<div class="post-metadata">

**Author:** ![Muhammad\_Tahir\_Irsha](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Muhammad\_Tahir\_Irsha](https://community.wowza.com/u/Muhammad_Tahir_Irsha)\
**Post date:** [April 3, 2015, 11:14am UTC](https://community.wowza.com/t/livestreamrecordautorecord-module-help/44904/5 "2015-04-03T11:14:02Z")

</div>

Hi

is there any examples of how to build a custom wowza module ?

Thanks
