Go Back   TechArena Community > Technology > Technology & Internet
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Live video streaming for remote desktop application in C#

Technology & Internet


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-03-2010
Member
 
Join Date: Aug 2009
Posts: 154
Live video streaming for remote desktop application in C#

I need some guidance about how can I create an remote desktop application in C#.In case,if I have Windows Forms or web as a client and the server which sends streaming video and audio that is captured from the remote computer screen.
Most important is to be real-time and performance rather than high quality.
So I would need a method to record the screen, send the stream to the client and play it there in a reliable way.
Reply With Quote
  #2  
Old 09-03-2010
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
Live video streaming for remote desktop application in C#

Palantir is an application which facilitate to the users to configure and administrate the remote desktop connections in one window and the users can be able to save existing connections for later use.

The remote desktop connection is administrate with MS RDP Client control. The control contains the various properties like Server, UserName, Domain, etc for setting up the remote desktop connection.

The configurations are saved into the file and restored from a setting file.The Users can also get connect to the machine through console.The remote connections established by the user is saved in application's .settings file.
Reply With Quote
  #3  
Old 09-03-2010
Member
 
Join Date: May 2008
Posts: 1,990
Live video streaming for remote desktop application in C#

Remote Desktop Services can be helpful for you to establish the desired concept between client and server,It is one of the component of Microsoft which is used to access a remote computer in the network environment.

It facilitates us to login into a remote server to perform health checks, deploy applications, troubleshoot problems and many more.One of the small example is given below -

Code:
rmtdp.Server = txtServer.Text;
rmtdp.UserName = txtUserName.Text;
IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
secured.ClearTextPassword = txtPassword.Text;
rmtdp.Connect();
Reply With Quote
  #4  
Old 09-03-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
Re: Live video streaming for remote desktop application in C#

I got your point what you wanted to do,Using C#,you wanted to stream the videos which is captured from the server by your specified client.

I searched a lot on internet and find one of the solution which can help you to solve your problem.It is very interesting creation of application which is used to capture the videos of the conferencing.

http://www.codeproject.com/KB/IP/Vid...ew=Quick&fr=51

The above given link can help you to solve the problem as a little bit guidance,actually the code is given there,it just as a demo to show you.
Reply With Quote
  #5  
Old 09-03-2010
Zecho's Avatar
Member
 
Join Date: May 2008
Posts: 2,267
Live video streaming for remote desktop application in C#

Creating an MJPEG video stream in c#

I have some images that is sent to the database from a remote location and treated as video source at about 5 frames per second as JPEG images.I am going to show you the code which can help you to figure out the problem and you can be helpful form this .

Code:
Response.Clear();
    Response.ContentType = "multipart/x-mixed-replace; boundary=--myboundary";
    ASCIIEncoding Ascen = new ASCIIEncoding();
    HCData Hdata = new HCData();
    var vds = (from v in Hdata.Vds
                 select v).Take(50); 
    foreach (Video frame in vds)
    {
        byte[] boundary = Ascen.GetBytes("\r\n--myboundary\r\nContent-Type: image/jpeg\r\nContent-Length:" + frame.VideoData.ToArray().Length + "\r\n\r\n");
        var memo = new MemoryStream(boundary);
        memo.WriteTo(Response.OutputStream);
        memo = new MemoryStream(frame.VideoData.ToArray());
        memo.WriteTo(Response.OutputStream);
        Response.Flush();
        Thread.Sleep(200);
    }
Reply With Quote
Reply

  TechArena Community > Technology > Technology & Internet


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Live video streaming for remote desktop application in C#"
Thread Thread Starter Forum Replies Last Post
Poor audio/video with WD TV Live Hub Streaming Chung Ae Networking & Security 2 09-12-2011 07:59 AM
Live Cricket video streaming ROSENDO33 Technology & Internet 5 26-12-2009 04:19 AM
Live webcam video streaming over the Internet Segvoia Technology & Internet 5 10-07-2009 07:25 PM
i-frames drag and drop with live streaming video Zecho Software Development 2 06-02-2009 06:39 PM
Streaming Live Video Chapman MediaCenter 1 11-05-2008 05:58 PM


All times are GMT +5.5. The time now is 05:53 AM.