It does not apply to the person who is subject to police action. It does furthermore not apply to other occupants of a vehicle (as long as they do not interfere otherwise). And it allows to make videos in a "closed structure" on private property from closer than 8ft unless the person is interfering otherwise or the entire area is deemed unsafe.
And it's only a misdemeanor after the police already warned you and you continue to take video from closer than 8ft.
https://www.azleg.gov/legtext/55leg/2R/bills/HB2319S.pdf