Flash-based Audio and Video Recording and Playback

This site is designed to help you record and play back audio from a web page, using the Flash plugin and Red5 server. I assume that you know that Red5 is an open-source implementation of the protocol that the Flash Media Server uses to stream audio to and from a SWF client.

These samples show sample implementations of the protocol, and the sample code is here for your reference.

Please contact me directly at dhoopingarner@gmail.com if you have questions, or if you need any additional information.

Hire Me

I can create customized versions of the recorder, and help to integrate it with your website. Contact me to talk about your project.

Look, Ma - no server!

Version 10.1 of the Flash plugin allows you to record directly to memory, without the need to connect to a FMS/Red5 server.

Load

This is a basic implementation. Download the source code here.

Yes, it is possible to create an MP3 file on the client side: Try this more sophisticated recorder, which converts to MP3 on the client before uploading to a server. See an implementation of this technology here. Contact me for information about licensing this technology.

Version 6 of the Barebones Recorder is available. Single-domain licenses are $99. More information here: http://recorder.denniehoopingarner.com/.

Of course Red5 can do video!

Here's a simple video recorder.

Load

Need a complete, off-the-shelf video recording system? This example is available for licensing.

New Version! (8/30/2010)

This version features an interface rendered entirely in HTML5/CSS3. The SWF file is present but not visible on the page. Try it by following the link:

HTML interface, Javascript controller:


Stream Audio from a Red5 server

This example uses the excellent media player from Long Tail Video.
The SWFObject Javascript library eases the process of embedding the player in the webpage.

Stream a FLV file: LOAD
Stream an MP3 file: LOAD


Record Audio to a Red5 Server
LOAD

Source code to the audio recorder (mxml file, compile with Flex)

The compiled SWF

New: HTML interface, Javascript controller:


Server-side code

Updated 4-27-2011 for Red5 version 0.8 and higher

Want to install this on your server? Follow these step-by-step directions to create an application on your own Red5 server:

http://fms.denniehoopingarner.com/newapp.html


Want to test your Red5 install?

Use my recorder to record to your server

Your server address (rtmp://domain.name/appname):

You are visitor number 60720.




Sponsors:

Is this site helpful? Is the information worth ten dollars to you?
Consider helping me pay for hosting.