<?xml version="1.0" encoding="UTF-8"?>
<Root version="3">
	<Server>
		<Name>Wowza Streaming Engine</Name>
		<Description>Wowza Streaming Engine is robust, customizable, and scalable server software that powers reliable streaming of high-quality video and audio to any device, anywhere.</Description>
		<RESTInterface>
			<Enable>true</Enable>
			<IPAddress>*</IPAddress>
			<Port>8087</Port>
			<!-- none, basic, digest, remotehttp, digestfile-->
			<!--AuthenticationMethod>basic</AuthenticationMethod-->
			<AuthenticationMethod>none</AuthenticationMethod>
			<!-- cleartext, digest, bcrypt -->
			<PasswordEncodingScheme>bcrypt</PasswordEncodingScheme>
			<DiagnosticURLEnable>true</DiagnosticURLEnable>
			<SSLConfig>
				<Enable>false</Enable>
				<KeyStorePath></KeyStorePath>
				<KeyStorePassword></KeyStorePassword>
				<KeyStoreType>JKS</KeyStoreType>
				<SSLProtocol>TLS</SSLProtocol>
				<Algorithm>SunX509</Algorithm>
				<CipherSuites></CipherSuites>
				<Protocols></Protocols>
			</SSLConfig>
			<!--IPWhiteList>127.0.0.1</IPWhiteList-->
			<IPWhiteList>*</IPWhiteList>
			<IPBlackList></IPBlackList>
			<EnableXMLFile>false</EnableXMLFile>
			<DocumentationServerEnable>false</DocumentationServerEnable>
			<DocumentationServerPort>8089</DocumentationServerPort>
			<!-- none(only) -->
			<DocumentationServerAuthenticationMethod>none</DocumentationServerAuthenticationMethod>
			<Properties>
			</Properties>
		</RESTInterface>
		<CommandInterface>
			<HostPort>
				<ProcessorCount>${com.wowza.wms.TuningAuto}</ProcessorCount>
				<IpAddress>*</IpAddress>
				<Port>8083</Port>
			</HostPort>
		</CommandInterface>
		<AdminInterface>
			<!-- Objects exposed through JMX interface: Server, VHost, VHostItem, Application, ApplicationInstance, MediaCaster, Module, Client, MediaStream, SharedObject, Acceptor, IdleWorker -->
			<ObjectList>Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker</ObjectList>
		</AdminInterface>
		<Stats>
			<Enable>true</Enable>
		</Stats>
		<!-- JMXUrl: service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi -->
		<JMXRemoteConfiguration>
			<Enable>false</Enable>
			<IpAddress>localhost</IpAddress> <!-- set to localhost or internal ip address if behind NAT -->
			<RMIServerHostName>localhost</RMIServerHostName> <!-- set to external ip address or domain name if behind NAT -->
			<RMIConnectionPort>8084</RMIConnectionPort>
			<RMIRegistryPort>8085</RMIRegistryPort>
			<Authenticate>true</Authenticate>
			<PasswordFile>${com.wowza.wms.ConfigHome}/conf/jmxremote.password</PasswordFile>
			<AccessFile>${com.wowza.wms.ConfigHome}/conf/jmxremote.access</AccessFile>
			<SSLSecure>false</SSLSecure>
		</JMXRemoteConfiguration>
		<UserAgents>Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh)</UserAgents>
		<Streams>
			<DefaultStreamPrefix>mp4</DefaultStreamPrefix>
		</Streams>
		<ServerListeners>
			<ServerListener>
				<BaseClass>com.wowza.wms.mediacache.impl.MediaCacheServerListener</BaseClass>
			</ServerListener>
			
			<!--
			<ServerListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerListener</BaseClass>
			</ServerListener>
			-->

			<!--
			<ServerListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerSender</BaseClass>
			</ServerListener>
			-->

			<ServerListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.listeners.ServerListener</BaseClass>
			</ServerListener>
		</ServerListeners>
		<VHostListeners>
			<VHostListener>
				<BaseClass>com.wowza.wms.plugin.loadbalancer.listeners.VHostListener</BaseClass>
			</VHostListener>
		</VHostListeners>
		<HandlerThreadPool>
			<PoolSize>${com.wowza.wms.TuningAuto}</PoolSize>
		</HandlerThreadPool>
		<TransportThreadPool>
			<PoolSize>${com.wowza.wms.TuningAuto}</PoolSize>
		</TransportThreadPool>
		<RTP>
			<DatagramStartingPort>6970</DatagramStartingPort>
			<DatagramPortSharing>false</DatagramPortSharing>
		</RTP>
		<Manager>
			<!-- Properties defined are used by the Manager -->
			<Properties>
			</Properties>
		</Manager>
		<Transcoder>
			<PluginPaths>
				<QuickSync></QuickSync>
			</PluginPaths>
		</Transcoder>
		<!-- Properties defined here will be added to the IServer.getProperties() collection -->
		<Properties>
			<Property>
				<Name>loadbalanceType</Name>
				<Value>Server,Client</Value>
				<Type>String</Type>
  			</Property>	
  			<Property>
    			<Name>loadbalanceKey</Name>
    			<Value>8caf20bfa1ab3024</Value>
    			<Type>String</Type>
  			</Property>
  			<Property>
    			<Name>loadbalanceDebugServerDecision</Name>
    			<Value>True</Value>
				<Type>String</Type>
			</Property>
  			<Property>
    			<Name>loadbalanceServerDecisionOrder</Name>
    			<Value>Connection, Bandwidth</Value>
    			<Type>String</Type>
			</Property>
  			<Property>
				<Name>loadbalanceServerListenApplicationNames</Name>
				<Value></Value>
				<Type>String</Type>
			</Property>

			<!--Property>
        			<Name>loadbalanceServerIgnoreClients</Name>
				<Value>none</Value>
				<Type>String</Type>
			</Property-->
			<Property>
        	<Name>loadbalanceServerListenPort</Name>
        		<Value>1936</Value>
				<Type>String</Type>
			</Property>
			<Property>
            <Name>loadbalanceDebug</Name>
				<Value>False</Value>
				<Type>String</Type>
			</Property>

			<Property>
            	<Name>loadbalanceDebugServerExtension</Name>
				<Value>False</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceDebugClientProcess</Name>
        		<Value>False</Value>
                <Type>String</Type>
			</Property>
  			<Property>
                <Name>loadbalanceDebugClientExtension</Name>
    			<Value>False</Value>
                <Type>String</Type>
			</Property>
			<Property>
                <Name>loadbalanceDebugClientCommunications</Name>
    			<Value>False</Value>
                <Type>String</Type>
			</Property>

			<!-- the below is Client Server config -->
			<Property>
    			<Name>loadbalanceServerIP</Name>
				<!--Value>172.16.88.19,172.16.88.129</Value>-->
				<Value>172.16.88.19</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceServerPort</Name>
				<Value>1936</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceClientName</Name>
				<Value>wowza_01</Value>
        			<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceApplicationsInclude</Name>
				<Value>live_fleet</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceClientConnectionEnable</Name>
				<Value>on</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceClientConnectionLimit</Name>
				<Value>200</Value>
				<Type>String</Type>
 			</Property>
			<Property>
				<Name>loadbalanceClientCountSourceClient</Name>
				<Value>True</Value>
				<Type>String</Type>
			</Property>
			<Property>
				<Name>loadbalanceClientForceIP</Name>
				<Value>42.96.42.88</Value>
				<Type>String</Type>
            </Property>
			<Property>
				<Name>loadbalanceClientForcePort</Name>
				<Value>1935</Value>
				<Type>String</Type>
            </Property>
		</Properties>
	</Server>
</Root>
