code: function(track, stream) {
      stream.removeTrack(track);
      stream.dispatchEvent(new window.MediaStreamTrackEvent('removetrack',
        {track: track}));
    }
docs: /* adds the track from the stream and dispatches 'removetrack'