How to share audio-only streams using RTCWeb APIs?
HOME © Muaz Khan . @WebRTCWeb . Github . Latest issues . What's New?
This tutorial is out-dated (written in 2013). Please check this tutorial instead: https://codelabs.developers.google.com/codelabs/webrtc-web/#0
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); audio.play(); |
This is JUST a simple (temporary) workaround. |
Most importantly, you need to enable "Web Audio Input " flag via "chrome://flags ".
|