Supporting Online/Offline Collaborative Work with WebRTC Application Migration

  • Fatos XhafaEmail author
  • David Zaragoza
  • Santi Caballé
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 773)


With the fast development of mobile computing and increasing computing capacities of mobile devices, new collaborative applications and platforms are appearing to support collaboration on the move. Indeed, nowadays, members of a team can be not only geographically distributed but they can also work anytime and anywhere thanks to the use of mobile devices. Often, however, team members would like to work either online or offline on a common project; likewise, they may wish to switch among various devices such as laptops, tablets and mobile phones and still work in the same application environment, sharing the same data, etc. In this paper we present a platform that enables application and services migration at runtime between different platforms using the WebRTC (Web Real-Time Communication) framework. We have studied applications migration both through a central server and through a distributed (Peer-to-Peer) model. Various issues that arise in application migration such as profile matching, application context, data synchronisation and consistency are discussed. The efficiency and scalability of the WebRTC framework and mobile devices (peers) under Android in a real computing infrastructure are studied. Some experimental results on the application migration time according to application state data size are reported.



This research was supported by the European Commission through the project “colMOOC: Integrating Conversational Agents and Learning Analytics in MOOCs” (588438-EPP-1-2017-1-EL-EPPKA2-KA).


  1. 1.
    Barz, H.W., Gregory, A.: Protocols, Design and Applications Wiley Telecom eBook Chapters, Bassett. WebRTC. Multimedia Networks (2016)Google Scholar
  2. 2.
    Bandung, Y., Subekti, L.B., Tanjung, D.: Chrysostomos chrysostomou. QoS analysis for WebRTC videoconference on bandwidth-limited network. In: Proceedings of the 20th International Symposium on Wireless Personal Multimedia Communications (WPMC), pp. 547–553. IEEE CPS (2017)Google Scholar
  3. 3.
    Barolli, L., Xhafa, F.: JXTA-overlay: a P2P platform for distributed, collaborative, and ubiquitous computing. IEEE Trans. Indus. Electron. 58(6), 2163–2172 (2011)Google Scholar
  4. 4.
    Bellucci, F., Ghiani, G., Paternò, F., Santoro, C.: Engineering javaScript state persistence of web applications migrating across multiple devices. In: Proceedings of the 3rd ACM SIGCHI Symposium on Engineering Interactive Computing Systems (EICS 2011), pp. 105–110. ACM, New York (2011).
  5. 5.
    Chu, H., Song, H., Wong, C., Kurakake, S., Katagiri, M.: Roam, a seamless application framework. J. Syst. Softw. 69(3), 209–226 (2004).
  6. 6.
    Edan, N.M., Al-Sherbaz, A., Turner, S.: Design and evaluation of browser-to-browser video conferencing in WebRTC. In: Global Information Infrastructure and Networking Symposium (GIIS), pp. 75–78. IEEE CPS (2017)Google Scholar
  7. 7.
    Garcia, B., Gortazar, F., Lopez-Fernandez, L., Gallego, M., Paris, M.: WebRTC testing: challenges and practical solutions. IEEE Commun. Stand. Magaz. 1(2), 36–42 (2017).
  8. 8.
    Gouaillard, A., Roux, L.: Real-time communication testing evolution with WebRTC 1.0. In: Principles, Systems and Applications of IP Telecommunications (IPT Comm), pp. 1–8. IEEE (2017)Google Scholar
  9. 9.
    Higashino, M., Hayakawa, T., Takahashi, K., Kawamura, T., Sugahara, K.: Management of streaming multimedia content using mobile agent technology on pure P2P-based distributed e-learning system. Int. J. Grid Util. Comput. 53, 198–204 (2014).
  10. 10.
    Iwata, S., Ozono, T., Shintani, T.: Any-application window sharing mechanism based on WebRTC. In: Proceedings of 6th IIAI International Congress on Advanced Applied Informatics (IIAI-AAI), pp. 808–813. IEEE CPS (2017)Google Scholar
  11. 11.
    Jang-Jaccard, J., Nepal, S., Celler, B., Yan, B.: WebRTC-based video conferencing service for telehealth. Computing 98(1–2), 169–193 (2016).
  12. 12.
    Janak, J., Schulzrinne, H.: Framework for rapid prototyping of distributed IoT applications powered by WebRTC. In: Principles, Systems and Applications of IP Telecommunications (IPTComm), pp. 1–7. IEEE CPS (2016)Google Scholar
  13. 13.
    Kandil, A., El-Deeb, H.: Exploration of application migration to cloud environment. In: Proceedings of 2016 6th International Conference - Cloud System and Big Data Engineering (Confluence), pp. 109–114. IEEE CPS (2016)Google Scholar
  14. 14.
    Kohana, M., Okamoto, S.: A data sharing method using WebRTC for web-based virtual world. In: Barolli, L., Xhafa, F., Javaid, N., Spaho, E., Kolici, V. (eds.) Advances in Internet, Data & Web Technologies. EIDWT 2018. Lecture Notes on Data Engineering and Communications Technologies, vol. 17. Springer, Cham (2018)Google Scholar
  15. 15.
    Kumar, K.M., Sanil Kumar, D., Sardesai, R.P., Akhil, M.B.S.S., Kumar, N.: Application migration architecture for cross clouds analysis on the strategies methods and frameworks. In: Proceedings of 2017 IEEE International Conference on Cloud Computing in Emerging Markets (CCEM), pp. 107–112. IEEE CPS (2017)Google Scholar
  16. 16.
    Lin, J., Feng, Z., Chen, S., Huang, K., Tan, W., Li, X.: ATM: a framework to support application state migration in multiple terminals environment. In: IEEE International Conference on Services Computing (SCC), pp. 188 - 195. IEEE CPS (2017)Google Scholar
  17. 17.
    Nejdl, W., Wolf, B., Qu, C., Decker, S., Sintek, M., Naeve, A., Nilsson, M., Palmér, M., Risch, T.: EDUTELLA: a P2P networking infrastructure based on RDF. In: Proceedings of the 11th International Conference on World Wide Web (WWW 2002), pp. 604-615. ACM, New York (2002).
  18. 18.
    Rivadulla, X., Xhafa, F., Caballé, S.: An event-based approach to support A3: anytime, anywhere, awareness in online learning teams. In: CISIS, pp. 947–952. IEEE CPS (2012)Google Scholar
  19. 19.
    Roig-Torres, J., Xhafa, F., Caballé, S.: Supporting online coordination of learning teams through mobile devices. In: CISIS, pp. 941–946. IEEE CPS (2012)Google Scholar
  20. 20.
    Sato, K., Mouri, K., Saito, S.: Design and implementation of an application state migration mechanism between android devices. In: Fourth International Symposium on Computing and Networking (CANDAR), pp. 696–700. IEEE (2016)Google Scholar
  21. 21.
    Sandholm, T., Magnusson, B., Johnsson, B.A.: An on-demand WebRTC and IoT device tunneling service for hospitals. In: International Conference on Future Internet of Things and Cloud, pp. 53–60. IEEE CPS (2014)Google Scholar
  22. 22.
    Schmidt, H., Hauck, F.J.: SAMProc: middleware for self-adaptive mobile processes in heterogeneous ubiquitous environments. In: Proceedings of the 4th on Middleware Doctoral Symposium (MDS 2007), Article 11 , p. 6. ACM, New York (2007).
  23. 23.
    Schuchardt, V.: Moving mobile applications between mobile devices seamlessly. In: Proceedings of International Conference on Software Engineering. IEEE CPS (2012).
  24. 24.
    Wang, W., Mei, L.: A design of multimedia conferencing system based on WebRTC Technology. In: Proceedings of 8th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), pp. 148–153. IEEE (2017)Google Scholar
  25. 25.
    Noriyasu, Y.: An improved group discussion system for active learning using smartphone and its experimental evaluation. Int. J. Space-Based Situated Comput. 6(4), 221– 227 (2016).

Copyright information

© Springer International Publishing AG, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Universitat Politècnica de CatalunyaBarcelonaSpain
  2. 2.Open University of CataloniaBarcelonaSpain

Personalised recommendations