Skip to content

IOS 11 #27

Open
Open
@projetoarduino

Description

@projetoarduino

Ios 11
Cordova 8.1.2
Platiform ios 4.5.5

I try test this code

document.addEventListener("deviceready", onDeviceReady, false);

function onDeviceReady() {

console.log("load")
navigator.mediaDevices.getUserMedia({
'audio': true,
'video': false
}).then(function (mediaStream) {
var mediaControl = document.querySelector('video');
mediaControl.srcObject = mediaStream;
});

};

but nothing happens, the mobile does not request access to the microphone, no error is returned

I I had some success using this plugin but the same does not return the mediastream I need for my code

https://github.com/edimuj/cordova-plugin-audioinput

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions