I'm looking for a way of capturing current desktop view (or choose a single window to capture is ok too). I found tons of ways to stream a video file or capture desktop to video file, but nothing on my topic, i.e no files at all.
The main idea is taken from Skype's desktop demo, which provides video and sound stream of user's desktop to another user on even to several users in a group talk. So i'm looking for similar library (if something like that even exist), or atleast a direction on how to do that. The resulting program should be able to stream to like 1-4 users. One more requirement is ability to catch-up stream if some packets were lost during transition (i.e. short connection drop).
C++ solution is also ok, but C# is better if it would be less complex. Thanks in advance.
upd: .NET Desktop application, not asp.net or .NET core