# Wowza Record all incoming streams

**URL:** <https://community.wowza.com/t/wowza-record-all-incoming-streams/43608>\
**Category:** Wowza Streaming Engine\
**Created:** [September 9, 2015, 1:58pm UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608 "2015-09-09T13:58:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)\
**Post date:** [September 9, 2015, 1:58pm UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608/1 "2015-09-09T13:58:41Z")

</div>

Good afternoon!

How can we change file template for all recording files? I check Record all incoming streams in application config & restart it. If I publish stream with name camera1 wowza will write camera1.mp4 file. It’s good. if file exist wowza will write with segmentation camera1\_0.mp4. it’s not good. How to add to name of the stream unixtime for example? Or how to disable this segmentation?

And second question: I don’t undestand this logic. If i stream firstly the stream with name camera1 for ex. wowza write camera1.mp4. second time, wowza rename first file {filename}\_0.mp4 and last will be written as camera1.mp4 . It’s very strange.

And plus, why wowza create 2 files: camera1.mp4 (write all data in it) and camera1.mp4\_tmp with zero size? I don’t know how monitoring end of recording in function. If all data write in tmp file I can use some action on event on\_modify in filesystem.

Can i change it? Thank you and will be waiting for an answer.

---

<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:** [September 9, 2015, 2:59pm UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608/2 "2015-09-09T14:59:43Z")

</div>

Hi,

The “Record all incoming streams” option doesn’t allow you to set a custom naming or versioning template.

You can use the [LiveStreamRecordAutoRecord example](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-livestreamrecordautorecord-example) which uses [IMediaStreamActionNotify3](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-imediastreamactionnotify3) and modify this as required or use the code provided to [move and rename recordings](https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams) which can also be edited as needed.

Regards,

Jason

---

<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:** [December 3, 2015, 3:41pm UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608/3 "2015-12-03T15:41:36Z")

</div>

Hi,

For streams which are ingested by pulling the source with a .stream file you can either copy the streams to another application using [ModuleDuplicateStreams](https://www.wowza.com/docs/how-to-duplicate-streams-to-another-application-instance-moduleduplicatestreams%28ModuleDuplicateStreams%29) and record them in the new application or publish them to a new application configured to record them using [Stream Targets](https://www.wowza.com/docs/how-to-stream-to-another-wowza-streaming-engine-instance). For authentication you can remove the default username/password for RTMP authentication and use [ModuleSecureURLParams](https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams%28ModuleSecureURLParams%29).

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Mike\_Grunwald](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@Mike\_Grunwald](https://community.wowza.com/u/Mike_Grunwald)\
**Post date:** [December 2, 2015, 3:59am UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608/4 "2015-12-02T03:59:15Z")

</div>

Hello,

another Question to be sure about that issue. We test with Makito X that is abviously not able to send rtmp to wowza because it cannot specify an application. So the only option there is ts over udp to WowzaStreamingEngine and a .stream file with content udp://0.0.0.0:PORT. That works as expected but it does not automatically record anything when a stream is present. Is there a way to make that happen or is it not possible with .stream files?

* * *

Update

MakitoX is working with RTMP to wowza but only without authentication so far.

Regards

Miguel

---

<div class="post-metadata">

**Author:** ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)\
**Post date:** [September 10, 2015, 11:21am UTC](https://community.wowza.com/t/wowza-record-all-incoming-streams/43608/5 "2015-09-10T11:21:41Z")

</div>

JasonH, thank you a lot! I will try!
