We are developing a simulation and need to collect screenshots of our ue 5 app in our headless gitlab test pipeline that executes on an ec2 win 2019 server instance. Has anyone automated headless screenshots before and can advise us on what worked for them? ATM our automation script is in python and is run in a separate external process so we are thinking to use REST api calls to trigger signal our unreal process to take a screenshot. We believe we should use the Remote Control AIP and Remote Control Web Interface with WebControl.StartServer, the -RCWebControlEnable and -RCWebInterfaceEnable. Also for headless rendering it was suggested to use the -RenderOffscreenand -D3D12flags.
Any advice is greatly appreciated.