COLUMBIA, S.C. (AP) – The Senate has passed a bill that aims to eventually equip law enforcement officers across South Carolina with body cameras but restricts the public release of the videos.

The Senate, by a 41-3 vote, approved a measure Wednesday directing the Criminal Justice Academy’s governing board to create body-camera guidelines within six months.

The guidelines would include which officers should wear cameras and how long data should be stored. State and local law enforcement agencies would then have three months to submit their own policies for council review.

The Legislature could reject the guidelines if lawmakers don’t like any of them.

An amendment proposed by GOP Sen. Shane Massey bars law enforcement agencies from releasing body-camera video except in certain cases, including when it captures officers using their weapons.