Jenkins MacOS salve black screen
Hello. I have seen issues #26 and #48, I guess my situation is similar except using MacOS and Jenkins Agent.
So basically:
Jenkins agent is installed as LaunchAgent on MacOS in ~/Library/LaunchAgents/ and loaded on user login (and the user has AutoLogin enabled).
Android/iOS tests executed via Jenkins on this Jenkins Agent node. Resulting videos are black.
MacOS nodes can be accessed via MacOS native VNC Screen Sharing app.
No way to fix this
New findings:
looks like OSX doesn't kill VNC display when Screen Lock is disabled in Security Options.
So even when VNC session is closed I can see available displays with ffmpeg:
AVFoundation video devices:
[0] Capture screen 0
AVFoundation audio devices:
As well as I was able to record screen with ffmpeg from SSH session.
But trying to capture screen with this video recorder still results in black screen. Any ideas how ti fix this?
No way to fix this