Abstract
With the advance and development in the networks, more and more applications are realized with the help of Internet networking. In the progress of the video applications, users nowadays are looking forward to being served with a high-quality real time video streaming besides the existing video file sharing services. There are already some services concerning video streaming being put on the shelf by the service providers, for instance, YouTube and Twitch. They adopt the Client/Server based architecture to serve the users who want to enjoy the real time video streaming. Though the architecture allows the users to obtain the video streaming with low latency, it comes with the demands for the network bandwidth, which is costly for the service providers. Therefore, the P2P (Peer-to-Peer) architecture, which is introduced to the world near the 2000s, becomes quite popular for its few requirements for the central servers support and its easy deployment. Accordingly, P2P provides a new option for the video streaming applications. However, the nature of the P2P architecture requires most of the users in the system to get involved in the video streaming transmission, which results in an unstable video streaming quality for the users. Besides, there is also another problem arising. Since the users come from all around the world, how to adjust the topology so as to improve the video streaming quality? In this thesis, we suggest some measures to classify the users into groups based on their locations. With the help of the localization mechanism, we are able to obtain a fine topology for the system. Combined with several topology adjustment methods for the delivery trees of the P2P network, the data transmission path for the receivers will be reduced, which enables them to enjoy a fine and stable video quality experience. On the basis of an existent live video streaming system, LLP2P, the proposed thoughts will be implemented on it. By the experiments on the planetLab network, we have proved that with the help of those methods which we suggest, users across the globe can experience a better video quality by being served with the users nearby, thanks to the advantage of localization.