It took a little while but I got it working. I wasn’t trying to pair to a TV, but a little Bluetooth transmitter.
Just like everyone else, it would connect but no sound. On the website I’ll link below, I did method 1 and that worked.
I had to remove my AirPod Pros from my phone first, then I cleared the AirPods by pressing and holding the pair button on the case until the orange light came on. Then I turned off my phone to get it to stop trying to pair with the AirPods. Even with Bluetooth off this will happen.
Finally, I paired with the device again, and I had sound. I was then able to pair with my phone again and it worked for both devices.
Here is the site that helped.
https://mywebtips.com/airpods-connected-but-no-sound/