Generic Resource-Aware P2P Environment for Streaming