Example #1
0
 public bool Disconnect()
 {
     client.Disconnect();
     client.Dispose();
     client = null;
     return(true);
 }
Example #2
0
        public QRtspClient(string host,int port=554,string res="",string login="",string password="")
        {
            this.Host = host;
            this.Port = port;
            this.Res = res;
            this.Login = login;
            this.Password = password;

            client = new QTcpClient(Host,Port);
        }
Example #3
0
        public QRtspClient(string host, int port = 554, string res = "", string login = "", string password = "")
        {
            this.Host     = host;
            this.Port     = port;
            this.Res      = res;
            this.Login    = login;
            this.Password = password;

            client = new QTcpClient(Host, Port);
        }
Example #4
0
 public bool Disconnect()
 {
     client.Disconnect ();
     client.Dispose ();
     client = null;
     return true;
 }