Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an unrecognized error, however it's working fine #162

Open
s77rt opened this issue May 13, 2018 · 0 comments
Open

Getting an unrecognized error, however it's working fine #162

s77rt opened this issue May 13, 2018 · 0 comments

Comments

@s77rt
Copy link

s77rt commented May 13, 2018

Getting an error after making this change:
mediaRecorder.stream.stop();
to:

mediaRecorder.stream.getTracks().forEach(function(track) {
    track.stop();
});

error:

MediaRecorder Error error​bubbles: false​cancelBubble: false​cancelable: false​composed: false​currentTarget: null​defaultPrevented: false​error: Restricted {  }​eventPhase: 0​explicitOriginalTarget: MediaRecorder { stream: LocalMediaStream, state: "inactive", mimeType: "", … }​isTrusted: true​originalTarget: MediaRecorder { stream: LocalMediaStream, state: "inactive", mimeType: "", … }​target: MediaRecorder { stream: LocalMediaStream, state: "inactive", mimeType: "", … }​timeStamp: 15451​type: "error"​__proto__: MediaRecorderErrorEventPrototype { error: Getter, … } MediaStreamRecorder.js:1183:21
	MediaRecorderWrapper/this.start/mediaRecorder.onerror https://cdn.webrtc-experiment.com/MediaStreamRecorder.js:1183:21

even it's working correctly

is it a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant