     private var urlParsed:Object;
     private var savedSpeakerVolume:Number;
     private var fullscreenAllowed:Boolean = true;
+    private var currentState:String = "Stopped";
 
     public function Player() {
       var self:Player = this;

        /* RTSP over TCP */
        client = new RTSPClient(this.video, urlParsed, new RTSPoverTCPHandle(urlParsed));
        this.callAPI('streamStarted');
        break;

      case 'http':

      ns = null;
      client.stop();
      this.callAPI('streamStopped');
      this.currentState = "Stopped";
    }

    public function seek(timestamp:String):void {
