This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Audio/Video streaming? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Audio/Video streaming?" Watch "Audio/Video streaming?" New topic

Audio/Video streaming?

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Does javax.sound.sampled.spi.AudioFileReader provide functions to actually play an audio file, or do I have to find a way to play the file, if I were to write an MP3 player? MP3s do not seem to be supported by the AudioFileReader, however, I have seen implementations of MP3 players in Java, so, how do you think they might have gone about the implementation?

Does Java provide support for streaming videos, such as flash movies?

Do you have complete source code(s) for MP3 players?

Related links
1. Javazoom MP3 player
2. MP3 player on

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38033
Did you read the list of methods in AudioFileReader? Has it got any playing methods?
No, we don't have complete code.

I think this is too difficult a question for "beginning", so I shall move it.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38033
By the way: AudioFileReader appears not to be an interface.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Audio/Video streaming?
Similar Threads
.ra to .mp3 convertor
problem with JMF on Linux
Streaming Audo File, need to Stream only 30 seconds
Play MP3 in jar file
Problems with Player -- no sounds.