# HTTP LiveStreamRecord and fileTemplate

**URL:** <https://community.wowza.com/t/http-livestreamrecord-and-filetemplate/41971>\
**Category:** Wowza Streaming Engine\
**Created:** [February 6, 2014, 2:42pm UTC](https://community.wowza.com/t/http-livestreamrecord-and-filetemplate/41971 "2014-02-06T14:42:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry\_Bell](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jerry\_Bell](https://community.wowza.com/u/Jerry_Bell)\
**Post date:** [February 6, 2014, 2:42pm UTC](https://community.wowza.com/t/http-livestreamrecord-and-filetemplate/41971/1 "2014-02-06T14:42:51Z")

</div>

Hello,

I’m using a URL to record a live stream, as detailed [here](https://www.wowza.com/docs/how-to-record-live-streams-httplivestreamrecord#livestreamrecordhttpprovider).

I’m using action=startRecordingSegmentByDuration. I’d like to specify the fileTemplate, so my file names included the start time of the segment. However, when I specify the fileTemplate like this:

&fileTemplate=${SourceStreamName}\_t${RecordingStartTime}\_ct${SegmentTime}

I get a filename like: ${SourceStreamName}\_t${RecordingStartTime}\_ct${SegmentTime}.mp4 - with no substitutions.

Am I doing something wrong, or is parameter not supported through HTTP live stream recording?

Thanks

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [February 12, 2014, 2:27pm UTC](https://community.wowza.com/t/http-livestreamrecord-and-filetemplate/41971/2 "2014-02-12T14:27:53Z")

</div>

Hi,

Can you confirm the URL string looked like the following:

```auto
http://[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=startRecordingSegmentByDuration&segmentDuration=[seconds]&fileTemplate=${SourceStreamName}_t${RecordingStartTime}_ct${SegmentTime}

```

Jason
