Both the above cases are not working thats why i have googled it...
Open camera settings and check if there's an option to turn it off cause some phones don't. If there isn't an option, put your phone to silent mode and see if that works.