-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
How do recordings work? #6
Comments
Hi bryankaplan, welcome! |
Cool! I just tried it and it worked. But the previous two times I tried it, I was not prompted for a download. I'm not sure whether there was an error. What happens if the blob exceeds maximum size? |
Thanks :), You can follow Your browser log on console: press |
I know how to look on the console. I was only pointing out that I didn't look on the console previously when I didn't receive a download prompt because I didn't know I was supposed to receive one. That link does not seem to answer my question. I'm aware that blobs have a maximum size. That's why I'm asking you what happens when a recording exceeds it. |
Hi bryankaplan, Sorry i misunderstood, It hasn't happened to me yet, but if recording exceeds Blob, probably go on error and the rec will be not saved. Have a nice day. |
I just did 1 hour of video recording from a old mobile phone, and I was unable to exceed the Blob size :), |
@bryankaplan so, u typically wanna point out for fast processing of large videos ? |
@anshuman2166AppproDev I don't understand what you're trying to ask. |
HI @bryankaplan. Trying to reach Here how to reproduce <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test Blob</title>
<script>
function testBlob() {
var byteLength = 2200000000; // 2GB OK | 2,2GB KO
var buffer = new ArrayBuffer(byteLength);
var blob = new Blob([buffer]);
function bytesToSize(bytes) {
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
if (bytes == 0) return '0 Byte';
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i];
};
var blobSizeInGB = bytesToSize(blob.size);
console.log( blobSizeInGB );
}
</script>
</head>
<body>
<button onclick="testBlob()">testBlob</button>
</body>
</html>
I also added the |
It's nice that there's a record button. It would be nicer if recorded videos could be accessed somehow. And it would be even nicer if information was provided about where such videos are stored, and whether they can be deleted.
The text was updated successfully, but these errors were encountered: