开发者

Best way to stream mp3s from java/c++ server to html5?

开发者 https://www.devze.com 2023-01-31 09:30 出处:网络
I am looking into streaming mp3s from a java (preferably) or c++ server to an html5 browser on another computer.

I am looking into streaming mp3s from a java (preferably) or c++ server to an html5 browser on another computer.

I know html5 (dependi开发者_JS百科ng on the browser) supports rtp, so if possible, that would be the best way to proceed.

In terms of the server side however, I am stuck. Are there any Java libraries that would enable mp3 streaming via rtp? I have looked at live555 for c++, but it seems to be a little too heavy for what I am looking for.

Or am I approaching this whole thing wrong. Basically I am looking to create a program where users can point to mp3 files on their computers/other users can open a webpage and stream these mp3 files from there.

Thanks


Check these Java RTP implementations:

  1. java.net.RTP
  2. RTP Java Library
  3. jlibrtp
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号