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

Not able to record more than 1 hour #144

Closed
bonigarcia opened this issue Jul 20, 2016 · 1 comment
Closed

Not able to record more than 1 hour #144

bonigarcia opened this issue Jul 20, 2016 · 1 comment

Comments

@bonigarcia
Copy link

Hi there,

I am using RecordRTC as follows:

    // 1. To start recording
    var options = {
        type : "video",
        mimeType : isChrome ? null : mimeType,
        disableLogs : false,
        getNativeBlob : true
    }
    var recordRTC = RecordRTC(myStream, options);

    // 2. To save recording to disk
    recordRTC.save();

Everything works like a charm, but when my live stream is over 1 hour, the resulting recording file has always a duration of 60 minutes. In other words, I am losing from the minute 60 until the end of my stream. It is too exact to be a coincidence.

Does anyone know what is going on here?

Thank you very much!

@muaz-khan
Copy link
Owner

MediaStreamRecorder.js is passing 1-hour maximum recording interval. You can increase this value and recompile RecordRTC.js:

mediaRecorder.start(3.6e+6); // default is 60 minutes; enough?

PS. Chrome 58-59 may supports 1GB or greater blobs/buffers. Until then, this issue wontfix.

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