I was speeding on the highway, going 100 in a 50 (bad i know). A police officer catches me and pulls me over. I know I'm absolutely fucked so i was panicking and after i pulled over i positioned my phone in the car and started recording. The officer comes up and starts absolutely yelling at me and cussing me out like a complete asshole (even though it was justified since i was endangering everyone). And he tells me that I'm going to spend multiple years in jail, then takes my license and goes back to his car to run it through. At this point im so fucking scared, and im just breathing heavy while I wait. He says he has me on his radar gun at 10-something. Then something ive never experienced happens: he says "son youre gonna go to jail, so i'm gonna give you a break, you got cash on you?" I told him I did as I just cashed my paycheck. He said "alright give me 300 and we'll just go our separate ways." At this point i was relieved that i wasnt going to jail but also pissed off he wanted to take a bribe, and he was also kind of blackmailing me. So I took my phone, quickly stopped recording then sent the video to my friend and i told him "Sir I was recording this whole stop, (I start playing him video) I sent the video already to a friend and it clearly shows you trying to blackmail and take cash to let me off, and I'm gonna show this video to your boss and get you fired, or we can just 'go our separate ways' (i said that last part mockingly like he did. He was just extremely confused, embarrassed and angry. He didn't say anything, he just went back to his car, and drove off. I sat there for a few minutes with my heart pounding at 200mph while i just calmed down. I was shook to say the least, and to be honest I dont know why  I did this, but I went to the police station and filed a report of him trying to blackmail/bribe me, and I knew i turned the camera off before i blackmailed him. Well fast forward to now, he got fired, and i feel like i may be the asshole, so reddit, AMTA?