title: How to remove track from MediaStream and "stop" webcam?
body: <p>I'm trying to remove a track from a MediaStream. <code>MediaStream.removeTrack()</code> removes the track from the stream, but the camera light is left on indicating that the camera is still active. </p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack?redirectlocale=en-US&amp;redirectslug=DOM%2FMediaStreamTrack" rel="noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack?redirectlocale=en-US&amp;redirectslug=DOM%2FMediaStreamTrack</a></p>
  
  <p>This references a <code>stop()</code> method which I suppose would stop the camera completely, In chrome however I get <code>"Object MediaStreamTrack has no method 'stop'"</code></p>
  
  <p>Is there a way around this or do I have to stop the whole stream and then recreate it with the tracks I don't want gone? As an example, I want to remove the video track while the audiotrack is still there.</p>