Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio input via HTML5?

Tags:

html

We have a VoIP application imVOX, and we are looking at various ways of expanding our reach. Part of that is writing an HTML5 application, but it requires the use of audio input from the browser (and also push to talk buttons from the browser, even if another app is focused).

On the audio side, with HTML5 is there any way of taking audio input from the browser to compress and send to our servers? I know with Flash such is possible, but we're trying to avoid flash for mobile compatibility and generally looking toward the future.

like image 937
tibbon Avatar asked May 20 '10 17:05

tibbon


1 Answers

Webcam and Microphone support is not a feature of the HTML 5 spec

New APIs

In addition to specifying markup, HTML5 specifies scripting application programming interfaces (APIs). Existing document object model (DOM) interfaces are extended and de facto features documented. There are also new APIs, such as:

  • The canvas element for immediate mode
  • 2D drawing Timed media playback
  • Offline storage database (offline web
  • applications) Document editing
  • Drag-and-drop Cross-document
  • messaging (web messaging) Browser
  • history management MIME type and
  • protocol handler registration.
  • Microdata

Some of the new features are part of HTML5 mainly because there are no volunteers to split HTML5 and maintain separate specifications of these features.

like image 78
Joel Martinez Avatar answered Nov 04 '22 21:11

Joel Martinez