<html>
  <head>
    <title>Blinker - Priority</title>
  </head>
  <body>
    <h1>Blinker - Priority</h1>
    <p>
      The priority module is used to select one of several streams.
      The selection is done on a priority basis.
      Among all streams providing a frame, the one with the highest priority
      is chosen.
    </p>
    <h2>Configuration</h2>
    <p>
      The configuration of the priority module with name <code>NAME</code>
      is located in the <code>priority/NAME</code> subdirectory.
    </p>
    <h3>Input List</h3>
    <p>
      The inputs to be possibly selected are configured in the
      <code>inputs</code> subdirectory.
      Each input is configured in an own subdirectory in <code>inputs</code>.
      E.g. the configurations for inputs with names <code>000lowprio</code>
      and <code>999highprio</code> reside in subdirectories
      <code>inputs/000lowprio</code> and <code>inputs/999highprio</code>
      respectively.
      All inputs are assigned a priority according to their alphanumerical
      order, i.e. <code>999highprio</code> is selected over
      <code>000lowprio</code> if both provide a frame.
    </p>
    <p>
      The configuration inside an input subdirectory consists of the following
      settings:
    </p>
    <h4>Input Stream</h4>
    <p>
      The file <code>instream</code> contains the name of the stream to
      read for this input.
    </p>
    <h3>Output Stream</h3>
    <p>
      The file <code>outstream</code> contains the name of the stream to
      send the frames to.
    </p>
  </body>
</html>