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

Recording multiple videos from the same stream broken in Chrome? #101

Closed
ruiramos opened this issue Mar 6, 2016 · 2 comments
Closed

Recording multiple videos from the same stream broken in Chrome? #101

ruiramos opened this issue Mar 6, 2016 · 2 comments

Comments

@ruiramos
Copy link

ruiramos commented Mar 6, 2016

I used to be able to record multiple videos from the same stream (that is, to call startRecording and stopRecording multiple times on the same getUserMedia stream) in order to save sequential videos. This still works in Firefox however in Chrome (v. 48 here) I now get a Something went wrong. Maybe WebP format is not supported in the current browser. for all captures after the first one. Any ideas?
Thanks!

@ruiramos
Copy link
Author

ruiramos commented Mar 6, 2016

Think I fixed it here ruiramos/RecordRTC@498da34
Had to do with WhammyRecorder's resume method not resetting isStopDrawing and not calling this.record again. Let me know if you want a PR.

@robinnorth
Copy link
Contributor

robinnorth commented Apr 15, 2016

@ruiramos @muaz-khan It seems that it's actually CanvasRecorder's resume method not calling this.record again that's the issue here.

/**
 * This method resumes the recording process.
 * @method
 * @memberof CanvasRecorder
 * @example
 * recorder.resume();
 */
this.resume = function() {
    isPausedRecording = false;
    this.record();
};

...seems to do the trick 🎉

AndersDJohnson pushed a commit to AndersDJohnson/RecordRTC that referenced this issue Apr 8, 2019
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

2 participants