<?xml version="1.0" encoding="UTF-16"?>
<flashmedialiveencoder_config>
	<!-- This tag configures FMLE for the case when audio device sends audio samples-->
	<!-- with forward timestamp. In this case FMLE can be configured to send 		-->
	<!-- silence audio message between samples that have forward timestamp.			-->
	<filler>
		<!-- Min Forward timestamp duration (in Milli Seconds).						-->	
		<!-- Default value is 50ms.													-->	
		<duration>50</duration>
	</filler>
	
	<!-- This tag configures FMLE for Debug Log writings.							-->
	<!-- Debug logs for audio, video, rtmp, etc. are created and can be analyzed	-->
	<!-- for troubleshooting purposes.												-->
	<!-- Logs are created in folder "stats_yyyymmdd_hhmmss" inside MyVideos 		-->
	<!-- directory by default. Logs directory path can be changed using "path"		-->
	<!-- tag.																		-->			
	<logs>
		<!-- Enable/Disable log writings.											-->
		<!-- "true"  to Enable log writings.										-->
		<!-- "false" to Disable.													-->
		<enable>false</enable>														
		<!-- Logs Directory path.													-->
		<!-- For Example, "C:\FMLE Logs".											-->
		<!-- By Default MyVideos is taken.											-->		
		<path></path>	
	</logs>
	<mbrconfig>
		<!-- Multiple Stream synchronization at FMS.								-->
		<!-- This feature can be used to synchronize streams from multiple FMLE		-->
		<!-- instances running on multiple machines.								-->
		<!-- All the streams are synchronized using a common reference UTC			-->
		<!-- (Coordinated Universal Time) time.										-->
		<!-- All the FMLE stream that needs to be synchronized should be configured	-->
		<!-- with same reference time and the machine on which FMLE instances are  	-->
		<!-- running should be synchronized using NTP (Network Time Protocol) 	 	-->
		<!-- for proper stream synchronization at FMS.								--> 
		<!-- This feature is disabled by default.									-->
		<streamsynchronization>
			<!-- "true" to enable this feature, "false" to disable.					-->
			<enable>false</enable>
			<!-- A Past UTC reference time.											-->
			<!-- Past reference time should not be earlier than 30 days from the 	-->
			<!-- time when encoding is started.										-->
			<!-- If invalid reference time is provided, current month is taken as 	-->
			<!-- reference time.													--> 
			<referencetime>
				<!-- A past/current month.											-->
				<!-- 1 for January, 2 for February and so on.						-->
				<!-- 0 means use current month.										-->	
				<month>0</month>
				<!-- A past/current year.											-->
				<!-- for Example, 2008,2009 etc.									-->
				<!-- 0 means use current year.										-->
				<year>0</year>
			</referencetime>
		</streamsynchronization>
	</mbrconfig>
	<rtmpconfig>
		<!-- Maximum RTMP buffer size and buffer duration configuration.			-->
		<!-- This tag can be used to set maximum RTMP buffer size and maximum		-->
		<!-- buffer duration at FMLE side.											-->
		<!-- Sometimes while publishing in adverse network condition (low bandwidth,-->
		<!-- high latency, etc.), the RTMP buffer at FMLE could	grow enormously		-->
		<!-- and cause increase in memory usage (Virtual memory).					-->
		<!-- Very high memory usage can cause application to become unresponsive	-->
		<!-- or even crash.															-->
		<!-- Use this tag to set a threshold value for the RTMP buffer.	Once any	-->
		<!-- of the threshold value (maxrtmpbuffersize or maxrtmpbufferlength) is	-->
		<!-- reached, FMLE flushes the RTMP buffer and re-publishes the streams.	-->
		<!-- When the RTMP buffer is flushed, all the data in the buffer is			-->
		<!-- discarded, leading to loss of the bufferd data.						-->
		<!-- In order to avoid increase in RTMP buffer and prevent the data loss,	-->
		<!-- use AutoAdjust feature. Please refer to help file for AutoAdjust. 		-->
		<!-- This feature is enabled by default.									-->
		<rtmpbuffercontrol>
			<!-- "true" to enable this feature, "false" to disable."				-->
			<enable>true</enable>
			<!-- Maximum RTMP buffer size. (in KB)									-->
			<!-- This tag specifies how large the RTMP buffer size could grow. 		-->
			<!-- default value is 512MB (512,000KB).								-->
			<maxrtmpbuffersize>512000</maxrtmpbuffersize>
			<!-- Maximum RTMP buffer Length/duration (in Seconds).					-->
			<!-- This tag specifies the maximum RTMP buffer length/duration.		-->
			<!-- Use this tag to set the threshold value for the RTMP buffer length.-->
			<!-- Default value is 3600 seconds ( 1 hour).							-->		
			<maxrtmpbufferlength>3600</maxrtmpbufferlength>
		</rtmpbuffercontrol>			
	</rtmpconfig>
</flashmedialiveencoder_config>