Wowza Community

Stream type live-record

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

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:

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

This has no meaning in Wowza:

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

Richard

No, I don’t have that.

Richard

The LiveStreamRecord package is here:

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

Richard

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

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

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

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

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

What is this setting?

		<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?