Affiliation:
1. Department of Information Science, Graduate School of Advanced Science and Engineering, Hiroshima University, Kagamiyama 1-4-1, Higashi-Hiroshima 739-8527, Japan
Abstract
This paper introduces a decentralized architecture designed for the sharing and distribution of user-generated video streams. The proposed system employs HTTP Live Streaming (HLS) as the delivery method for these video streams. In the architecture, a creator who captures a video stream using a smartphone camera subsequently transcodes it into a sequence of video chunks called HLS segments. These chunks are then stored in a distributed manner across the worker network, forming the core of the proposed architecture. Despite the presence of a coordinator for bootstrapping within the worker network, the selection of worker nodes for storing generated video chunks and autonomous load balancing among worker nodes are conducted in a decentralized fashion, eliminating the need for central servers. The worker network is implemented using the Golang-based IPFS (InterPlanetary File System) client, called kubo, leveraging essential IPFS functionalities such as node identification through Kademlia-DHT and message exchange using Bitswap. Beyond merely delivering stored video streams, the worker network can also amalgamate multiple streams to create a new composite stream. This bundling of multiple video streams into a unified video stream is executed on the worker nodes, making effective use of the FFmpeg library. To enhance download efficiency, parallel downloading with multiple threads is employed for retrieving the video stream from the worker network to the requester, thereby reducing download time. The result of the experiments conducted on the prototype system indicates that those concerned with the transmission time of the requested video streams compared with a server-based system using AWS exhibit a significant advantage, particularly evident in the case of low-resolution video streams, and this advantage becomes more pronounced as the stream length increases. Furthermore, it demonstrates a clear advantage in scenarios characterized by a substantial volume of viewing requests.
Reference22 articles.
1. Probe and adapt: Rate adaptation for HTTP video streaming at scale;Li;IEEE J. Sel. Areas Commun.,2014
2. Mok, R.K.P., Chan, E.W.W., and Chang, R.K.C. (2011, January 23–27). Measuring the quality of experience of HTTP video streaming. Proceedings of the 12th IFIP/IEEE International Symposium on Integrated Network Management (IM 2011) and Workshops, Dublin, Ireland.
3. Mok, R.K.P., Chan, E.W.W., Luo, X., and Chang, R.K.C. (2011, January 19). Inferring the QoE of HTTP video streaming from user-viewing activities. Proceedings of the First ACM SIGCOMM workshop on Measurements, Toronto, ON, Canada.
4. The MPEG-DASH Standard for Multimedia Streaming Over the Internet;Sodagar;IEEE Multimed.,2011
5. IIS smooth streaming technical overview;Zambelli;Microsoft Corp.,2009