问题
Im trying to implement and realtime audio streaming swing desktop app . trying to get bytes of audio using java.net classes and then feeding it to play .
Just trying blind punches undersea water thinking the water tank will crack :((
help or any suggestion ?
回答1:
One way could be to use the AudioSystem class. this allows you to get the AudioInputStream from a URL.
来源:https://stackoverflow.com/questions/2458221/internet-audio-player-from-java-swing-client