0 byte recording files
See original GitHub issueThis is regarding your great RecordRTC extension 😊🙏
A couple of weeks ago it was working for me, but now it has the following behavior:
Record on Default codec: File is 0 bytes Record on VP8: File is 33 KB Record on VP9: File is 15 KB

This is regardless of how long I leave the recording going (eg a minute). I have no idea what could have changed in the past couple weeks. I tried restarting browser, deleting and reinstalling extension, changing which domain I’m recording, and restarting computer. My other settings are:
- Enable microphone recording
- Record the selected tab
- Full HD
When I deselect “Record the selected tab” it works.
Any ideas on what might be the cause? I tried cloning locally and adding timeSlice like you suggested here, but no change.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Files Become 0 Bytes? Top 3 Ways to Restore Zero Byte Files
A zero-byte file means that there is no data being stored in the file and the length of the file also becomes zero....
Read more >How to Recover 0 Byte File in Simple Steps?
Zero byte file is a damaged file that has a name, but does not contain any written data. In addition, the file is...
Read more >Recover 0 Byte Files in Windows 10/8/7 - EaseUS
Why does my file say zero bytes? The document zero kb simply refers to no data or content is being stored in the...
Read more >What are zero-byte files and how do I deal with them?
A zero-byte file is a file that does not contain any data. While most files contain several bytes, kilobytes (thousands of bytes) or...
Read more >It's Easy To Recover 0 Bytes Files If Only You Have This Tool
Recover 0 Bytes Files FAQ · Click File in the menu bar of an opening Excel. · Choose Open from the left sidebar....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Note that “changes being made in the tab” could be an animation, or a playing video, or even a mouse moving around over the tab area.
Muaz, I think that we found the problem. It turns out that the (same) code works as long as there are changes being made in the tab that is being recorded. If the tab never changes (at all), then the extension does not work properly and may produce the 0 bytes file error. Hope this is helpful.