How do I observe microphone events?

You can observe a microphone's events at any time (even before you create it) by using the microphone's id and the CameraTag.observe method. Here is an example observing the 'MyRecorder1' publish event:
CameraTag.observe('MyRecorder1', 'published', function(){
 alert('this audio has been published!')
});

initialized

Intitialized and is ready for use

waitingForMicrophoneActivity

This event is fired when the CameraTag has found one or more available microphones but is unable to detect any sound. This state is most often the result of a user granting microphone permission at the flash level but not the browser level.

serverConnected

Successfully connected to the streaming server

serverDisconnected

Connection to our streaming server was lost.

serverError

Failure to connect to the streaming server

noMic

Unable to find a microphone

readyToRecord

Camera and Mic found and configured properly

countdownStarted

Preroll has begun

countdownFinished

Preroll finished

audioLevel( level )

Fires several times a second during recording. Get's passed a float value of the current microphone audio level.

recordingStarted

Recording started

recordingStopped

Recording stopped

bufferingUp

Recording has stopped and we are buffering video to server

readyToPublish

Recording stopped and record buffer has flushed to server.

bufferingDown

Buffering video from server for playback

recordingTimeOut

Recording stopped by CameraTag because maxLength exceeded

playbackStarted

Playback of recorded video has begun

playbackStopped

Playback stopped

uploadFileSelected(file)

A file has been slected for upload. Recieves a file object

uploadStarted

A file upload (not recording) has started

uploadProgress(file)

Periodically fired to provide upload status. Recieves a file object with loaded (bytes) and percent (of total) properties

uploadAborted(error_details)

there was an error uploading the file. Error details passed as string with event.

publishing

The video has begun publishing to the CameraTag server

published

The video was has finsihed publishing to the CameraTag sever

publishFailed

The video failed to publish

processed

The video has processing and the asset URLs are now live. Please note this event will only fire if you have "poll for processed" attribute set to true on your <microphone>. learn how

processingFailed

This event fires if the transcoding of your video fails.

microphoneReset

This event fires after a microphone has been reset(). This indicates that the microphone is ready to be used (by the user or programatically) again.

paused

This event fires if/when the browser pauses the operation of the Flash elements of the <microphone> tag.

unpaused

This event fires if/when the user instructs the browse to unpause the flash element of the <microphone> tag.

destroyed

This event fires after a <microphone> has beeen successfully removed from the page.