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

Feature Request - Allow blobs from MediaRecorder #70

Open
blairliikala opened this issue Feb 16, 2022 · 0 comments
Open

Feature Request - Allow blobs from MediaRecorder #70

blairliikala opened this issue Feb 16, 2022 · 0 comments

Comments

@blairliikala
Copy link

Is it possible to suggest being able to upload video live while a webcam/screen recording is happening. Currently the blobs have to be stored in the browser, turned into a File, and then uploaded. The user has to then wait for the upload, and if the browser fails/refreshes then the video is lost. The file property requires a file, and MediaRecorder returns blobs.

mediarecorder = new MediaRecorder(camera);
mediarecorder.addEventListener('dataavailable', function(e) {
    // Send to UpChunk to be uploaded?
    upchunk.pushblob(e.data);
});

Or otherwise pass the MediaRecorder instance to Upchunk to handle it?

UpChunk.createUpload({
    endpoint: url,
    recorder: new MediaRecorder(camera);
});
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