From Chrome 47 onwards, it will not be possible to call getUserMedia() via http. This is a restriction from Google where they insist on secure connections for the getUserMedia() method.
It is part of Google's wider drive to require secure origins for these existing features:
- Device motion / orientation
When you log into your app via http your local preview fails with the error:
"Failed to get access to local media with error: [[object NavigatorUserMediaError] PermissionDeniedError]"
Use https rather then http when accessing you app, e.g.