How to share audio-only streams using RTCWeb APIs?

Copyright © 2013 Muaz Khan<@muazkh>.

If you're newcomer, newbie or beginner; you're suggested to try RTCMultiConnection.js or DataChannel.js libraries.

This document is for old chrome releases.

On getting local/remote media stream; you should use something like this:
audio.src = webkitURL.createObjectURL(stream);
audio.addEventListener('play', function () {
    this.muted = false;
    this.volume = 1;
}, false);
This is JUST a simple (temporary) workaround.
Most importantly, you need to enable "Web Audio Input" flag via "chrome://flags".
Enable Web Audio Input flag


Enter your email too; if you want "direct" reply!