Open boubakerBS opened 5 months ago
Hey @boubakerBS , thanks for raising an issue.
Hello! I might be encountering the same issue.
IMPORTANT: I forgot to stop the recording before ending the call. Seems a likely source of the problem for me.
Screen capture of download with console output: Screen recording 2024-05-23 11.12.45 AM.webm
Possibly related, either the Beesy: Recordings tab or sometimes this tab (GitHub) would crash with this or a similar error message if I navigate away from the tab while it is trying to download:
Hi @Noah-Nelson ,
Thanks for adding a detailed comment, it really helped. To clarify a few things:
So the issue most probably is that the video file is huge, almost 1.5gb and your system is running out of ram when Beesy is trying to process that video in memory that's why the tab crashes when you're trying to download.
Could you please share a few details
Hi, thanks for the response!
On Sat, May 25, 2024 at 5:14 AM Piyush @.***> wrote:
Hi @Noah-Nelson https://github.com/Noah-Nelson ,
Thanks for adding a detailed comment, it really helped. To clarify a few things:
- Console error says missing duration - You can ignore this warning, it comes up even if video is downloaded
- I forgot to stop the recording before ending the call - Even if you forgot to stop, Beesy still saves the recording in recording tab, so you're safe there, but yes the video size is huge because of that probably
- Possibly related, either the Beesy: Recordings tab or sometimes this tab (GitHub) would crash - yes this might be a problem
So the issue most probably is that the video file is huge, almost 1.5gb and your system is running out of ram when Beesy is trying to process that video in memory that's why the tab crashes when you're trying to download.
Could you please share a few details
- Have you deleted that video from recording tab ? If not, we can still help you retrieve it
- How much ram does your system has ?
- Could you try downloading that video by closing all other programs on your system and all other tabs in the browser ? So the only thing open on your system when that download is running should be chrome with this tab.
— Reply to this email directly, view it on GitHub https://github.com/pi-ra/beesy-issue-tracker/issues/39#issuecomment-2131235610, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHS24FBLB56AZIDG3JJ6BR3ZEB6CZAVCNFSM6AAAAABHINCC3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGIZTKNRRGA . You are receiving this because you were mentioned.Message ID: @.***>
Hey @Noah-Nelson ,
Great that you haven't deleted it, let me help you download your recording first.
console
panelconsole
(async function downloadFile(fileName){
const opfsHandle = await navigator.storage.getDirectory()
const recDir = await opfsHandle.getDirectoryHandle('beesy_recordings')
const fileToDownloadHandle = await recDir.getFileHandle(fileName);
const fileToDownload = await fileToDownloadHandle.getFile()
const ab = await fileToDownload.arrayBuffer();
const blb = new Blob([ab], {
type: 'video/webm',
});
chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});
})('your_filename_here')
4. Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
5. And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.
Let me know how it goes.
Thank you for this, it worked! Two follow-up questions:
Thanks again for all your help, Noah
On Wed, May 29, 2024 at 10:59 AM Piyush @.***> wrote:
Hey @Noah-Nelson https://github.com/Noah-Nelson ,
Great that you haven't deleted it, let me help you download your recording first.
- Go to the recordings page and open devtools by right clicking anywhere and then clicking 'Inspect' in the context menu
- Something like this should open up image.png (view on web) https://github.com/pi-ra/beesy-issue-tracker/assets/7107647/e76320a0-356b-42fb-947a-27f03edf699f
- Click on the console panel
- Now copy paste this code into that console
(async function downloadFile(fileName){ const opfsHandle = await navigator.storage.getDirectory() const recDir = await opfsHandle.getDirectoryHandle('beesy_recordings') const fileToDownloadHandle = await recDir.getFileHandle(fileName); const fileToDownload = await fileToDownloadHandle.getFile() const ab = await fileToDownload.arrayBuffer(); const blb = new Blob([ab], { type: 'video/webm', }); chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});
})('your_filename_here')
- Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
- And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.
Let me know how it goes.
— Reply to this email directly, view it on GitHub https://github.com/pi-ra/beesy-issue-tracker/issues/39#issuecomment-2137972550, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHS24FDIODDJF755NTZ325LZEYJPZAVCNFSM6AAAAABHINCC3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXHE3TENJVGA . You are receiving this because you were mentioned.Message ID: @.***>
Great that you were able to download it ! @Noah-Nelson
The recording you downloaded might not be seekable in media player(i.e. you would not see the timestamps while playing it). This is due to browser limitations. To fix this, could you please try to use below option in Beesy settings ?
If the browser tab still crashes while fixing this, let me know.
And to your ques:
Rest assured, we'll also be thinking of how to tackle this issue.
Hey @Noah-Nelson ,
Great that you haven't deleted it, let me help you download your recording first.
- Go to the recordings page and open devtools by right clicking anywhere and then clicking 'Inspect' in the context menu
- Click on the
console
panel- Now copy paste this code into that
console
(async function downloadFile(fileName){ const opfsHandle = await navigator.storage.getDirectory() const recDir = await opfsHandle.getDirectoryHandle('beesy_recordings') const fileToDownloadHandle = await recDir.getFileHandle(fileName); const fileToDownload = await fileToDownloadHandle.getFile() const ab = await fileToDownload.arrayBuffer(); const blb = new Blob([ab], { type: 'video/webm', }); chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName}); })('your_filename_here')
- Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
- And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.
Let me know how it goes.
It's working for files than 300mb but now working for files more than 500mb.
When i try to download, the browser stops working / freezer.
hey @arunpr90 , sorry for the late reply, could you please help us with a few things ?
Is there an existing issue for this?
Bug description
if i click download for the second record ( the browser page is crashed
Steps To Reproduce
j if i click download for the second record ( the browser page is crashed
Environment including version
Attachments
No response