A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
JMC or JMF or only JavaSound
Joined: Jun 28, 2008
Sep 06, 2009 10:28:36
I want to play sound files (wav, aiff, mp3, ogg,..) of size 50-100 MB through the network.
I have to use other libraries such (tritonous) to add support for mp3 and ogg.
I am using the
Java Sound API
and created a
which is embedded in
When I start the browser from localhost, then all works well -
but when starting the browser from another host, the
sound stutters and hangs
(even I use SourceDataLine instead of Clip)
So my question is:
How can I play audio files without stutters and breaks?
Should I use
Java Media Framework with its RTTP-Protocol
? (Should I struggling with code such as
or should I use
I have no clue?)
OR should I learn JavaFX and use the new JAVA Media Components?
What is the best way to play sound through the network without stutter and breaks?
It is sorta covered in the
JavaRanch Style Guide
subject: JMC or JMF or only JavaSound
audio stream via network
Canot play an mp3 file using Java Media Framework (JMF)
java sound api
what api to edit ID3 tags of .mp3 files?
How to Load jmf.jar in Applet ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014