The EMS provides two mechanisms that let you customize and automate the EMS: Run-time APIs and the Event Notification System. Using these two features, you can write a very simple web service in any language of your choosing (php script, java servlet, ruby program, etc…) that listens for events and makes API calls into the EMS. You can do something as simple as automatic stream routing or as complex as custom load balancing very easily.