Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1519 connectés 

  FORUM HardWare.fr
  Réseaux grand public / SoHo
  Hébergement

  [Authentification] Relais Icecast2 vers Shoutcast

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Authentification] Relais Icecast2 vers Shoutcast

n°459185
ulrich_84
Posté le 02-05-2010 à 11:23:02  profilanswer
 

Bonjour  :hello: ,
 
je souhaiterais pouvoir connecter un serveur Icecast2 (sur une machine en local -192.168.0.2-) vers un serveur Shoutcast (chez un hébergeur -xxx.112.138.24-port: 4848).
 
Le problème est qu'il faut paramétrer le serveur Icecast2 en relais, mais également que le serveur Shoutcast accepte le flux de donnée provenant du Icecast2.
Le serveur Shoutcast demande un mot de passe pour pouvoir s'y connecter, et dans le fichier de configuration icecast.xml, aucune donné ne se rapporte a cela.
 
Ou dois-je indiquer le mot de passe du serveur shoutcast ? (j'ai déjà testé plusieurs configuration, lis plusieurs dizaine de sujet un peu partout, le problème est régulièrement exposé mais aucune réponse précise n'est présente ou suffisement détaillé).  :??:  
(Je précise que tous les ports sont ouverts)
 

Code :
  1. <icecast>
  2.     <limits>
  3.         <clients>100</clients>
  4.         <sources>2</sources>
  5.         <threadpool>5</threadpool>
  6.         <queue-size>524288</queue-size>
  7.         <client-timeout>30</client-timeout>
  8.         <header-timeout>15</header-timeout>
  9.         <source-timeout>10</source-timeout>
  10.         <!-- If enabled, this will provide a burst of data when a client
  11.              first connects, thereby significantly reducing the startup
  12.              time for listeners that do substantial buffering. However,
  13.              it also significantly increases latency between the source
  14.              client and listening client.  For low-latency setups, you
  15.              might want to disable this. -->
  16.         <burst-on-connect>1</burst-on-connect>
  17.         <!-- same as burst-on-connect, but this allows for being more
  18.              specific on how much to burst. Most people won't need to
  19.              change from the default 64k. Applies to all mountpoints  -->
  20.         <burst-size>65535</burst-size>
  21.     </limits>
  22.     <authentication>
  23.         <!-- Sources log in with username 'source' -->
  24.         <source-password>hackme</source-password>
  25.         <!-- Relays log in username 'relay' -->
  26.         <relay-password>hackme</relay-password>
  27.         <!-- Admin logs in with the username given below -->
  28.         <admin-user>admin</admin-user>
  29.         <admin-password>hackme</admin-password>
  30.     </authentication>
  31.     <!-- Uncomment this if you want directory listings -->
  32.     <!--
  33.     <directory>
  34.         <yp-url-timeout>15</yp-url-timeout>
  35.         <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
  36.     </directory>
  37.     <directory>
  38.         <yp-url-timeout>15</yp-url-timeout>
  39.         <yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
  40.     </directory>
  41.      -->
  42.     <!-- This is the hostname other people will use to connect to your server.
  43.     It affects mainly the urls generated by Icecast for playlists and yp
  44.     listings. -->
  45.     <hostname>192.168.0.2</hostname>
  46.     <!-- You can use these two if you only want a single listener -->
  47.     <!--<port>8001</port> -->
  48.     <!--<bind-address>127.0.0.1</bind-address>-->
  49.     <!-- You may have multiple <listener> elements -->
  50.     <listen-socket>
  51.         <port>8001</port>
  52.         <!-- <bind-address>127.0.0.1</bind-address> -->
  53.     </listen-socket>
  54.     <!--
  55.     <listen-socket>
  56.         <port>8001</port>
  57.     </listen-socket>
  58.     -->
  59.     <!--<master-server>127.0.0.1</master-server>-->
  60.     <!--<master-server-port>8001</master-server-port>-->
  61.     <!--<master-update-interval>120</master-update-interval>-->
  62.     <!--<master-password>hackme</master-password>-->
  63.     <!-- setting this makes all relays on-demand unless overridden, this is
  64.          useful for master relays which do not have <relay> definitions here.
  65.          The default is 0 -->
  66.     <!--<relays-on-demand>1</relays-on-demand>-->
  67.     <!--
  68.     <relay>
  69.         <server>127.0.0.1</server>
  70.         <port>8001</port>
  71.         <mount>/example.ogg</mount>
  72.         <local-mount>/different.ogg</local-mount>
  73.         <on-demand>0</on-demand>
  74.         <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
  75.     </relay>
  76.     -->
  77.     <!-- Only define a <mount> section if you want to use advanced options,
  78.          like alternative usernames or passwords
  79.     <mount>
  80.         <mount-name>/example-complex.ogg</mount-name>
  81.         <username>othersource</username>
  82.         <password>hackmemore</password>
  83.         <max-listeners>1</max-listeners>
  84.         <dump-file>/tmp/dump-example1.ogg</dump-file>
  85.         <burst-size>65536</burst-size>
  86.         <fallback-mount>/example2.ogg</fallback-mount>
  87.         <fallback-override>1</fallback-override>
  88.         <fallback-when-full>1</fallback-when-full>
  89.         <intro>/example_intro.ogg</intro>
  90.         <hidden>1</hidden>
  91.         <no-yp>1</no-yp>
  92.         <authentication type="htpasswd">
  93.                 <option name="filename" value="myauth"/>
  94.                 <option name="allow_duplicate_users" value="0"/>
  95.         </authentication>
  96.         <on-connect>/home/icecast/bin/stream-start</on-connect>
  97.         <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
  98.     </mount>
  99.     <mount>
  100.         <mount-name>/auth_example.ogg</mount-name>
  101.         <authentication type="url">
  102.             <option name="mount_add"       value="http://myauthserver.net/notify_mount.php"/>
  103.             <option name="mount_remove"    value="http://myauthserver.net/notify_mount.php"/>
  104.             <option name="listener_add"    value="http://myauthserver.net/notify_listener.php"/>
  105.             <option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
  106.         </authentication>
  107.     </mount>
  108.     -->
  109.     <fileserve>1</fileserve>
  110.     <!-- set the mountpoint for a shoutcast source to use, the default if not
  111.          specified is /stream but you can change it here if an alternative is
  112.          wanted or an extension is required
  113.     <shoutcast-mount>/live.nsv</shoutcast-mount>
  114.     -->
  115.     <paths>
  116.       <!-- basedir is only used if chroot is enabled -->
  117.         <basedir>./</basedir>
  118.         <!-- Note that if <chroot> is turned on below, these paths must both
  119.              be relative to the new root, not the original root -->
  120.         <logdir>./logs</logdir>
  121.         <webroot>./web</webroot>
  122.         <adminroot>./admin</adminroot>
  123.         <!-- <pidfile>./icecast.pid</pidfile> -->
  124.         <!-- Aliases: treat requests for 'source' path as being for 'dest' path
  125.              May be made specific to a port or bound address using the "port"
  126.              and "bind-address" attributes.
  127.           -->
  128.         <!--
  129.         <alias source="/foo" dest="/bar"/>
  130.           -->
  131.         <!-- Aliases: can also be used for simple redirections as well,
  132.              this example will redirect all requests for http://server:port/ to
  133.              the status page
  134.           -->
  135.         <alias source="/" dest="/status.xsl"/>
  136.     </paths>
  137.     <logging>
  138.         <accesslog>access.log</accesslog>
  139.         <errorlog>error.log</errorlog>
  140.         <!-- <playlistlog>playlist.log</playlistlog> -->
  141.          <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
  142.          <logsize>10000</logsize> <!-- Max size of a logfile -->
  143.         <!-- If logarchive is enabled (1), then when logsize is reached
  144.              the logfile will be moved to [error|access|playlist].log.DATESTAMP,
  145.              otherwise it will be moved to [error|access|playlist].log.old.
  146.              Default is non-archive mode (i.e. overwrite)
  147.         -->
  148.         <!-- <logarchive>1</logarchive> -->
  149.     </logging>
  150.     <security>
  151.         <chroot>0</chroot>
  152.         <!--
  153.         <changeowner>
  154.             <user>nobody</user>
  155.             <group>nogroup</group>
  156.         </changeowner>
  157.         -->
  158.     </security>
  159. </icecast>


 
Pour résumer, je cherche donc à ce que la sortie du flux Icecast2 se redirige vers Shoutcast (Musique > Icecast2 (serveur local) > Shoutcast (hébergeur)> Auditeurs)
 
Merci d'avance a celui ou celle qui pourra me permettre de trouver la solution. :jap:

mood
Publicité
Posté le 02-05-2010 à 11:23:02  profilanswer
 

n°459673
ulrich_84
Posté le 05-05-2010 à 19:00:08  profilanswer
 

je me retrouve toujours face a ce problème, je fais donc un up du sujet en espérant que quelqu'un puisse m'aider.
 
;)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Réseaux grand public / SoHo
  Hébergement

  [Authentification] Relais Icecast2 vers Shoutcast

 

Sujets relatifs
Migration Livebox vers modem-routeurExporter mails Hotmail vers Yahoo
Redirection Web: racine vers dossierCréer un "relais WiFi"
Extension de réseau Wifi : Freebox vers neufboxService mail vers SMS ?
Problème internet réseaux local vers internetReroutage de port 5900 routeur vers un PC derriere DHCP ?
Connection sortante vers 224.0.0.253 
Plus de sujets relatifs à : [Authentification] Relais Icecast2 vers Shoutcast


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR