在 flash 中录制音频 [英] Recording audio in flash

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

问题描述

在 flash 我知道有 flash.media.Video 类.这个类可以捕获视频录制,这里是它的文档:

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

视频类显示实时或在应用程序中录制的视频无需将视频嵌入您的SWF 文件.这个类创建一个视频Adobe Flash 或 Adob​​e Flex 中的对象播放其中任何一个的界面以下类型的视频:录制的 FLV存储在服务器上或本地的文件,或从用户的视频中捕获的实时视频计算机.Video 对象是一个显示应用程序显示器上的对象列出并代表视觉空间其中视频在用户中运行界面

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 不允许我需要本地音频流(如从用户麦克风录制的音频).谢谢!

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 类.但请注意,视频和麦克风都需要服务器来进行录制.两个最受欢迎的兼容服务器是 Adob​​e Flash Media Server 和开源 Red 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.

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

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