       ns = null;
       client.stop();
       this.callAPI('streamStopped');
-      this.currentState = "Stopped";
+      this.currentState = "stopped";
       this.streamHasAudio = false;
       this.streamHasVideo = false;
     }

    }

    public function streamStatus():Object {
      if (this.currentState === 'Playing') {
        this.streamHasAudio = (this.streamHasAudio || this.ns.info.audioBufferByteLength);
        this.streamHasVideo = (this.streamHasVideo || this.ns.info.videoBufferByteLength);
      }

    private var urlParsed:Object;
    private var savedSpeakerVolume:Number;
    private var fullscreenAllowed:Boolean = true;
    private var currentState:String = "stopped";
    private var streamHasAudio:Boolean = false;
    private var streamHasVideo:Boolean = false;

