 package com.axis.rtmpclient {
   import com.axis.ClientEvent;
+  import com.axis.ErrorManager;
   import com.axis.IClient;
   import com.axis.Logger;
 

    private var ns:NetStream;
    private var streamServer:String;
    private var streamId:String;

    public function RTMPClient(video:Video, urlParsed:Object) {
      this.video = video;


      if ('NetConnection.Connect.Closed' === event.info.code) {
        dispatchEvent(new ClientEvent(ClientEvent.STOPPED));
        this.currentState = "stopped";
      }
    }

