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

Media Stream Recorder "Bug" must be fixed. #5

Open
muaz-khan opened this issue Jul 19, 2013 · 0 comments
Open

Media Stream Recorder "Bug" must be fixed. #5

muaz-khan opened this issue Jul 19, 2013 · 0 comments

Comments

@muaz-khan
Copy link
Member

MediaRecorder must work fine on latest Firefox Nightlies; without any single crash.

Bug: Line 27
mediaRecorder.onstop = function () {
    if (mediaRecorder.state == 'inactive') {
        // bug: it is a temporary workaround; it must be fixed.
        mediaRecorder = new MediaRecorder(mediaStream);
        mediaRecorder.ondataavailable = self.ondataavailable;
        mediaRecorder.onstop = self.onstop;
        mediaRecorder.mimeType = self.mimeType;
        mediaRecorder.start(timeSlice);
    }
};

  1. We must not call stop automatically and repeatedly.
  2. start method must be invoked once until mediaRecorder.stop method is manually called by the end-user.

Regardless of whether it is Windows 7, 8 or Mac. MediaRecorder.js must work fine; all the time.

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