Skip to main content
Log in

SmartPeerCast: a Smart QoS driven P2P live streaming framework

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

The P2P swarm technologies have been shown to be very efficient for medium scale content distribution systems in the last few years, such as the file sharing and video-on-demand (VOD) applications. However it is still an open topic about how to deploy the P2P paradigm for the real time video broadcasting (RTVB) applications. The P2P RTVB application is different from the cache based P2P system because it has more stringent restrictions for startup time and packet loss ratio. In this paper, an adaptive media broadcasting P2P framework named SmartPeerCast which employs the media transrating service to control the quality of service (QoS), is proposed. SmartPeerCast achieves a network awareness, codec awareness, and high performance RTVB service with four key designs: (1) It groups the newly joined peers into different quality clusters by their uploading capability. This clustering mechanism avoids the bandwidth bottleneck between the heterogeneous peers of the overall P2P overlay by only forwarding the same quality stream over the peers in the same cluster. (2) The streaming quality is adjusted adaptively between the sending and the receiving peers by a Smart QoS algorithm to compensate for the network jitters to reduce the receiving peer’s playback jitter. (3) The receiving peer monitors the data forwarding QoS of the sending peer to select the best suitable parent node dynamically. The SmartPeerCast uses this Smart QoS framework to implement an incentive mechanism to award the peers with high uploading contributions by migrating them to a higher quality cluster. (4) A transrating engine is used at the leaf nodes of the high quality cluster to forward the stream with suitable bits rate to the nodes of the low quality cluster; this transrating service not only can fully utilize the uploading bandwidth of the peers in the higher quality cluster but also avoids the bandwidth bottleneck of stream forwarding between the heterogeneous peers. Our experiment results and the real deployment show that SmartPeerCast can eliminate the bandwidth bottleneck and content bottleneck between the heterogeneous peers with a smaller startup time and packet loss and it is a high performance and medium scale P2P RTVB framework.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Notes

  1. Project (No. 2005C11001-02) supported by the Key Science and Technology Projects Foundation of Zhejiang Province

References

  1. Ahmed T, Mushtaq M (2007) P2P Object-based adaptivE Multimedia Streaming (POEMS). J Netw Syst Manage 15(3):289–310

    Article  Google Scholar 

  2. Annapureddy S, Guha S, Gkantsidis C, Gunawardena D, Rodriguez PR (2007) Is high-quality vod feasible using P2P swarming?. Proceedings of the 16th international conference on World Wide Web. ACM New York, NY, USA, pp 903–912

  3. Assuncao PAA, Ghanbari M (1977) Transcoding of single layer MPEG Video into lower rates. IEE Proc Vis Image Signal Process 144:377–383

    Article  Google Scholar 

  4. Cai Y, Zhou J (2006) An overlay subscription network for live Internet TV broadcast. TKDE 18(12):1711–1720

    Google Scholar 

  5. Castro M, Druschel P, Kermarrec A-M, Nandi A, Rowstron A, Singh A (2003) SplitStream: high-bandwidth multicast in cooperative environments. Proceedings of the nineteenth ACM symposium on Operating systems principles, ACM New York, NY, USA, pp 298–313

  6. Cheng B, Stein L, Jin H, Liao X, Zhang Z (2008) GridCast: improving peer sharing for P2P VoD, ACM Transactions on Multimedia Computing, Communications, and Applications (TOMCCAP), vol. 4, Issue 4

  7. Cheng B, Stein L, Jin H, Zhang Z (2008) Towards cinematic internet video-on-demand. Proceedings of the 3rd ACM SI-GOPS/EuroSys European Conference on Computer Systems 2008. ACM New York, NY, USA, pp 109–122

  8. Cheng B, Stein L, Jin H, Zhang Z (2008) A framework for lazy replication in P2P VoD. Proceedings of the 18th International Workshop on Network and Operating Systems Support for Digital Audio and Video. ACM New York, NY, USA, pp 93–98

  9. Chu YH, Rao SG, Seshan S, Zhang H (2002) A case for end system multicast. IEEE J Sel Areas Commun 20(8):1456–1471

    Article  Google Scholar 

  10. Dana C, Li D, Harrison D, Chuah C (2005) Bass: Bittorrent assisted streaming system for video-on-demand. Processing of 2005 IEEE 7th Workshop on Multimedia Signal. IEEE, Piscataway, USA, pp 1–4

  11. Do TT, Hua KA, Tantaoui MA (2008) Robust video-on-demand streaming in peer-to-peer environments. Comput Commun 31(3):506–519

    Article  Google Scholar 

  12. Guo Y, Suh K, Kurose J, Towsley D (2003) P2Cast: peer to peer patching scheme for VOD services. Proceedings of the 12th international conference on World Wide Web, ACM New York, NY, USA, pp 301–309

  13. Guo Y, Suh K, Kurose J, Towsley D (2008) DirectStream: a directory-based peer-to-peer video streaming service. Comput Commun 31(3):520–536

    Article  Google Scholar 

  14. http://ffmpeg.org/, May 2009

  15. http://nsl.csie.nctu.edu.tw/nctuns.html, May 2009

  16. http://www.bittorrent.com/, May 2009

  17. http://www.emule.org/, May 2009

  18. http://www.netflix.com/Default/, May 2009

  19. http://www.peercast.org/, May 2009

  20. http://www.ppstream.com/, May 2009

  21. http://www.youtube.com/, May 2009

  22. Huang Y, Fu TZJ, Chiu DM, Lui JCS, Huang C (2008) Challenges, design and analysis of a large-scale p2p-vod system. ACM SIGCOMM Computer Communication Review 38(4):375–388

    Article  Google Scholar 

  23. IIqbal R, Shirmohammadi S (2009) Dag-stream: distributed video adaptation for overlay streaming to heterogeneous devices. Peer-to-Peer Networking and Applications. URL http://dx.doi.org/10.1007/s12083-009-0031-0

  24. Jannotti J, Gifford DK, Johnson KL, Kaashoek MF, O’Toole Jr JW (2000) Overcast: reliable multicasting with an overlay network. Proceedings of the 4th conference on Symposium on Operating System Design & Implementation - Vol. 4. USENIX Association Berkeley, CA, USA, pp 14–14

  25. Jiang X, Dong Y, Xu D, Bhargava B (2003) GnuStream: a P2P media streaming system prototype. ICME apos:03. Proceedings 2003 International Conference on Multimedia and Expo. IEEE, Piscataway, USA, vol. 2, Issue 6–9, pp II - 325–8

  26. Jin X, Cheng K-L, Gary Chan S-H (2007) Scalable island multicast for peer-to-peer streaming. Advances in Multimedia 2007(1):10

    Google Scholar 

  27. Jurca D, Chakareski J, Wagner J-P, Frossard P (2007) Enabling adaptive video streaming in P2P systems. IEEE Commun Mag 45(6):108–114

    Article  Google Scholar 

  28. Kim H, Yeom HY (2008) P-chaining: a practical VoD service scheme autonomically handling interactive operations. Multimedia Tools and Applications 39(1):117–142

    Article  Google Scholar 

  29. Kostic D, Rodriguez A, Albrecht J, Vahdat A (2003) Bullet: high bandwidth data dissemination using an overlay mesh. ACM SIGOPS Operating Systems Review, ACM New York, NY, USA, vol. 37, Issue 5, pp 282–297

  30. Lavrentiev M (2009) Transrating of coded video signals via optimized requantization. Master Thesis, http://sipl.technion.ac.il/new/Research/Publications/Graduates/Michael_Lavrentiev/Michael_Lavrentiev_Thesis_final.pdf

  31. Liao X, Jin H, Liu Y, Ni LM (2007) Scalable live streaming service based on interoverlay optimization. IEEE Trans Parallel Distrib Syst 18(12):1663–1674

    Article  Google Scholar 

  32. Liao X, Jin H, Liu Y, Ni LM (2007) Scalable live streaming service based on interoverlay optimization. IEEE Trans Parallel Distrib Syst 18(12):1663–1674

    Article  Google Scholar 

  33. Liu Y, Guo Y, Liang C (2008) A survey on peer-to-peer video streaming systems. Peer-to-Peer Networking and Applications. Springer, New York, vol. 1, no. 1, pp 18–28

  34. Liu JC, Rao SG, Li B, Zhang H (2008) Opportunities and challenges of peer-to-peer Internet video broadcast. Proceedings of the IEEE. IEEE, Piscataway, USA, vol. 96, no. 1, pp 11–24

  35. Magharei N, Rejaie R (2007) PRIME: Peer-to-Peer Receiver-drIven Mesh-based streaming. INFOCOM 2007, 26th IEEE International Conference on Computer Communic1415–1423. IEEE, Piscataway, USA, pp 1415–1423

  36. Magharei N, Rejaie R, Guo Y (2007) Mesh or multiple-tree: a comparative study of live P2P streaming approaches. IN-FOCOM 2007, 26th IEEE International Conference on Computer Communications. IEEE, Piscataway, USA, pp 1424–1432

  37. Mol JJD, Pouwelse JA, Meulpolder M, Epema DHJ, Sips HJ (2008) Give-to-Get: free-riding resilient video-on-demand in P2P systems. Multimedia Computing and Networking 2008, Proceedings of the SPIE. Bellingham WA USA, vol. 6818, pp 681804 (2008)

  38. Pai V, Kumar K, Tamilmani K, Sambamurthy V, Mohr A (2005) Chainsaw: eliminating trees from overlay multicast. In: Peer-to-Peer Systems IV. Springer Berlin / Heidelberg, vol. 3640/2005, pp 124–140

  39. Pianese F, Perino D, Keller J, Biersack EW (2007) PULSE: an adaptive, incentive-based, unstructured P2P live streaming system. IEEE Trans Multimedia 9(8):1645–1660

    Article  Google Scholar 

  40. Tian Y, Wu D, Ng K-W (2008) A novel caching mechanism for peer-to-peer based media-on-demand streaming. Journal of Systems Architecture: the EUROMICRO Journal 54(1–2):55–69

    Article  Google Scholar 

  41. Tran DA, Hua KA, Do T (2003) ZIGZAG: an efficient peer-to-peer scheme for media streaming. INFOCOM 2003, Twenty-Second Annual Joint Conference of the IEEE Computer and Communications Societies. IEEE, Piscataway, USA, Vol. 2, pp 1283–1292

  42. Vlavianos A, Iliofotou M, Faloutsos M (2006) Bitos: enhancing bittorrent for supporting streaming applications. INFOCOM 2006, 25th IEEE International Conference on Computer Communications, Proceedings IEEE. IEEE, Piscataway, USA, pp 1–6

  43. Wang M, Li B (2007) R2: random push with random network coding in live peer-to-peer streaming. IEEE J Sel Areas Commun 25(9):1655–1666

    Article  Google Scholar 

  44. Yves DONY (2008) Video-on-Demand over Internet: a survey of existing systems and solutions. Student Thesis, http://www.fundp.ac.be/recherche/publications/page_view/66101/

  45. Zhang X, Liu J, Li B, Yum T-SP (2005) DONet/CoolStreaming: a data-driven overlay network for live media streaming. IN-FOCOM 2005, 24th Annual Joint Conference of the IEEE Computer and Communications Societies, Proceedings IEEE. IEEE, Piscataway, USA, vol. 3, pp 2102–2111

Download references

Acknowledgement

The Authors would like to thank Dr. Albert. S. Wang for his contribution to this manuscript. Dr. Wang was previously with Agilent Technologies and is now a Visiting Fellow at the Advanced Digital Technology and Instrument Institute of Zhejiang University, Hangzhou, 310027, China (e-mail: al-bert_s_wang@yahoo.com).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wenyi Wang.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wang, W., Chen, Y. SmartPeerCast: a Smart QoS driven P2P live streaming framework. Multimed Tools Appl 54, 445–471 (2011). https://doi.org/10.1007/s11042-010-0547-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-010-0547-6

Keywords

Navigation