Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to make an internet radio for my school and i would like to be able to stream to a shoutcast server using some java code, could anyone provide me with some help? Thanks

-Jordan
Posted
Comments
Sergey Alexandrovich Kryukov 2-Oct-12 13:40pm    
Are you sure you don't want to use some ready-to-use streaming product?
--SA
Sicppy 2-Oct-12 14:05pm    
There's some code I'm gonna put in so that they can put in requests from the website I'm makin
Sergey Alexandrovich Kryukov 2-Oct-12 14:09pm    
So, what code, and what did you try? Why are you asking for help, in this case?
--SA
Sicppy 2-Oct-12 14:33pm    
I would like to be able to stream to a shoutcast server using java code, I have no idea how to do this, I tryed JMF but that didn't work out, other than that I haven't found anything that could even possibly work.
Sergey Alexandrovich Kryukov 2-Oct-12 14:35pm    
Well, what's the problem with JMF, and, importantly, why would you need to use just Java?
--SA

The problem is still unclear, as well as your requirements. The discussion in comments cannot convince me that you really need to use Java, or some API, or anything in particular.

So, just in case, consider using a ready-to-use open-source streaming solution, VideoLAN:
http://en.wikipedia.org/wiki/VideoLan[^],
http://www.videolan.org/[^].

It can do nearly everything, on Windows, Mac OS X and Linux platforms.

Java bindings are also available:
http://wiki.videolan.org/Java_bindings[^].

[EDIT]

As well as .NET:
http://wiki.videolan.org/C_Sharp[^],
http://wiki.videolan.org/.Net_Interface_to_VLC[^].

—SA
 
Share this answer
 
v4
Comments
Sicppy 2-Oct-12 14:44pm    
I want to use java so i can code a couple extra features in, I need some code that will let me stream to a shoutcast server,
Jordan
Sergey Alexandrovich Kryukov 2-Oct-12 15:09pm    
OK. Are you considering this product? Take a look -- it already solved a lot of problem, so it's very likely you will be able to use it.
--SA
Sicppy 2-Oct-12 15:25pm    
OK, thanks, ill take a look
Sergey Alexandrovich Kryukov 2-Oct-12 15:27pm    
If you agree it may make sense, please also consider accepting the answer formally (green button). It won't prevent others to add other solutions.
--SA
Sicppy 5-Oct-12 14:47pm    
I have checked it out and I may try writing a module for it, Thank You
Seems like Shoutcast has no Java API, so you will have to rely on the given tools.

Here are the details on how to get the thingy started:
SHOUTcast_Getting_Started_Guide[^]
SHOUTcast_Broadcaster WIKI[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900