I can run your code and it starts capturing frames, but as soon as I alt tab or lose focus of the captured window, i get the aforementioned error:
[obs_client::utils::pipe] GetOverlappedResult failed with error code: 109 ERROR_BROKEN_PIPE
I think whenever I alt tab, the IO is blocked and pipe line is broken? Any ideas how you would go about fixing this? I am only using your example code and added in some error output logs
I can run your code and it starts capturing frames, but as soon as I alt tab or lose focus of the captured window, i get the aforementioned error:
[obs_client::utils::pipe] GetOverlappedResult failed with error code: 109 ERROR_BROKEN_PIPE
I think whenever I alt tab, the IO is blocked and pipe line is broken? Any ideas how you would go about fixing this? I am only using your example code and added in some error output logs