Here is how to start a shoutcast stream subscription in red5 (coming soon)
NSVConsumer nsv=new NSVConsumer(ServerTypes.MODE_NSV_CLIENT,
By changing the mode, you can have the following, however, in subscriber modes, Red5 will switch based on the content header. I the same goes for server mode. Red5 will handle both Winamp shoutcast dsp and nsvCap/scsrc and switch modes on the fly.
Red5 is also set up to handle any number of mount points and client-modes.
* Act like a shoutcast client.
public static int MODE_SHOUT_CAST_CLIENT=2;
* Act like a shoutcast server for the encoder.
public static int MODE_SHOUT_CAST_SERVER=3;
* Act like a shoutcast client for nsv tv.
public static int MODE_NSV_CLIENT=1;
* Act like a shoutcast server for nsv tv encoder.
public static int MODE_NSV_SERVER=0;
I've run it for over two weeks straight with good results.