If the camera has a true 24VAC input, it most likely has a transformer followed by a bridge rectifier, to produce an internal DC voltage. When you apply a DC voltage to the transformer, it will look like a very low resistance to the 24VDC supply and it would probably end up damaging the supply...