Using JavaScript on 5G networks to improve real-time communication through WebRTC

Main Article Content

Aqeel Abu-AlShaeer

Abstract

The introduction of 5G networks has heralded a new era of connectivity marked by record-breaking download speeds and near-zero latency. This essay explains how JavaScript may be used to take advantage of 5G networks' hefty boost to WebRTC's real-time communication capabilities. Web Real-Time Communication (WebRTC) has long been the platform of choice for developers aiming to build serverless, real-time communication apps on the web. WebRTC allows users to directly transfer audio, video, and general data between users, eliminating the need for any middleware. However, delays and lost connections plagued previous network generations, creating less-than-ideal user experiences.


The arrival of 5G presents a golden chance to rethink WebRTC's potential applications. Developers may build communication solutions that are more responsive and robust than ever before by making use of 5G's high bandwidth, low latency, and better dependability. Key methods and code patterns in JavaScript are outlined for maximizing 5G's potential in WebRTC.


We examine the benefits of adopting 5G as the backbone for WebRTC apps, including faster connection times, higher quality video, and more data throughput. We also provide empirical data that shows considerable improvements in real-time video and audio communications concerning delay and buffering.


Together, JavaScript, 5G, and WebRTC form a formidable trinity, poised to transform the state of the art in real-time communication completely. As 5G networks become more widespread, organizations and developers should be ready to take advantage of them by making communication apps that are quick and efficient but also immersive and seamless.

Article Details

How to Cite
[1]
A. Abu-AlShaeer, “Using JavaScript on 5G networks to improve real-time communication through WebRTC”, Rafidain J. Eng. Sci., vol. 1, no. 1, pp. 09–23, Nov. 2023, doi: 10.61268/xkftbq59.
Section
Electrical Engineering
Author Biography

Aqeel Abu-AlShaeer, a:1:{s:2:"en";s:30:"Al-Rafidain University College";}

Al-Rafidain University College, Medical instrumentation Techniques Engineering Faculty Member, Baghdad 10064 Iraq.

How to Cite

[1]
A. Abu-AlShaeer, “Using JavaScript on 5G networks to improve real-time communication through WebRTC”, Rafidain J. Eng. Sci., vol. 1, no. 1, pp. 09–23, Nov. 2023, doi: 10.61268/xkftbq59.

References

Berg DVD, Glans R, Koning DD, Kuipers FA, Lugtenburg J, Polachan K, Venkata PT, Singh C, Turkovic B, Wijk BV: Challenges in Haptic Communications Over the Tactile Internet. IEEE Access 2017, 5:23502-23518.

Rinaldi, C, Franchi F, Marotta A, Graziosi F, Centofanti C: On the Exploitation of 5G Multi-Access Edge Computing for Spatial Audio in Cultural Heritage Applications. IEEE Access 2021, 9:155197-155206.

Loghin D, Cai S, Chen G, Dinh TTA, Fan F, Lin Q, Ng J, Ooi BC, Sun X, Ta QT et al: The Disruptions of 5G on Data-Driven Technologies and Applications. IEEE Transactions on Knowledge and Data Engineering 2020, 32(6):1179-1198.

Niknam T, Azizipanah-Abarghooee R, Roosta A: Reserve Constrained Dynamic Economic Dispatch: A New Fast Self-Adaptive Modified Firefly Algorithm. IEEE Systems Journal 2012, 6(4):635-646.

Mohata R, Goel, A., Bahl, V., & Sengar, N.: Peer To Peer Real-Time Communication Using WebRTC. International Journal of Scientific Research in Computer Science, Engineering and Information Technology 2021.

Jesup R, & Sarker, Z.: Congestion Control Requirements for Interactive Real-Time Media. RFC 2021, 8836:1-10.

Nakimuli W, Garcia-Reinoso J, Sierra-Garcia JE, Serrano P, Fernández IQ: Deployment and Evaluation of an Industry 4.0 Use Case over 5G. IEEE Communications Magazine 2021, 59(7):14-20.

Kirmizioglu RA, Tekalp AM: Multi-Party WebRTC Services Using Delay and Bandwidth Aware SDN-Assisted IP Multicasting of Scalable Video Over 5G Networks. IEEE Transactions on Multimedia 2020, 22(4):1005-1015.

Blum N, Lachapelle S, Alvestrand H: WebRTC - Realtime Communication for the Open Web Platform: What was once a way to bring audio and video to the web has expanded into more use cases we could ever imagine. Queue 2021, 19(1): Pages 30.

Suciu G, Stefanescu S, Beceanu C, Ceaparu M: WebRTC role in real-time communication and video conferencing. In: 2020 Global Internet of Things Summit (GIoTS): 3-3 June 2020 2020. 1-6.

Liu G, & Jiang, D.: 5G: Vision and Requirements for Mobile Communication System towards Year 2020. Chinese journal of engineering 2016:1-8.

Hu L, Miao Y, Yang J, Ghoneim A, Hossain MS, Alrashoud M: IF-RANs: Intelligent Traffic Prediction and Cognitive Caching toward Fog-Computing-Based Radio Access Networks. IEEE Wireless Communications 2020, 27(2):29-35.

Zaidi S, Smida OB, Affes S, Vilaipornsawai U, Zhang L, Zhu P: User-Centric Base-Station Wireless Access Virtualization for Future 5G Networks. IEEE Transactions on Communications 2019, 67(7):5190-5202.

Mendes LL, Moreno CS, Marquezini MV, Cavalcante AM, Neuhaus P, Seki J, Aniceto NFT, Karvonen H, Vidal I, Valera F et al: Enhanced Remote Areas Communications: The Missing Scenario for 5G and Beyond 5G Networks. IEEE Access 2020, 8:219859-219880.

Hussain ASP: A Framework for Real Time Communication on Web using with WebRTC. International Journal for Research in Applied Science and Engineering Technology 2019, 7(5).

Kilinc C, & Andersson, K.: A Congestion Avoidance Mechanism for WebRTC Interactive Video Sessions in LTE Networks. Wireless Personal Communications 2014, 77:2417-2443.

Jell A, Vogel, T., Ostler, D., Marahrens, N., Wilhelm, D., Samm, N., Eichinger, J., Weigel, W., Feußner, H., Friess, H., & Kranzfelder, M.: 5th-Generation Mobile Communication: Data Highway for Surgery 4.0. Surgical technology international 2019, 35:36-42

Khorov E, Krasilov, A., Selnitskiy, I., & Akyildiz, I. : A Framework to Maximize the Capacity of 5G Systems for Ultra-Reliable Low-Latency Communications. IEEE Transactions on Mobile Computing 2020, 20:2111-2123.

Panwar N, Sharma, S., & Singh, A.: A survey on 5G: The next generation of mobile communication. Physical Communication 2015, 18:64-84.

Hanson R, Prilusky, J., Renjian, Z., Nakane, T., & Sussman, J.: JSmol and the Next-Generation Web-Based Representation of 3D Molecular Structure as Applied to Proteopedia. Israel Journal of Chemistry 2013, 53:207-216.

Loreto S, et al.: Enhancing Real-Time Capabilities in Online Applications with JavaScript and WebRTC APIs. Proceedings of the International Conference on WebRTC (ICW) 2017.

Gupta R, & Patel, N.: Leveraging 5G Infrastructure: Asynchronous Procedures, Error Handling, and Adaptive Streaming with JavaScript. Proceedings of the International Conference on Internet of Things and Web Services (IoTWS) 2020.

Wang L, et al.: ower Consumption and Device Compatibility Challenges in 5G Integration. Journal of Mobile Computing and Communications Review 2020, 24(4):56-65.

Mohata R, Goel, A., Bahl, V., & Sengar, N.: Peer To Peer Real-Time Communication Using WebRTC. International Journal of Scientific Research in Computer Science, Engineering and Information Technology 2021.

Yan G: Simulation analysis of key technology optimization of 5G mobile communication network based on Internet of Things technology. International Journal of Distributed Sensor Networks 2019, 15.

Lei K, Zhong, S., Zhu, F., Xu, K., & Zhang, H.: An NDN IoT Content Distribution Model With Network Coding Enhanced Forwarding Strategy for 5G. IEEE Transactions on Industrial Informatics 2018, 14:2725-2735.

Szalay Z: Next Generation X-in-the-Loop Validation Methodology for Automated Vehicle Systems. IEEE Access 2021, 9:35616-35632.

Furqan M, Zhang, C., Yan, W., Shahid, A., Wasim, M., & Huang, Y.: A Collaborative Hotspot Caching Design for 5G Cellular Network. IEEE Access 2018, 6:38161-38170.

Hamamreh J, Ankaralı, Z., & Arslan, H.: CP-Less OFDM With Alignment Signals for Enhancing Spectral Efficiency, Reducing Latency, and Improving PHY Security of 5G Services. IEEE Access 2018, 6:63649-63663.

J. O. Williams, “Narrow-band analyzer,” Ph.D. dissertation, Dept. Elect. Eng., Harvard Univ., Cambridge, MA, 1993.

B. Klaus and P. Horn, Robot Vision. Cambridge, MA: MIT Press, 1986.