Abstract

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..

Highlights

  • [1][2] umożliwia budowę systemów natywnej komunikacji multimedialnej w przeglądarkach WWW

  • Wysyłanie wiadomości tekstowych realizuje funkcja wysylanietekstu (Rys. 8a), która tworzy komunikat i wysyła go za pomocą funkcji wysylanie, przedstawionej w rozdziale 1.1

  • Rozwiązania różnią się sposobem transmisji danych czatu: kanałem sygnalizacyjnym via serwer lub bezpośrednio pomiędzy przeglądarkami, kanałem transmisji danych niemedialnych techniki WebRTC

Read more

Summary

Introduction

[1][2] umożliwia budowę systemów natywnej komunikacji multimedialnej w przeglądarkach WWW } // po zainicjowaniu połączenia z serwerem // sygnalizacyjnym wysyłany jest komunikat // 'gotowy' var gotowy = false; wysylanie('gotowy'); // Metoda odbiera komunikaty 'komunikat' // i je przetwarza socket.on('komunikat', function (wiad){ Oferta jest dostarczana przez system sygnalizacyjny do drugiego systemu, który odpowiada na ofertę przesyłając zwrotnie odpowiedź SDP

Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.