示例#1
0
    public MainWindow()
        : base(Gtk.WindowType.Toplevel)
    {
        Build ();

        client = new QRtspCLient ("rtsp:\\192.168.1.2","Admin","Abra0906");

        client.onConnectEvent += delegate(object sender, ConnectEvenArgs e) {
            Console.WriteLine("Conected");
        };

        client.onDisconnectEvent += delegate(object sender, DisconnectEvenArgs e) {
            Console.WriteLine("Disconnected");
        };

        client.Connect ();
    }
示例#2
0
    public MainWindow() : base(Gtk.WindowType.Toplevel)
    {
        Build();



        client = new QRtspCLient("rtsp:\\192.168.1.2", "Admin", "Abra0906");

        client.onConnectEvent += delegate(object sender, ConnectEvenArgs e) {
            Console.WriteLine("Conected");
        };

        client.onDisconnectEvent += delegate(object sender, DisconnectEvenArgs e) {
            Console.WriteLine("Disconnected");
        };

        client.Connect();
    }