简体   繁体   English

从Flash AS3录制和保存声音

[英]Recording and saving sound from Flash AS3

How can I record and save sound in flash AS3. 如何在Flash AS3中记录和保存声音。 I have writing access to the server and also access to PHP files. 我具有对服务器的写访问权限,还具有对PHP文件的访问权限。

Any ideas? 有任何想法吗?

  1. Record the data locally 本地记录数据
  2. compress them to mp3 压缩到mp3
  3. send the bytearray to the server to be saved 发送字节数组到服务器进行保存

As of FP10 you can save files without the need for a server side. 从FP10开始,您可以保存文件而无需服务器端。

http://cookbooks.adobe.com/post_Save_a_file_locally_with_Flash_Player_10-14426.html http://cookbooks.adobe.com/post_Save_a_file_locally_with_Flash_Player_10-14426.html

As far as i know you have to stream the audio from the user to a Flash Media Server or Red5 server and save it there. 据我所知,您必须将音频从用户流式传输到Flash Media Server或Red5服务器,并将其保存在那里。

This is one question i would love to find out i am wrong. 这是我想找出我错了的一个问题。

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

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