skip to main content
10.1145/3625468.3652194acmconferencesArticle/Chapter ViewAbstractPublication PagesmmsysConference Proceedingsconference-collections
research-article
Open access

PyStream: Enhancing Video Streaming Evaluation

Published: 17 April 2024 Publication History

Abstract

As streaming services become more commonplace, analyzing their behavior effectively under different network conditions is crucial. This is normally quite expensive, requiring multiple players with different bandwidth configurations to be emulated by a powerful local machine or a cloud environment. Furthermore, emulating a realistic network behavior or guaranteeing adherence to a real network trace is challenging. This paper presents PyStream, a simple yet powerful way to emulate a video streaming network, allowing multiple simultaneous tests to run locally. By leveraging a network of Docker containers, many of the implementation challenges are abstracted away, keeping the resulting system easily manageable and upgradeable. We demonstrate how PyStream not only reduces the requirements for testing a video streaming system but also improves the accuracy of the emulations with respect to the current state-of-the-art. On average, PyStream reduces the error between the original network trace and the bandwidth emulated by video players by a factor of 2-3 compared to Wondershaper, a common network traffic shaper in many video streaming evaluation environments. Moreover, PyStream decreases the cost of running experiments compared to existing cloud-based video streaming evaluation environments such as CAdViSE.

References

[1]
2023. 2023 global internet phenomena report. Last accessed 30 November 2023. (2023). https://www.sandvine.com/hubfs/Sandvine_Redesign_2019/Downloads/2023/reports/Sandvine%20GIPR%202023.pdf.
[2]
2021. Amount of data created, consumed, and stored 2010-2020, with forecasts to 2025. Last accessed 30 November 2023. (2021). https://www.statista.com/statistics/871513/worldwide-data-created/.
[3]
Farzad Tashtarian, Abdelhak Bentaleb, Alireza Erfanian, Hermann Hellwagner, Christian Timmerer, and Roger Zimmermann. 2022. Hxl3: optimized delivery architecture for http low-latency live streaming. IEEE Transactions on Multimedia.
[4]
Farzad Tashtarian, Alireza Erfanian, and Amir Varasteh. 2018. S2VC: An SDN-based framework for maximizing QoE in SVC-based HTTP adaptive streaming. Computer Networks, 146, 33--46.
[5]
Minh Nguyen, Daniele Lorenzi, Farzad Tashtarian, Hermann Hellwagner, and Christian Timmerer. 2022. Dofp+: an http/3-based adaptive bitrate approach using retransmission techniques. IEEE Access, 10, 109565--109579.
[6]
Farzad Tashtarian, Abdelhak Bentaleb, Hadi Amirpour, Sergey Gorinsky, Junchen Jiang, Hermann Hellwagner, Christian Timmerer, et al. 2024. ARTEMIS: Adaptive bitrate ladder optimization for live video streaming. In USENIX Symposium on Networked Systems Design and Implementation, 1--21.
[7]
Babak Taraghi, Anatoliy Zabrovskiy, Christian Timmerer, and Hermann Hellwagner. 2020. Cadvise: cloud-based adaptive video streaming evaluation framework for the automated testing of media players. In Proceedings of the 11th ACM Multimedia Systems Conference (MMSys '20). Association for Computing Machinery, Istanbul, Turkey, 349--352. isbn: 9781450368452.
[8]
DASH Industry Forum (DASH-IF). 2012. Dash.js javascript reference client. Last accessed 30 November 2023. (2012). https://reference.dashif.org/dash.js/.
[9]
Shaka Project. 2015. Shaka player. Last accessed 30 November 2023. (2015). https://github.com/shaka-project/shaka-player.
[10]
Simon Séhier Bert Hubert Jacco Geul. 2002. Wondershaper. Last accessed 30 November 2023. (2002). https://github.com/magnific0/wondershaper.
[11]
Hua-Jun Hong. 2017. From cloud computing to fog computing: unleash the power of edge and end devices. In 2017 IEEE International Conference on Cloud Computing Technology and Science (CloudCom), 331--334.
[12]
Yacine Benchaib and Claude Chaudet. 2012. Virmanel: a mobile multihop network virtualization tool. In Proceedings of the Seventh ACM International Workshop on Wireless Network Testbeds, Experimental Evaluation and Characterization (WiNTECH '12). Association for Computing Machinery, Istanbul, Turkey, 67--74. isbn: 9781450315272.
[13]
Alexey N. Kuznetsov Bert Hubert. 2024. Tc(8). Last accessed 29 January 2024. (2024). https://linux.die.net/man/8/tc.
[14]
Amazon. 2006. Amazon elastic compute cloud (ec2): secure and resizable compute capacity for virtually any workload. Last accessed 30 November 2023. (2006). https://aws.amazon.com/ec2/.
[15]
Ravi Netravali, Anirudh Sivaraman, Keith Winstein, Somak Das, Ameesh Goyal, and Hari Balakrishnan. 2014. Mahimahi: a lightweight toolkit for reproducible web measurement. In Proceedings of the 2014 ACM Conference on SIGCOMM (SIGCOMM '14). Association for Computing Machinery, Chicago, Illinois, USA, 129--130. isbn: 9781450328364.
[16]
Marius A Eriksen. 2005. Trickle: a userland bandwidth shaper for unix-like systems. In USENIX Annual Technical Conference, FREENIX Track, 61--70.
[17]
Luigi Rizzo. 1997. Dummynet: a simple approach to the evaluation of network protocols. SIGCOMM Comput. Commun. Rev., 27, 1, (Jan. 1997), 31--41.
[18]
Bob Lantz, Brandon Heller, and Nick McKeown. 2010. A network in a laptop: rapid prototyping for software-defined networks. In Proceedings of the 9th ACM SIGCOMM Workshop on Hot Topics in Networks (Hotnets-IX) Article 19. Association for Computing Machinery, Monterey, California, 6 pages. isbn: 9781450304092.
[19]
Klaus Wehrle, Mesut Güneş., and James Gross, (Eds.) 2010. The ns-3 network simulator. Modeling and Tools for Network Simulation. Springer Berlin Heidelberg, Berlin, Heidelberg, 15--34. isbn: 978-3-642-12331-3.
[20]
Kevin Spiteri, Ramesh Sitaraman, and Daniel Sparacio. 2018. From theory to practice: improving bitrate adaptation in the dash reference player. In Proceedings of the 9th ACM Multimedia Systems Conference (MMSys '18). Association for Computing Machinery, Amsterdam, Netherlands, 123--137. isbn: 9781450351928.
[21]
Anatoliy Zabrovskiy, Evgeny Kuzmin, Evgeny Petrov, Christian Timmerer, and Christopher Mueller. 2017. Advise: adaptive video streaming evaluation framework for the automated testing of media players. In Proceedings of the 8th ACM on Multimedia Systems Conference (MMSys '17). Association for Computing Machinery, Taipei, Taiwan, 217--220. isbn: 9781450350020.
[22]
Babak Taraghi, Hermann Hellwagner, and Christian Timmerer. 2023. Lll-cadvise: live low-latency cloud-based adaptive video streaming evaluation framework. IEEE Access, 11, 25723--25734.
[23]
Theo Karagkioules, Rufael Mekuria, Dirk Griffioen, and Arjen Wagenaar. 2020. Online learning for low-latency adaptive streaming. In Proceedings of the 11th ACM Multimedia Systems Conference (MMSys '20). Association for Computing Machinery, Istanbul, Turkey, 315--320. isbn: 9781450368452.
[24]
Abdelhak Bentaleb, Zhengdao Zhan, Farzad Tashtarian, May Lim, Saad Harous, Christian Timmerer, Hermann Hellwagner, and Roger Zimmermann. 2022. Low latency live streaming implementation in dash and hls. In Proceedings of the 30th ACM International Conference on Multimedia, 7343--7346.
[25]
Abdelhak Bentaleb, Mehmet N Akcay, May Lim, Ali C Begen, and Roger Zimmermann. 2022. Bob: bandwidth prediction for real-time communications using heuristic and reinforcement learning. IEEE Transactions on Multimedia.
[26]
Docker Inc. 2013. Docker container stats. Last accessed 30 November 2023. (2013). https://docs.docker.com/engine/reference/commandline/container_stats/.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
MMSys '24: Proceedings of the 15th ACM Multimedia Systems Conference
April 2024
557 pages
ISBN:9798400704123
DOI:10.1145/3625468
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 17 April 2024

Check for updates

Author Tags

  1. Evaluation Cost
  2. HTTP Traffic Shaper
  3. Video Streaming Evaluation

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

MMSys '24
Sponsor:

Acceptance Rates

Overall Acceptance Rate 144 of 418 submissions, 34%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 163
    Total Downloads
  • Downloads (Last 12 months)163
  • Downloads (Last 6 weeks)33
Reflects downloads up to 14 Sep 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media