Text this: Distributed control and optimization of peer to peer video streaming systems