使用动作脚本,我怎么可以录制音频,然后将其上传到服务器? [英] How can I record audio using Action script then upload it to server?

查看:122
本文介绍了使用动作脚本,我怎么可以录制音频,然后将其上传到服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先是没有任何技术使用动作脚本从麦克风录制的声音? 如是。怎么样? 后来有他记录我把它上传到服务器。

First is there any technique for using Action Script for recording sound from microphone? If yes. How? Then one he record I'll upload it to server.

推荐答案

flash.media.Microphone 就是你要寻找的类。

静态函数 Microphone.getMicrophone()返回引用麦克风对用于捕获音频对象。要开始捕获音频,您必须附上麦克风对象到的NetStream 对象(请参阅 NetStream.attachAudio())。

The static function Microphone.getMicrophone() returns a reference to a Microphone object for capturing audio. To begin capturing the audio, you must attach the Microphone object to a NetStream object (see NetStream.attachAudio()).

有在 LiveDocs中至少一个例子。开始于 flash.media.Microphone

There's at least one example in the LiveDocs. Start at flash.media.Microphone.

这篇关于使用动作脚本,我怎么可以录制音频,然后将其上传到服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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