Actually answering the query
Hey,
Had this same issue, at least with audio, I seem to have found a fix.
The trick's with the player you're using. Been using Rocket Player for music, and it has a feature to prevent notifications from pausing your audio. So I'd suggest getting a good third party...