闪光灯录制音频 [英] Recording audio in flash

查看:167
本文介绍了闪光灯录制音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在闪光,我知道还有就是flash.media.Video类。这个类可以捕捉视频录制,这里是它的文档:

in flash I know there is the flash.media.Video class. This class can capture video recording, here's its documentation:

Video类显示实时视频或
  在应用程序中记录的视频
  不嵌入在视频中你
  SWF文件。此类创建一个视频
  对象的Adobe Flash或Adobe Flex的
  界面,起到任一
  以下视频类型:FLV记录
  存储在服务器或本地上的文件,
  或实时视频从用户的捕获
  电脑。 Video对象是一个显示
  对象的应用程序的显示屏上
  列表并重新presents的视觉空间
  在其中视频中的用户运行
  接口

The Video class displays live or recorded video in an application without embedding the video in your SWF file. This class creates a Video object in an Adobe Flash or Adobe Flex interface that plays either of the following kinds of video: recorded FLV files stored on a server or locally, or live video captured from a user's computer. A Video object is a display object on the application's display list and represents the visual space in which the video runs in a user interface

什么特别的,这是事实,我可以捕捉视频直播及以后发送到另一个应用程序。我的问题是...是否有录音同一类?我想从用户麦克风捕获声音。从我看到的flash.media.Sound在没有让我equire本地音频流(比如从用户的麦克风录制音频)。
谢谢!

What's special about this is the fact that I can capture live video and send it onwards to another application. MY questions is... Is there the same class for audio recording? I'd like to capture sound from a user microphone. From what I see the flash.media.Sound does not let me equire local audio stream (like audio recorded from the user's microphone). Thank you!

推荐答案

您正在寻找的类是Microphone类。要知道,虽然视频和话筒都需要一台服务器做记录。两种最流行的兼容服务器是Adobe Flash媒体服务器和开源红5服务器。

The class you are looking for is the Microphone class. Be aware though that both Video and Microphone require a server to do the recording. The two most popular compatible servers are Adobe Flash Media Server and the open source Red 5 server.

这篇关于闪光灯录制音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆