Internet audio player from java swing client?

守給你的承諾、 提交于 2019-12-24 23:26:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!