Abstract:Replica selection algorithm for streaming media in Cloud-P2P (C2P2RSA2) is proposed based on ant colony algorithm in this study. In replica selection model based on ant colony, a copy select metrics (copy node network bandwidth, network delay, etc.) is mapped by ant colony pheromone. The replica pheromone probability formula is proposed. Through constantly iterate the optimal replica resource is selected. The experimental results show the average access time of C2P2RSA2 is increased by 2%-5% than that of PARSA (pheromone-base ant colony replica adaptive selection algorithm in cloud storage) and best copy selection algorithm, the cloud replica node load factor of C2P2RSA2 is decreased by 15%-25%.