If not being published on YouTube were the criteria for concealment, then wouldn't the person making the recording also be guilty if they simply decided not to post/share it?
Preventing publishing or distribution isn't concealment.
The cop isn't hiding anything.
YouTube, may decide not to publish something, and that's not 'concealing' anything either.
There's almost a 0% chance that if this went to court on copyright claims, that someone playing music while on the job i.e. cop, insurance adjuster, home appraiser etc. is going to be found in copyright violation.
There's almost a 100% chance that if you film people who are listening to music - and that copyrighted music is in your production ... that's it's going to be in violation.
It's not a perfect civil rights situation, because these laws were not designed for that.
It just is what it is.
Probably they will have to make some policy change for this issue.
[1] https://www.shouselaw.com/ca/defense/penal-code/135/