RTMP Sources RTMP publishing not allowed

Hi

I am trying to set up ansible script to deploy and maintain application. I am deploying new application using default XML file and changing lines according to requirements, but my application has in WSEM “Source Security” - “Sources RTMP publishing not allowed” and I am unable to connect from encoder.

How can I set rtmp Source Security to “Require password authentication” from XML

thanks

Hello Peter,

When the application is set to not allow access for RTMP encoders then the is left blank, to allow RTMP encoders to publish either with or without authentication you must put a * *

<Client>
	<IdleFrequency>-1</IdleFrequency>
	<Access>
		<StreamReadAccess>*</StreamReadAccess>
		<StreamWriteAccess></StreamWriteAccess>
		<StreamAudioSampleAccess></StreamAudioSampleAccess>
		<StreamVideoSampleAccess></StreamVideoSampleAccess>
		<SharedObjectReadAccess>*</SharedObjectReadAccess>
		<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
	</Access>
</Client>

To set the application to require authentication you must add a property to the section at the end of the .xml file:

<Property>
	<Name>securityPublishRequirePassword</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

Hope this helps you with creating a script to deploy your applications.

Regards,

Alex C.