No-Library (pure JS), HTML, CSS, JavaScript
My starting point.
Shows mediaDevices.getUserMedia use with adapter.js