Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as XML by vys ( 15 years ago )
<server config="default">
  <listen port="1935" host="*"/>
  <server-name> erlyvideo.org </server-name>
  <server-name> rtmp.erlyvideo.org </server-name>
  <authorize secret-key="1234"></authorize>
  <user limit="100"/>
  <rtmp>
    <handler module="remove_useless_prefix"/>
    <handler module="trusted_login"/>
    <handler module="apps_push"/>
    <handler module="apps_rewrite_play">
      <arg name="url">http://erlyvideo.org/stream_auth</arg>
    <handler>
    <handler module="apps_registrator"/>
    <handler module="apps_stat_collector"/>
    <handler module="apps_streaming"/>
    <handler module="apps_recording"/>
    <handler module="apps_sip"/>
  </rtmp>
  <http>
    <http-root path="/Users/max/Movies"/>
    <http-root path="/var/lib/erlyvideo/movies"/>
    <location path="/">
      <handler module="ems_http_rtmpt"/>
      <handler module="ems_http_file">
        <connect module="apps_registrator"/>
      </handler>
      <handler module="ems_http_file">
        <arg name="htdocs"> /Users/max/Sites/registrator/wwwroot </arg>;
      </handler>
    </location>
    <location path="/erlyvideo/api">
      <handler module="ems_http_erlyvideo_api"/>
    </location>
    <location path="/shoutcast">
      <handler module="ems_http_shoutcast"/>
    </location>
    <location path="/deskshare">
      <handler module="ems_http_deskshare"/>
    </location>
  </http>
  <play>
    <location path="/">
      <handler module="rewrite"/>
      <handler module="http"/>
      <handler module="rtsp"/>
      <handler module="ts_file"/>
      <handler module="file"/>
      <handler module="livestream"/>
    </location>
    <location path="/playlists">
      <handler module="playlist_adapter">
        <arg name="playlist"> http://erlyvideo.org/playlists </arg>
      </handler>
    </location>
    <location path="cam1_view">
      <connect module="registrator_playlist">
        <arg name="camera" string="cam1"/>
        <arg name="public" bool="false"/>
        <arg name="clients_timeout" bool="false"/>
      </connect>
    </location>
    <location path="mpeg2">
      <connect module="mpegts">
        <arg name="path"> http://erlybuild.local:4242/bynumber/1 </arg>
      </connect>
      <clients-timeout enable="true"/>
    </location>
    <location path="pp3">
      <connect module="mpegts">
        <arg name="path"> http://localhost:9022/ </arg>
      </connect>
      <failover>http://localhost:9023</failover>
      <registrator enable="false"/>
    </location>
    <location path="axis">
      <connect module="rtsp">
        <arg name="path">rtsp://root:[email protected]./axis-media/media.amp</arg>
      </connect>
      <clients-timeout enable="true"/>
      <source-timeout enable="true"/>
      <retry-limit enable="true"/>
      <registrator enable="false"/>
      <failover>http://localhost:9023</failover>
    </location>
    <location path="/upstream">
      <regex match="/user\\.(\\d+)/">
        <connect module="rtmp">
          <arg name="path">rtmp://upstream1.cdn.ru/live/<regex subst="1"/></arg>
        </connect>
      </regex>
      <regex match="*">
        <connect module="rtmp">
          <arg name="path"><var name="url"/></arg>
        </connect>
        <failover>rtmp://upstream3.cdn.ru/vod/<var name="url"/></failover>
      </regex>
    </location>
  </play>
</server>

 

Revise this Paste

Your Name: Code Language: