diff --git a/src/video-recorder.js b/src/video-recorder.js index 4e86d6d..f512703 100644 --- a/src/video-recorder.js +++ b/src/video-recorder.js @@ -164,15 +164,11 @@ export default class VideoRecorder extends Component { componentDidMount () { const isInlineRecordingSupported = - !!window.MediaSource && !!window.MediaRecorder && !!navigator.mediaDevices + !!window.MediaRecorder && !!navigator.mediaDevices const isVideoInputSupported = document.createElement('input').capture !== undefined - if (isInlineRecordingSupported) { - this.mediaSource = new window.MediaSource() - } - this.setState( { isInlineRecordingSupported,