Skip to content

Latest commit

 

History

History

AudioVideoRecorder

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
Audio+Video Recording using MediaRecorder / Demo

Only audio-relevant parts are supported in the moment. Audio+Video recording coming soon.

Support? Current/Latest Firefox Nightly (ONLY). Understood? Download from: http://nightly.mozilla.org/

=

RecordRTC

Try RecordRTC which is preferred.

=

How to use AudioVideoRecorder?
<script src="https://www.webrtc-experiment.com/AudioVideoRecorder.js"></script>

=

How to record audio?
AudioVideoRecorder({

    // MediaStream object
    stream: MediaStream,

    // mime-type of the output blob
    mimeType: 'audio/ogg',

    // set time-interval to get the blob
    interval: 5000,

    // get access to the recorded blob
    onRecordedMedia: function (blob) {
        // POST/PUT blob using FormData/XMLHttpRequest

        // or readAsDataURL
        var reader = new FileReader();
        reader.onload = function (e) {
            hyperlink.href = e.target.result;
        };
        reader.readAsDataURL(blob);
    }

});

=

Browser Support

AudioVideoRecorder.js works fine on following web-browsers:

Browser Support
Firefox Nightly

=

License

AudioVideoRecorder.js is released under MIT licence . Copyright (c) 2013 Muaz Khan.