Isn't "swatting" just the practice of calling 911 and saying e.g. "I'm at [streamer's neighbour's address] and there were gunshots fired at my neighbour's house! Please send armed police!"?
I don't think there's a simple way to stop swatting, though if a streamer/someone else who is a likely swatting target phones ahead of time and asks to be put on a "likely to get swatted, please disregard suspicious calls" list then the police should honour that list (AFAIK there is something like this but it often doesn't help).
While that is obviously the intent, the fact that "swatting" even works is serious failure of law enforcement and I don't understand how the public still accepts it after all this time.