Co-operation of signalling client with a simple signalling server

  • Agnieszka Chodorek Kielce University of Technology
  • Robert Chodorek AGH University of Science and Technology in Cracow
Keywords: chat, client-server, JavaScript, session establishment, signalling client, WebRTC


A simple signalling server, written in JavaScript and running in node.js run-time environment, was presented in the previous paper of the Authors [3]. In this paper, principles of building of WebRTC signalling client are presented, as well as exemplary communication between the client and the server, captured with the use of WireShark software tool during experimental WebRTC sessions. The paper includes also an example of application of Internet chat, that uses the simple signal-ling server [3]. The chat was built in two versions, which uses the same user interface and their signalling systems were build according to the same methodology, but differs in method of transmission of chat messages. The first version transmits user data (text messages of the chat) via signalling server, with the use of signalling channel. This version uses WebSocket interface for transmission of chat messages. In the case of the second version, user data are transmitted directly between web browsers, using WebRTC's channel dedicated for transmission of nonmedia data. This version transmits chat messages with the use of WebRTC's RTCDataChannel interface..


Download data is not yet available.


Chodorek A., Chodorek R. R, Prosty serwer sygnalizacyjny dla techniki WebRTC z wykorzystaniem środowiska uruchomieniowego node.js, „Autobusy: technika, eksploatacja, systemy transportowe” 2018, nr 12.

Chodorek A., Chodorek R. R, Transmisja danych niemedialnych z wykorzystaniem WebRTC, „Autobusy: technika, eksploatacja, systemy transportowe” 2017, nr 6.

Fette I., Melnikov A., The WebSocket Protocol, RFC 6455, 2011.

Ilya G., High Performance Browser Networking, O'Reilly Media, 2013.

Jansen B., Goodwin T., Gupta V., Kuipers F., Zussman G., Per-formance Evaluation of WebRTC-based Video Conferencing, „ACM SIGMETRICS Performance Evaluation Review” 2018, vol. 45, no 2.

Loreto S., Romano S.P., How Far are We from WebRTC-1.0? An Update on Standards and a Look at What’s Next, „IEEE Communication Magazine” 2017, vol. 55, no. 7.

Loreto S., Romano S.P., Real-Time Communication with WebRTC: Peer-to-Peer in the Browser, O'Reilly Media, Inc. 2014.

Rescorla E., WebRTC Security Architecture, draft-ietf-rtcweb-security-arch-17, IETF 2018.

The WebSocket API,

Uberti J., Jennings C., Rescorla E. (red.), JavaScript Session Establishment Protocol, draft-ietf-rtcweb-jsep-25, IETF 2018.