Wowza Community

Automatically record live streams

Hello,

is there a possibility to automatically record every livestream as soon as it starts without any user interaction?

If you use a StreamType of “live-record” in the application.xml file, all the streams will be recorded from start to finish for that application.

Salvadore

Hi,

If the connection breaks or the stream is stopped, then appending will not take place in this case.

Instead, a new version-ed file is created when the stream starts up or the connection is resumed.

You’ll need to post-process the files into one, if you want these to be continuous.

Daren

If you use a StreamType of “live-record” in the application.xml file, all the streams will be recorded from start to finish for that application.

Salvadore

hello!

How to append the files? If stream drop a new file is created, i put the defaults to append , but not work, how automate this?

If running Wowza previous to version 4.0.x then you can try adding these properties to the Application/Streams Properties section in Application.xml:

<Property>
   <Name>versionFile</Name>
   <Value>false</Value>
   <Type>Boolean</Type>
</Property>
<Property>
  <Name>appendFile</Name>
  <Value>true</Value>
  <Type>Boolean</Type>
</Property>

For Wowza version 4.0.x add the same properties as above manually. And from the Engine Manager UI, in the Application Properties tab, under the “StreamRecorder Defaults” tab set the “streamRecorderVersioningOption” to “append” save and restart the application.

Or if you prefer while you are editing the Application.xml file you can add the “streamRecorderVersioningOption” property manually as well. Add this property the the Application.xml file, in the like this:

<StreamRecorder>
 <Properties>
   <Property>
	<Name>streamRecorderVersioningOption</Name>
	<Value>append</Value>
	<Type>String</Type>
   </Property>
 </Properties>
</StreamRecorder>

Salvadore