aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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: 662

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: 42573
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: 42573
By the way: AudioFileReader appears not to be an interface.
I agree. Here's the link:
subject: Audio/Video streaming?