When recording with the Camio apps
The Camio app remembers the camera orientation at the time you press the Record button and locks that orientation until the next time you press the record button. So if your video is rotated, make sure you first orient the camera properly and then press the Record button.
When recording with a network camera
Most cameras have a setting for rotation and mirroring that allows you to specify 180 degree rotation when you mount the camera upside down. Camio itself doesn't change the network camera's rotation, so you have to change the settings of the camera itself.