Default music stops when recording

is there any mod that keeps the musc playing when recording. my music player pauses when i try to record even with the instagram app.
Hit thanks if my post was helpfull