Change search
CiteExportLink to record
Permanent link

Direct link
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Real-Time Voice Chat Realized in JavaScript
2012 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Today it is possible to run most applications directly in the browser; people spend more and more time in front of a Web browser. Since audio and video communication is part of the Internet experience, major browsers are searching for ways to standardize real-time communication in Web browsers, without the need of plug-in installation. This thesis presents the possibility for real-time communication between browsers realized in JavaScript. The goal is to combine HTML5 with Mozilla audio data API for communication between browsers. To start with, the built-in media support for audio element of HTML5 has been used to embed the audio file. Extracting the samples from the audio element is done by implementing the Mozilla audio data API. These samples are compressed with a G.711 A-law codec; the codec will compress the input data by 50%. For transferring the data to the destination client and being able to receive data from the client a two-way communication channel is required. The HTML5 WebSocket API provides full-duplex communication over a single Transmission Control Protocol (TCP). The server environment chosen to support this was Node.js. All above combined together give the possibility of sending data between browsers through a server.

Place, publisher, year, edition, pages
2012. , 40 p.
Keyword [en]
Physics Chemistry Maths, Real-time communication between browsers, real-time voice chat realized in JavaScript, audio communication in browsers, audio in browsers
Keyword [sv]
Fysik, Kemi, Matematik
URN: urn:nbn:se:ltu:diva-50121Local ID: 768a062b-fc59-4855-b28b-62e8b2838b95OAI: diva2:1023478
Subject / course
Student thesis, at least 30 credits
Educational program
Engineering Physics and Electrical Engineering, master's level
Validerat; 20120301 (anonymous)Available from: 2016-10-04 Created: 2016-10-04Bibliographically approved

Open Access in DiVA

fulltext(744 kB)