A magistrate may orally order a peace officer or private person to arrest anyone committing or attempting to commit a public offense in the presence of such magistrate. (PC 838)