Capture Desktop images on Windows

This commit is contained in:
loki
2020-01-09 12:12:18 +01:00
parent 77fe9727c5
commit d79f0dc73b
6 changed files with 377 additions and 139 deletions

View File

@@ -1019,6 +1019,9 @@ void rtpThread() {
server.iterate(config::stream.ping_timeout);
if(session.video_packets && !session.video_packets->running()) {
// Ensure all threads are stopping
stop(session);
std::cout << "Waiting for Audio to end..."sv << std::endl;
session.audioThread.join();
std::cout << "Waiting for Video to end..."sv << std::endl;