addyosmani / addyosmani/getUserMedia.js

cam.capture always undefined

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
901
Forks
155
PR merge metrics
No merged PRs in 30d

Description

Hello,
I am in need of integrating web cam and access its audio/video streams in IE. I have tried your shim and it works fine up to a certain point.

In getUserMedia.js, line no 103, [here](https://github.com/addyosmani/getUserMedia.js/blob/a0f839a214f1143a66b44410804fbb1c1e712158/dist/getUserMedia.js#L103), there is a condition where you check if the `capture` is not undefined. In my case, it always becomes undefined .

I have console logged that particular element and it looks like this:
``

Is there any particular reason why this is happening? Am I missing something? Please help me on this.

Thank you

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.