I doubt this is a switch issue … but lets work with the assumption it could be.
First I would make a port that connects to a camera an access port. This should prevent the port getting blocked for short periods of time due to spanning tree topology changes.
Ideally we need the cameras to DSCP tag their traffic so we can apply a QoS policy. Can the cameras do this?
Lets pretend the camera can mark its traffic, and lets pretend all the cameras are on the same VLAN (lets pretend the VLAN is 20), then go into Switch/switch settings, and tell the switches to trust DSCP on the camera VLAN.
Lets say your cameras can't do DSCP tragging but you have a dedicated camera VLAN. Then do something like the below to re-write the QoS tag on the packets.
Also make sure that the switch ports and cameras are negotiating the same speed and duplex. Also check this for the NVR that they are all writing to.