Change search
ReferencesLink to record
Permanent link

Direct link
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)0 downloads
File information
File name FULLTEXT02.pdfFile size 744 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Aresh, Afshin

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

ReferencesLink to record
Permanent link

Direct link