Best way to stream mp3s from java/c++ server to html5?
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:
- java.net.RTP
- RTP Java Library
- jlibrtp
精彩评论