Skip to content
/ iago Public
forked from itsjoesullivan/iago

A component for encoding PCM data to Ogg Vorbis in the browser

Notifications You must be signed in to change notification settings

angdev/iago

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#iago

Component for encoding Ogg in the browser.

  • Stream to the encoder--your compressed audio is ready when the recording is finished
  • Uses a web worker for the actual compression; UI thread is free

###Credit

###Usage

Install the component:

component install itsjoesullivan/iago

Use it:

var Iago = require('iago');

var context = new AudioContext();
var iago;
navigator.getUserMedia({ audio: true }, function( handle ) {
  var stream = context.createMediaStreamSource( handle );
  iago = new Iago( stream );
});

// When finished:
iago.getBlob( function( err, blob ) {
  // blob is of type audio/ogg
});

About

A component for encoding PCM data to Ogg Vorbis in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • HTML 7.4%