How to record voice in a browser?

后端 未结 3 1861
醉酒成梦
醉酒成梦 2021-02-14 01:52

I need users to record their voice on a browser and then automatically upload the resulting mp3 to a webserver.

I am thinking the user presses a big fat start record/sto

3条回答
  •  遇见更好的自我
    2021-02-14 02:17

    The most efficient free-ish solution bandwidth-wise is probably to develop a Flash app that streams Speex data to a Flash Media Server (e.g. Red5/Wowza). It's a huge pain though.

    A far simpler solution is to stream raw audio over a standard HTTP post. This can be done in Flash without a proprietary media server:

    https://code.google.com/p/wami-recorder/

    If you need MP3 on the server-side you can transcode using lame.

提交回复
热议问题