No-Library (pure JS), HTML, CSS, JavaScript
My starting point.
Shows modern WebRTC use with cut'n'paste Offer/Answer exchange in Firefox Dev Edition.
Shows mediaDevices.getUserMedia with constraints.
Shows track.applyConstraints
Shows MediaRecorder with tab