Design a Streaming Media API