Open
Description
Expected Behaviour
Audio from the mic is output within a couple hundred milliseconds
Actual Behaviour
Audio is output 1s+ later
Reproduce Scenario (including but not limited to)
Echoing the mic input out the speaker to create a microphone app
Steps to Reproduce
Pipe an audio stream to an HTML5 audio element:
<audio autoplay></audio>
...
const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false})
myHtml5AudioElement.srcObject = stream;
I confirmed that there is no delay for non-mic other webaudio workloads like this synth
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 7.1-8.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Android simulator, OnePLus 5, Altatel 798BL
Cordova CLI version and cordova platform version
cordova --version # e.g. 6.0.0
cordova platform version android # e.g. 4.1.1
Plugin version
$ phonegap cordova --version
8.0.0
$ phonegap cordova platform version android
Installed platforms:
android 7.0.0
browser 5.0.3
Available platforms:
ios ~4.5.4
osx ~4.0.1
windows ~5.0.0
www ^3.12.0
Metadata
Metadata
Assignees
Labels
No labels