Skip to content

Commit

Permalink
Updated the readme to include a reference to the extension I use. Als…
Browse files Browse the repository at this point in the history
…o changed a logging type to be more user-friendly.
  • Loading branch information
krestenlaust committed Mar 24, 2023
1 parent 2c6e9d3 commit 3b70e22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@ Example usage: `Server.exe --listen 0.0.0.0:10063`, `Server.exe --listen 0.0.0.0
## Contributing
ANY contribution is welcome! No need to worry about correctly formatting an issue or similar.

### Extensions
If you plan on contributing to anything related to connecting the applications, or something related to after a connection has been initiated, then this extension is very useful: [Switchstartup Projects](https://heptapod.host/thirteen/switchstartupproject/). The project contains a configuration for it, that lets you debug both the server and the client at the same time, and start them with parameters, as opposed to having to connect them manually.

## License
WindowStreamer is released under the GPL-3.0 License. See the LICENSE file for details.
4 changes: 3 additions & 1 deletion Server/WindowServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ public async Task StartServerAsync()
}
while (!await HandshakeAsync(reply));

Log.Information("Stream established");

metastreamToken = new CancellationTokenSource();
metastreamTask = Task.Run(MetastreamLoop);
}
Expand Down Expand Up @@ -293,7 +295,7 @@ async void BeginStreamLoop()
return;
}

Log.Information($"Obtain image: {obtainImageSw.ElapsedMilliseconds} ms, convert image: {convertPictureSw.ElapsedMilliseconds} ms");
Log.Debug($"Obtain image: {obtainImageSw.ElapsedMilliseconds} ms, convert image: {convertPictureSw.ElapsedMilliseconds} ms");

try
{
Expand Down

0 comments on commit 3b70e22

Please sign in to comment.