In newer ESM builds, there was a changing when pushing the rotation to the cameras. The issue presents itself when the product is upgraded and pushes out the corrected values to the camera.
In order to resolved this, please go into the ESM admin interface and confirm the rotation is set correctly there. This setting will be pushed to the camera. If it is correct, change the rotation on the camera setting page back to "0" and press "apply" in order to reset the value to the camera. Then change it back to the proper rotation and press "apply" again.
After the cameras are fixed, this should no longer be an issue with build version higher than v5.4.21.
Sorry for any inconvenience this may cause.