【发布时间】:2012-02-12 19:46:31
【问题描述】:
我需要使用浏览器中的 Flash 对象从麦克风捕获音频并将其实时流式传输到 Flash Media Server。 Flash Media Server 将依次将音频流式传输给用户。
我必须使用 Flash Media Encoder 来捕获音频吗?是否可以在无需安装 Flash Media Encoder 的情况下捕获音频并以某种方式将其流式传输到 Flash Media Server?
我对 Flash 完全陌生,所以欢迎任何答案!
我看到了这个链接: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html
•Call NetStream.play() to play a media file from a local disk, a web server, or Flash Media Server.
•Call NetStream.publish() to publish a video, audio, and data stream to Flash Media Server.
•Call NetStream.send() to send data messages to all subscribed clients.
•Call NetStream.send() to add metadata to a live stream.
•Call NetStream.appendBytes() to pass ByteArray data into the NetStream.
这些功能是什么?我可以从 SWF 中调用这些,还是需要 Flash Media Encoder?
【问题讨论】: