Improving Live Streaming QoE Through HLS Parameter Tuning and Load Balancing to Mitigate Packet Loss
https://doi.org/10.24017/
Abstract views: 0 / PDF downloads: 0Abstract
Live video streaming denotes a video distribution service that concurrently captures and transmits media material to all consumers in real time. In recent years, most of the internet has been used for video streaming, as platforms have transformed content consumption, providing immediate access to films, television programs, live events, and user-generated materials worldwide. Platforms like Twitch, YouTube, and Amazon Prime are built on technologies that facilitate efficient content delivery, adaptive playback, and personalized recommendations. Hypertext Transfer Protocol live streaming is a popular protocol for adaptive video delivery that adjusts to network bandwidth but not to packet loss, which can severely impact viewer Quality of Experience (QoE). This study addresses the challenge of maintaining live video streaming quality in environments with varying packet loss. To improve QoE, this study proposes optimizing HLS configuration parameters and evaluating the effects of two load balancing algorithms, round robin and ring hash, in a simulated testbed. The study investigates how adjusting the segment length, list length, and the group of pictures size affects the resilience of the system to packet loss, as assessed by objective evaluation metrics including peak signal-to-noise ratio and data loss percentage. Results show that the ring hash algorithm consistently outperforms round robin in reducing data loss, and with the optimal parameter configuration, data loss remained below 1.4% even under 5% network packet loss.
Keywords:
References
N. N. Dao, A. T. Tran, N. H. Tu, T. T. Thanh, V. N. Q. Bao, and S. Cho, “A contemporary survey on live video streaming from a computation-driven perspective,” ACM Computing Surveys, vol. 54, no. 10s, pp. 1–38, 2022, doi: 10.1145/3519552.
V. Cisco, “Cisco visual networking index: Forecast and trends, 2017–2022,” White paper, vol. 1, no. 1, pp. 1–38, 2018.
K. Bouraqia, E. Sabir, M. Sadik, and L. Ladid, “Quality of experience for streaming services: measurements, challenges and insights,” IEEE Access, vol. 8, pp. 13341–13361, 2020, doi: 10.1109/ACCESS.2020.2965099.
A. Bentaleb, B. Taani, A. C. Begen, C. Timmerer, and R. Zimmermann, “A survey on bitrate adaptation schemes for streaming media over HTTP,” IEEE Communications Surveys and Tutorials, vol. 21, no. 1, pp. 562–585, Jan. 2019, doi: 10.1109/COMST.2018.2862938.
S. Kesavan, E. Saravana Kumar, A. Kumar, and K. Vengatesan, “An investigation on adaptive HTTP media streaming Quality-of-Experience (QoE) and agility using cloud media services,” International Journal of Computers and Applications, vol. 43, no. 5, pp. 431–444, 2021, doi: 10.1080/1206212X.2019.1575034.
L. Popa, A. Ghodsi, and I. Stoica, “HTTP as the narrow waist of the future internet,” in Proceedings of the 9th ACM SIGCOMM Workshop on Hot Topics in Networks, 2010, pp. 1–6. doi: 10.1145/1868447.1868453.
X. Liu et al., “A case for a coordinated internet video control plane,” in Proceedings of the ACM SIGCOMM 2012 con-ference on Applications, technologies, architectures, and protocols for computer communication, 2012, pp. 359–370. doi: 10.1145/2342356.2342431.
M. Pathan and R. Buyya, “A taxonomy of CDNs,” in Content delivery networks, Springer, 2008, pp. 33–77. doi: 0.1007/978-3-540-77887-5_2.
D. A. S. George and A. S. H. George, “The evolution of content delivery network: how it enhances video services, stream-ing, games, ecommerce, and advertising,” International Journal of Advanced Research in Electrical, Electronics and Instrumen-tation Engineering (IJAREEIE), vol. 10, no. 07, pp. 10435–10442, 2021, doi: 10.5281/zenodo.6788660.
Z. Zeng and H. Zhang, “A study on cache strategy of CDN stream media,” in 2020 IEEE 9th Joint International Infor-mation Technology and Artificial Intelligence Conference (ITAIC), IEEE, 2020, pp. 1424–1429. doi: 10.1109/ITAIC49862.2020.9338805.
G. Peng, “CDN: Content distribution network,” arXiv preprint cs/0411069, 2004, doi: 10.48550/arXiv.cs/0411069.
M. Rahman, S. Iqbal, and J. Gao, “Load balancer as a service in cloud computing,” in 2014 IEEE 8th international sympo-sium on service oriented system engineering, IEEE, 2014, pp. 204–211. doi: 10.1109/SOSE.2014.31.
R. Pantos and W. May, “HTTP live streaming.” Accessed: Mar. 01, 2025. [Online]. Available: https://www.rfc-editor.org/rfc/rfc8216
T. Lyko, M. Broadbent, N. Race, M. Nilsson, P. Farrow, and S. Appleby, “Improving quality of experience in adaptive low latency live streaming,” Multimedia Tools and Applications, vol. 83, no. 6, pp. 15957–15983, 2024, doi: 10.1007/s11042-023-15895-9.
O. Oyman and S. Singh, “Quality of experience for HTTP adaptive streaming services,” IEEE Communications Magazine, vol. 50, no. 4, pp. 20–27, 2012, doi: 10.1109/MCOM.2012.6178830.
“FFMPEG HLS Parameters.” Accessed: Mar. 01, 2025. [Online]. Available: https://ffmpeg.org/ffmpeg-all.html#hls-2.
C. Gutterman, B. Fridman, T. Gilliland, Y. Hu, and G. Zussman, “Stallion: Video adaptation algorithm for low-latency video streaming,” in Proceedings of the 11th ACM Multimedia Systems Conference, Association for Computing Machinery, 2020, pp. 327–332. doi: 10.1145/3339825.3397044.
J. M. Martinez-Caro and M. D. Cano, “On the identification and prediction of stalling events to improve qoe in video streaming,” Electronics (Basel), vol. 10, no. 6, p. 753, 2021, doi: 10.3390/electronics10060753.
D. Ray, V. Bobadilla Riquelme, and S. Seshan, “Prism: Handling packet loss for ultra-low latency video,” in Proceedings of the 30th ACM International Conference on Multimedia, 2022, pp. 3104–3114. doi: 10.1145/3503161.3547856.
J. Bienik, M. Uhrina, L. Sevcik, and A. Holesova, “Impact of packet loss rate on quality of compressed high resolution videos,” Sensors, vol. 23, no. 5, p. 2744, 2023, doi: 10.3390/s23052744.
S. Clayman and M. Sayıt, “Low latency low loss media delivery utilizing in-network packet wash,” Journal of Network and Systems Management, vol. 31, no. 1, p. 29, 2023, doi: 10.1007/s10922-022-09712-1.
M. Taha and A. Ali, “Smart algorithm in wireless networks for video streaming based on adaptive quantization,” Con-currency and Computing: Practice and Experience, vol. 35, no. 9, p. e7633, 2023, doi: 10.1002/cpe.7633.
M. Rudow, F. Y. Yan, A. Kumar, G. Ananthanarayanan, M. Ellis, and K. V Rashmi, “Tambur: Efficient loss recovery for videoconferencing via streaming codes,” in 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23), 2023, pp. 953–971. Available: https://www.usenix.org/system/files/nsdi23-rudow.pdf.
M. Tüker, E. Karakış, M. Sayıt, and S. Clayman, “Using packet trimming at the edge for in-network video quality adap-tion,” Annals of Telecommunications, vol. 79, no. 3, pp. 197–210, 2024, doi: 10.1007/s12243-023-00981-8.
M. T. Abdullah, N. W. Abdulrahman, A. A. Mohammed, and D. N. Hama, “Impact of Wireless Network Packet Loss on Real-Time Video Streaming Application: A Comparative Study of H. 265 and H. 266 Codecs,” Kurdistan Journal of Ap-plied Research, vol. 9, no. 2, pp. 23–41, 2024, doi: 10.24017/science.2024.2.3.
Z. Meng et al., “Hairpin: Rethinking packet loss recovery in edge-based interactive video streaming,” in 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24), 2024, pp. 907–926. Available: https://www.usenix.org/system/files/nsdi24spring_prepub_meng.pdf.
G. Carofiglio, G. Morabito, L. Muscariello, I. Solis, and M. Varvello, “From content delivery today to information centric networking,” Computer networks, vol. 57, no. 16, pp. 3116–3127, 2013, doi: 10.1016/j.comnet.2013.07.002.
M. Ghaznavi, E. Jalalpour, M. A. Salahuddin, R. Boutaba, D. Migault, and S. Preda, “Content delivery network security: A survey,” IEEE Communications Surveys & Tutorials, vol. 23, no. 4, pp. 2166–2190, 2021, doi: 10.1109/COMST.2021.3093492.
W. E. Shabrina, D. W. Sudiharto, E. Ariyanto, and M. Al Makky, “The QoS improvement using CDN for live video streaming with HLS,” in 2020 International Conference on Smart Technology and Applications (ICoSTA), IEEE, 2020, pp. 1–5. doi: 10.1109/ICoSTA48221.2020.1570613984.
U. Patel, S. Tanwar, and A. Nair, “Performance analysis of video on-demand and live video streaming using cloud based services,” Scalable Computing: Practice and Experience, vol. 21, no. 3, pp. 479–496, 2020, doi: 10.12694/scpe.v21i3.1764.
K. B. Sangeetha and V. S. K. Reddy, “An Effective Investigation for Quality of Service Enhancement of Content Delivery Network for HTTP Live Streaming Using H. 265,” Scalable Computing: Practice and Experience, vol. 25, no. 4, pp. 2703–2710, 2024, doi: 10.12694/scpe.v25i4.2830.
H. Wu, M. Claypool, and R. E. Kinicki, “Guidelines for Selecting Practical MPEG Group of Pictures.,” in IASTED Interna-tional Conference on Internet and Multimedia Systems and Applications (EuroIMSA), Innsbruck, Austria: Citeseer, 2006, pp. 61–66. doi: 10.5555/1169167.1169178.
K. Panagidi, C. Anagnostopoulos, and S. Hadjiefthymiades, “Optimal grouping-of-pictures in iot video streams,” Com-puter Communications, vol. 118, pp. 185–194, 2018, doi: 10.1016/j.comcom.2017.11.012.
J. Gomez, E. F. Kfoury, J. Crichigno, and G. Srivastava, “A survey on network simulators, emulators, and testbeds used for research and education,” Computer Networks, vol. 237, p. 110054, 2023, doi: 10.1016/j.comnet.2023.110054.
T. Hidayat, Y. Azzery, and R. Mahardiko, “Load balancing network by using round Robin algorithm: a systematic literature review,” Jurnal Online Informatika, vol. 4, no. 2, pp. 85–89, 2019, doi: 10.15575/join.v4i2.446.
“EnvoyProxy Supported Load Balancers.” Accessed: Mar. 01, 2025. [Online]. Available: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers.
D. R. I. M. Setiadi, “PSNR vs SSIM: imperceptibility quality assessment for image steganography,” Multimedia Tools and Applications, vol. 80, no. 6, pp. 8423–8444, 2021, doi: 10.1007/s11042-020-10035-z.
Downloads
How to Cite
Article Metrics
Published
Issue
Section
License
Copyright (c) 2025 Bzav Shorsh Sabir, Aree Ali Mohammad (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.