I used Tasker. It's not a free app but I created a profile, added my camera apps to it, made the task silent mode in audio.
When the camera starts, the phone goes into silent mode, when I finish with the camera the phone goes back to normal volume.
Support Our Troops!!!
<><
I'm an "s pen aholic" Noteate