Closed bhecquet closed 1 year ago
I have no idea what might be causing this - I have no setup with which I could reproduce it. If the video is black, then the constructor of class ScreenGrabber might fail, because there is an unsupported color depth, or method ScreenGrabber.grabScreen() might fail, because there is some illegal state in the Robot. There is a try-catch block in there that just skips IllegalMonitorStateException.
I suggest, that you run the screen recorder in a debugger and take a look at these methods.
Closing this, because I can not reproduce it.
Hello
I'm using your library for a while to capture video on local and remote windows physical computer using selenium grid. This worked well in both cases until then. On remote windows box, session remains open which is mandatory to get video working.
Now that I'm using it for capturing video on virtual remote computer, I get black video with the default settings. The session remains open on the virtual machine because I quit the remote desktop using "tscon X /dest:console".
I could not figure out what is wrong in this case. Some tests I've made
this.captureDevice = cfg.getDevice();
lineIt seems that the encoding or Quicktime / AVI packing step is causing the problem but I cannot find why.
Do you have any idea of what's going on ?
Thanks