Solved recording while screen is off. License files.