0

I want to play streaming audio from server in java swing app.

There's a public live stream available at http://64.202.98.32:6210.

I have tried the java sound API without success:

URL ur= new URL("http://64.202.98.32:6210");
AudioStream as = new AudioStream (url.openStream());

I also looked at Internet audio player from java swing client?

How can I play live audio in swing app?

Community
  • 1
  • 1
Asghar
  • 2,336
  • 8
  • 46
  • 79

1 Answers1

0

There is an open-source project called FMJ at this link, maybe it can help -> http://fmj-sf.net/

But IMHO, instead of directly using a service, you may be able to get the streaming data from network with your Swing application, then play it using Java's Sound API.

uahakan
  • 576
  • 1
  • 6
  • 23