     }
 
     private function sendTeardownReq():void {
+      state = STATE_TEARDOWN;
       var req:String =
         "TEARDOWN " + contentBase + " RTSP/1.0\r\n" +
         "CSeq: " + (++cSeq) + "\r\n" +

    }

    private function sendDescribeReq():void {
      var u:String = 'rtsp://' + urlParsed.host + ":" + urlParsed.port + urlParsed.urlpath;
      var req:String =
        "DESCRIBE " + u + " RTSP/1.0\r\n" +

        trace("RTSPClient: STATE_PLAYING");
        break;

      case STATE_PAUSE:
        trace("RTSPClient: STATE_PAUSE");
        state = STATE_PAUSED;
        break;

      case STATE_TEARDOWN:
        trace('RTSPClient: STATE_TEARDOWN');
        break;
      }
    }
