Software Mansion Interview Question

How would you implement a streaming service protocol?