| View previous topic :: View next topic |
| Author |
Message |
mase
Joined: 31 May 2009 Posts: 16
|
Posted: Wed Jun 03, 2009 2:48 pm Post subject: libshout - change format on-the-fly? |
|
|
Hi!
I want to make it possible to play mixed playlists (ogg and mp3) in my
program using libshout. A managing function could check for the
fileformat and switch shortly before sending to the icecast server.
Can I change the format on an already connected server?
Or is this only possible by disconnecting from server, switching and
reconnecting again? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jun 03, 2009 3:02 pm Post subject: |
|
|
no, you cannot do that. not only does libshout not support midstream codec changes, neither does icecast or any player AFAIK.
karl. |
|
| Back to top |
|
 |
mase
Joined: 31 May 2009 Posts: 16
|
Posted: Wed Jun 03, 2009 3:10 pm Post subject: |
|
|
| So I have to disconnect first? |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Wed Jun 03, 2009 6:37 pm Post subject: |
|
|
A simpler and frequently used method is reencoding files on the fly before sending to the server. This is the only working method for mixed playlists if you want not puzzling ice/shout servers ans all players... _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
| Back to top |
|
 |
|