Stop / kill WebRTC media stream
getusermedia, media, stream, webrtc
Solution
Use `stream.getTracks().forEach(track => track.stop());`.
`stream.stop()` was deprecated.
Problem
How to completely kill the WebRTC media stream? `MediaStream.stop()` is not working anymore. Testing in Chrome 47, Mac OS 10.11.