fix large file uploads #7736

Merged
jessopb merged 14 commits from fix-LargeFileUploads into master 2022-11-17 19:20:01 +01:00
jessopb commented 2022-11-15 18:17:12 +01:00 (Migrated from github.com)

Electron IPC messages have to serialize data and over 1GB or so, this causes a crash.
As I think we have to at least load small files to continue handling posts the way we were, we'll keep sending the buffer for under 500MB, but use ffprobe to get duration in the electron main process instead of relying on creating a browser File object.

Electron IPC messages have to serialize data and over 1GB or so, this causes a crash. As I think we have to at least load small files to continue handling posts the way we were, we'll keep sending the buffer for under 500MB, but use ffprobe to get duration in the electron main process instead of relying on creating a browser File object.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7736
No description provided.