CALTRANS has most of their highway cameras available from their web site.[2][3] CALTRANS has been at this since the 1980s, and the cameras are mostly somewhat old and low-rez.
[1] https://www.econolite.com/products/detection/autoscope-visio...
Traffic cameras which stream visible-light video are also very common. https://www.weatherbug.com/traffic-cam/
Today, many have cameras for other reasons. But this is not ubiquitous and the prevalence of these cameras varies from location to location. Many traffic lights don't have cameras (many don't even have induction loops, and work off timers instead.)
They're actually just small radar devices. It's a much simpler problem to solve across a wide variety of conditions to simply point radar at the ground and when the distance suddenly drops 4-8' assume a vehicle is there.
These devices don't have any sort of lens assembly which should be your first clue, but they also are pretty easily differentiated if you own a radar detector as well...
Source: I’ve had to call municipal governments to get the detectors rotated or angled properly due to them not detecting cars and therefore not changing the light to green.
Of course it’s technically possible they also contain cameras, but I have yet to see any proof.