I have to agree with paul22118 here, but in answer to the question, even when the lights change to red, there is a second or so time lapse before the camera is 'active'. the actual time lapse depends how the cmera is set up, but in theory you could go through just as it changes to red and get away with it. This is due to the time gap between your lights changing to red, and the lights in the other direction changing to amber. This bit of a delay is for people, like your naughty self (!) to clear the junction.
In future, a mirror check as you approach the lights would be a good idea, then you will have timeto make that split second decision to go or stop when they change to amber! Good luck though, and remember they only have 14 days to serve the NIP on you, or it's going nowhere!