View previous topic :: View next topic |
Author |
Message |
Beto
Joined: 15 Sep 2009 Posts: 4
|
Posted: Tue Sep 15, 2009 8:58 pm Post subject: Diferentes Tipos de Stream |
|
|
Hola:
Tengo instalado como servidor icecast2 y como cliente de streaming tengo instalado Ices2 en Ubuntu 9.04, funcionando perfectamente con una playlist todo en el mismo equipo.
Al incorporar una segunda lista de audio me repite el mismo stream para las dos listas definidas; reproduciendo sola la ultima ingresada.
¿ cuantas playlist debo tener?
Desde ya gracias por la ayuda que me puedan brindar
Beto
Last edited by Beto on Sat Sep 26, 2009 12:31 pm; edited 2 times in total |
|
Back to top |
|
|
Beto
Joined: 15 Sep 2009 Posts: 4
|
Posted: Fri Sep 25, 2009 12:49 am Post subject: SOLUCIONADO |
|
|
Al final pude encontrar una solución que quedo de esta manera:
Monté 2 playlist con distinto nombre playlist1 y playlist2
Desde el terminal ejecuto
sudo /etc/init.d/icecast2 start
sudo ices2 /etc/ices2/ices-playlist1.xml &
sudo ices2 /etc/ices2/ices-playlist2.xml &
El icecast quedó configurado así:
<icecast>
<limits>
<clients>100</clients>
<sources>5</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>
<authentication>
<source-password>MIPASSWORD</source-password>
<relay-password>MIPASSWORD</relay-password>
<admin-user>admin</admin-user>
<admin-password>MIPASSWORD</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8002</port>
</listen-socket>
<mount>
<mount-name>/RADIO1</mount-name>
<username>othersource</username>
<password>MIPASSWORD</password>
<fallback-mount>/radio2</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<max-listeners>20</max-listeners>
<intro>/intro.ogg</intro>
<burst-size>65536</burst-size>
<genre>lentos</genre>
<public>1</public>
<hidden>0</hidden>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
<mount>
<mount-name>/RADIO2</mount-name>
<username>othersource</username>
<password>MIPASSWORD</password>
<fallback-mount>/radio2</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<max-listeners>20</max-listeners>
<intro>/intro.ogg</intro>
<burst-size>65536</burst-size>
<public>1</public>
<genre>classical</genre>
<hidden>0</hidden>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast2</basedir>
<logdir>/var/log/icecast2</logdir>
<webroot>/usr/share/icecast2/web</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
</logging>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast> |
|
Back to top |
|
|
|