There are real-time sensors in the balls. Players are tracked with cameras and ,I think, also sensors in their shoes. We read about a systems developed by a German uni in an event processing class (they generated millions of events per minute) but I cannot recall the name right now.