The MLB.tv streaming site checks your IP address, and on devices where the information is available, it also checks your device's GPS to determine your location.