Answer the question
In order to leave comments, you need to log in
How to write a program for broadcasting a screen on a local network?
Tell me where to dig.
It is necessary to develop a program that would upload screenshots, under certain conditions, to a site that would be located in the local one. But at the same time, the site page of the one who views should be updated automatically.
Whether this program will be for Windows or Linux does not matter.
I study C# and a bit of python, C, C++
Answer the question
In order to leave comments, you need to log in
Throw a screenshot in the site pack, with the help of JS, update the picture every few seconds.
In general, it would be necessary to decide in what language you will do it.
Take a screenshot- https://msdn.microsoft.com/en-us/library/fw1kt6f9(...
Upload to serveryou need to know by what protocol you can work with your server and, based on this, select the methods of throwing.
the site page of the one who views should be updated automaticallyThis is already the work of the front-end, what side is the program here?
Whether this program will be for Windows or Linux does not matter.Nifiga itself an application. How else has it!
Since the network is local, I think the issue of saving traffic is not relevant. You can simply update the image with a certain interval via javascript:
https://codepen.io/anon/pen/pZxMQE
I did this on a sharpie.
1. Create an httpclient just like in the documentation.
2. Submit a pre-prepared web page.
The page contains an img and javascript that updates it once per second.
3. If a request comes to the server from this very img, make and return a screenshot.
But you don't have to do that. It is better to use streaming streaming video. Only this is more difficult. For the home, you can get by with such an algorithm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question