简体   繁体   English

通过浏览器流实时音频(HTML5 ??)

[英]Streaming Live Audio Through the Browser (HTML5??)

I've looked round for a few days now and can't seem to find anything. 我环顾了几天,似乎什么也找不到。

What I'm looking to do is to take an audio source, from a single single microphone - ideally this will be done in the browser, I want to reduce the need for any plugins and limit the use of flash if at all possible. 我想要做的是从单个麦克风获取音频源-理想情况下,这将在浏览器中完成,我想减少对任何插件的需求,并尽可能限制使用Flash。 I would then look at broadcasting this audio stream to multiple clients (much like internet radio I guess), again all done in the browser. 然后,我会考虑将音频流广播到多个客户端(我猜很像互联网广播),所有这些都在浏览器中完成。 I've looked at things like icecast and shoutcast and they seem to to do what I need for this end. 我看过诸如冰封和喊话之类的东西,它们似乎可以满足我的目的。

What I need to know is if it is possible to capture an audio stream completely through a browser? 我需要知道的是,是否可以通过浏览器完全捕获音频流?

(Note: This will be sitting in a ASP.Net application) (注意:这将位于ASP.Net应用程序中)

You can try the WebRTC api that is on progress. 您可以尝试进行中的WebRTC api。 The Api does just like what you're doing. Api确实像您所做的那样。

for HTML5 you can simply use the tag, however, as of today, firefox will not support MP3 broadcasting with that, why? 对于HTML5,您可以简单地使用标签,但是从今天起,firefox将不再支持MP3广播,为什么? because of some copyright stuff, however they are working on it and i heard a couple of days that it will be available natively for firefox. 由于某些版权问题,但是他们正在研究它,而且我听说几天后它将在本机上用于Firefox。

check this stream, it uses tag, run it on iexplorer or chrome, even safari will work 检查此流,它使用标记,在iexplorer或chrome上运行它,即使是野生动物园也可以使用

geekius.net/radio geekius.net/radio

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM