Truck Drivers Use Dash Camera Footage To Avoid Citations

Are dash cameras legal? How do they protect drivers?