Back when Twitch was Justin.tv, we put in a lot of effort to make sure we only sent video to a copy of our player that was successfully showing our ad placements. I imagine that similar protections are still in place, but it's been almost a decade since I worked there.