I don't think BTT can influence this at all unless you have some very specific scripts running in BTT that would somehow break this. Are you sure the black screen was not just a coincidence? I'm using Airplay all the time
Nope, just a normal touch bar button with the 'enable airplay mirroring' action assigned (as shown in the screenshot)
So when I press it, it activates airplay but with a black screen. That one button seems to completely stop airplay from mirroring my screen. As long as that button is on my touchbar, Airplay does not display the screen at all.
As soon as I remove the button, airplay works perfectly.