Package MP3 data in HTTP for HTML5

I am wondering if it is possible to package MP3 data into an HTTP response, and what this would look like?

Suppose you wanted to live stream MP3 audio. Could you use an html5 <audio> tag set to a URL, request the URL, and continually receive more audio data?

I am trying to implement an audio streaming server from scratch written in C. I already have an HTTP server and MP3 audio data, but I'm not sure if this approach even makes sense - especially because it makes it sound like the HTTP connection would be a live socket...

链接地址: http://www.djcxy.com/p/60742.html

上一篇: 如何在没有上下文的情况下显示弹出消息

下一篇: 用HTML5封装MP3数据