     }
 
     public function onClosed(event:Event):void {
-      if ("playing" === this.currentState) {
-        this.currentState = "stopped";
+      if ('playing' === this.currentState) {
+        this.currentState = 'stopped';
         this.callAPI(EVENT_AUDIO_TRANSMIT_STOPPED);
       }
     }

    private var mic:Microphone = Microphone.getMicrophone();
    private var _microphoneVolume:Number;

    private var currentState:String = "stopped";

    public function AxisTransmit() {
      /* Set default microphone volume */

  import flash.utils.ByteArray;

  public class AxisTransmit implements IAudioClient {
    private static const EVENT_AUDIO_TRANSMIT_STARTED:String = 'audioTransmitStarted';
    private static const EVENT_AUDIO_TRANSMIT_STOPPED:String = 'audioTransmitStopped';

    private var urlParsed:Object = {};
    private var conn:Socket = new Socket();
