Does Chrome support the promise based APIs? I am using adaptor and tried specifically getUserMedia() API. And I received the following error
This appears to be Chrome
adapter-latest.js:32 chrome: {"audio":true,"video":true}
adapter-latest.js:410 Uncaught TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.
So can I am presume from above that Chrome does not support the promise based API (specifically getUserMedia) yet? Is there any resource/link that gives the implementation status of the promised based API across the browsers?
if (getUserMedia) {
getUserMedia(options)
.then(function (stream) {
console.log("Acquired audio and video!");
})
.catch(function (err) {
console.log(
err.name + ": " + err.message);
});
} else {
alert("WebRTC not supported on this browser");
}