简体   繁体   English

从浏览器流音频记录到服务器?

[英]Streaming audio recording from browser to server?

I've found things that let you record audio in a browser and then save it to a server. 我发现了可以让您在浏览器中录制音频, 然后将其保存到服务器的功能。 Is there anything out there that lets you do streaming recording -- that is, sending the audio in chunks to a server rather than waiting until after the entire recording has been done? 有什么可以让您进行流式录制的-即将音频分块发送到服务器,而不是等到整个录制完成后再进行?

I'm wondering this because I'd like to record a long-ish (15-20 min) length audio recording and I want to avoid the risk of something going wrong after the recording, or facing an audio file that is too large to easily upload. 我想知道这是因为我想录制一段较长的音频(15-20分钟),并且我想避免在录制后出现问题或面对太大而无法接收的音频文件的风险。轻松上传。

On the client/browser end ideally we're talking Flash (obviously as soon as there is any kind of support in HTML5 we'll switch to that) and then on the server end pretty much anything that will run on a Linux box, although something in Python would be preferred. 理想情况下,在客户端/浏览器端我们正在谈论Flash(很明显,一旦HTML5中提供了任何形式的支持,我们都会切换到该支持),然后在服务器端,几乎所有将在Linux机器上运行的东西都可以使用。最好使用Python。

getUserMedia allows this and live streaming to the server. getUserMedia允许此内容并实时流式传输到服务器。 However, support is sparse, and you'll need a wrapper to get the current beta versions of Chrome to support it. 但是,支持很少,您需要包装器才能获得最新的Chrome beta版本以支持它。 Other than that, only Opera Betas support it at the moment. 除此之外,目前只有Opera Betas支持它。

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

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