# Stream type live-record

**URL:** <https://community.wowza.com/t/stream-type-live-record/35842>\
**Category:** Wowza Streaming Engine\
**Created:** [January 13, 2011, 4:01pm UTC](https://community.wowza.com/t/stream-type-live-record/35842 "2011-01-13T16:01:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 13, 2011, 4:01pm UTC](https://community.wowza.com/t/stream-type-live-record/35842/1 "2011-01-13T16:01:10Z")

</div>

Tell me please, I’m using live-record\</ StreamType\>

Flush from sending different types of

nsPublish.publish (“liveStream”, “live”);

nsPublish.publish (“liveStream”, “record”);

nsPublish.publish (“liveStream”, “append”);

The reaction of an all time record mode works “record”

How to make a regime to work? Live, Append

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 14, 2011, 12:29am UTC](https://community.wowza.com/t/stream-type-live-record/35842/2 "2011-01-14T00:29:08Z")

</div>

Take a look at the VideoRecording example.

To use Actionscript commands like that, you actually need StreamType “default”

Then, these two will work as expected:

```auto
nsPublish.publish ("liveStream", "record");
nsPublish.publish ("liveStream", "append");

```

This has no meaning in Wowza:

```auto
nsPublish.publish ("liveStream", "live");

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 14, 2011, 1:43am UTC](https://community.wowza.com/t/stream-type-live-record/35842/3 "2011-01-14T01:43:58Z")

</div>

No, I don’t have that.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 14, 2011, 2:09am UTC](https://community.wowza.com/t/stream-type-live-record/35842/4 "2011-01-14T02:09:21Z")

</div>

The LiveStreamRecord package is here:

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

Not sure, but this might be what you are looking for also

[https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams](https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 14, 2011, 6:09pm UTC](https://community.wowza.com/t/stream-type-live-record/35842/5 "2011-01-14T18:09:04Z")

</div>

Yes, this is where stream types are defined. You can override these Properties in an Application.xml /Streams /Properties section, which is better approach than editing Streams.xml

Richard

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 13, 2011, 5:37pm UTC](https://community.wowza.com/t/stream-type-live-record/35842/6 "2011-01-13T17:37:00Z")

</div>

Do you have a java code these classes of workers?

default:

Com.wowza.wms.stream.record.MediaStreamRecord

Com.wowza.wms.stream.file.MediaStreamFilePlay

AND

live-record:

com.wowza.wms.stream.live.MediaStreamLiveRecord

com.wowza.wms.stream.live.MediaStreamLivePlay

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 13, 2011, 5:54pm UTC](https://community.wowza.com/t/stream-type-live-record/35842/7 "2011-01-13T17:54:54Z")

</div>

How, then, in this case, set the following configuration:

I need to when I prophesied

Vidio stored on the server or not

Created each time a new video file with specified name or I have already made Append to existing file

All other settings as a live-record

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 13, 2011, 5:57pm UTC](https://community.wowza.com/t/stream-type-live-record/35842/8 "2011-01-13T17:57:04Z")

</div>

Where can I find in this case, detailed descriptions of the configurations? For detailed settings, if what I need is already implemented

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 14, 2011, 9:19am UTC](https://community.wowza.com/t/stream-type-live-record/35842/9 "2011-01-14T09:19:33Z")

</div>

Tell me where is the detailed description of the work is already standard operating practices located in Streams.xml ?

---

<div class="post-metadata">

**Author:** ![Aleksandr\_Ermolenko](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aleksandr\_Ermolenko](https://community.wowza.com/u/Aleksandr_Ermolenko)\
**Post date:** [January 14, 2011, 9:23am UTC](https://community.wowza.com/t/stream-type-live-record/35842/10 "2011-01-14T09:23:09Z")

</div>

What is this setting?

```auto
		<Stream>
			<Name>live-record</Name>
			<Description>Video Live with Recording</Description>
			<ClassBase>com.wowza.wms.stream.live.MediaStreamLiveRecord</ClassBase>
			<ClassPlay>com.wowza.wms.stream.live.MediaStreamLivePlay</ClassPlay>
			<Properties>
				<Property>
					<Name>maxliveaudiolatency</Name>
					<Value>8000</Value>
				</Property>
				<Property>
					<Name>instantOn</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>flushInterval</Name>
					<Value>125</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>onFlushNotifyClients</Name>
					<Value>false</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>disableLowBandwidthThrottling</Name>
					<Value>false</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>behindDropDFrames</Name>
					<Value>1500</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>behindDropPFrames</Name>
					<Value>3000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>behindDropKFrames</Name>
					<Value>6000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>behindDropAudio</Name>
					<Value>6000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>versionFile</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>appendFile</Name>
					<Value>false</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>recordDataPackets</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>recordWaitForVideoKeyFrame</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>isLive</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
			</Properties>
		</Stream>

```

And is there any other settings?
