Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > d4db7b5092b5090e91377eb3dd3b8023 > files > 1346

flumotion-0.6.1-2.fc14.x86_64.rpm

<?xml version="1.0" ?>
<!-- This example shows how to configure a bouncer for authenticating
     end users connecting to the streamers. The flow has two streamers,
     and both of them use the configured bouncer. -->
<planet>
  <atmosphere>
    <component name="bouncer" project="flumotion"
               type="htpasswdcrypt-bouncer"
               version="0.5.2.1" worker="localhost">
<!-- The data was generated with htpasswd, the username is client and the
     password is listen.  You can test that it works by doing
     curl http://client:listen@localhost:8800/ -o test.ogg -m 5
     when the flow is running.  Changing username or password in the URL should
     give a 401.
-->
      <property name="data"><![CDATA[
client:Z5WEs3ezyz0E2
]]>
      </property>
    </component>
  </atmosphere>

  <flow name="default">
    <component name="producer-audio" project="flumotion"
               type="audiotest-producer" version="0.5.2.1" worker="localhost">

      <property name="frequency">440</property>
      <property name="samplerate">8000</property>
      <property name="volume">1.0</property>
    </component>

    <component name="encoder-audio" project="flumotion"
               type="vorbis-encoder" version="0.5.2.1" worker="localhost">
      <eater name="default">
        <feed alias="default">producer-audio:default</feed>
      </eater>
      <property name="quality">0.5</property>
    </component>

    <component name="muxer-audio" project="flumotion"
               type="ogg-muxer" version="0.5.2.1" worker="localhost">
      <eater name="default">
        <feed alias="default">encoder-audio:default</feed>
      </eater>
    </component>

    <component name="http-audio" project="flumotion"
               type="http-streamer" version="0.5.2.1" worker="localhost">
      <eater name="default">
        <feed alias="default">muxer-audio:default</feed>
      </eater>

      <property name="bandwidth-limit">10</property>
      <property name="burst-on-connect">True</property>
      <property name="client-limit">1024</property>
      <property name="mount-point">/</property>
      <property name="port">8800</property>
      <property name="bouncer">bouncer</property>
    </component>

    <component name="http-audio-2" project="flumotion"
               type="http-streamer" version="0.5.2.1" worker="localhost">
      <eater name="default">
        <feed alias="default">muxer-audio:default</feed>
      </eater>

      <property name="bandwidth-limit">10</property>
      <property name="burst-on-connect">True</property>
      <property name="client-limit">1024</property>
      <property name="mount-point">/</property>
      <property name="port">8801</property>
      <property name="bouncer">bouncer</property>
    </component>


  </flow>
</planet>