Setting/Switch to turn off music-kill for camera apps?

Hey all. Looking for a solution to my very annoying problem. I know that this is a feature and not a bug, but I was hoping someone can tell me how to get the music I’m listening to, to continue playing WHILE using a camera app? I switch between the stock camera app and Moment Pro. Sometimes I just want to set up my phone to take a time-lapse while I’m listening to music and can’t simultaneously. Any tips or tricks would be very helpful.

Have a great day!