VODService comes with a predefined set of channels; these are defined in vodservice-service-channels.xml. A channel is basically a static forward to some other VODServer service. Configuring channels provides several advantages:
The following is an example channel definition from vodservice-service-channels.xml:
<entry key="Channel 4" value="/playFromPage?url=http://castalba.tv/channel/12781" />
This allows clients to invoke http://vodserver:port/channel?id=Channel+4, which will cause VODServer to actually execute /playFromPage?url=http://castalba.tv/channel/12781.
You can modify the mappings in the existing vodservice-service-channels.xml to create a set of personal channels. As an alternative, if you do not want to change the bundled configuration file, you can perform the following steps:
Creating your own channels configuration file is actually recommended, since you can simply copy your own configuration file to upgraded VODServer installations, and refer to the bundled channels configuration in case of any problems.