20 • AirMedia Presentation Gateway Deployment Guide – DOC. 7693K
After the folder is created, the configuration file must be created. The config.ini file
contains the location of the room list XML file. The file contains two items: the section
Crestron and the key XMLPath. An example of a config.ini file is shown below.
[Crestron]
XMLPath=M:\config\airmedia\room_list.xml
When the AirMedia application starts, it attempts to read the file at the location
specified by the XMLPath. Note the following when specifying an XML path:
• Local and network paths are allowed.
• Do not enclose the path in quotes.
• Environmental variables are not supported.
• When updates are necessary, a change to this file either by administering the file
locally or on the network will quickly allow users access to the available AirMedia
rooms.
Room List (XML File) for Windows and macOS
The room list file is an XML file that defines the devices and their connection parameters.
The specifics of the XML file schema are defined in the table below.
Room List File Details
TAG DESCRIPTION EXAMPLE FOR WINDOWS AND
MACOS
devices This is the main container for the room list file. Each file must
contain only one set of tags.
<?xml version=”1.0”?>
<devices>
<device>
<name>Room 239</name>
<address>192.168.0.184</address>
<code>5885</code>
</device>
<device>
<name>Room 240</name>
<address>192.168.0.186</address>
</device>
<device>
<name>Room 241</name>
<address>192.168.0.186</address>
</device>
</devices>
device This is the container for each device to be displayed. The file
may contain one or more set of tags.
Both
name This is the display name for the AirMedia device that is shown
in the Device Name column of the application.
Both
address This is the IP address of the AirMedia device. This field is
currently limited to IPv4 addresses only.
Both