Publisher configuration

The file publisher.xml is an XML document that contains configuration settings for the Publisher. A sample template is shown below. Each of the elements that is allowed in the template is described in the table that follows the sample. An XML schema (.xsd) describing the XML format is shipped as part of the product.

<?xml version=”1.0” encoding=”UTF-8”?>
<Publisher>

<Logger>
	<LogLevel>error</LogLevel>
    <LogFile>Publisher.log</LogFile>
</Logger>

<NumMessageBuffers>10</NumMessageBuffers>
<NumPacketBuffers>250</NumPacketBuffers>
<MessageFlushInterval>1</MessageFlushInterval>
<LatencyCheckInterval>30</LatencyCheckInterval>

<AdminChannel>
	<AdminPort>10001</AdminPort>
</AdminChannel>

<ResendChannel>
	<ResendPort>10002</ResendPort>
</ResendChannel>

<DataStreamChannelList>
	<DataStreamChannel>
		<ChannelName>Channel 1</ChannelName>
		<LocalInterface>localhost</LocalInterface>
		<IPAddress>224.0.0.1</IPAddress>
		<Port>12001</Port>
	</DataStreamChannel>
	<DataStreamChannel>
		<ChannelName>Channel 2</ChannelName>
		<LocalInterface>localhost</LocalInterface>
		<IPAddress>224.0.0.2</IPAddress>
		<Port>12002</Port>
	</DataStreamChannel>
</DataStreamChannelList>
</Publisher>