Aristos
Aristos
TTCTheo's Typesafe Cult
Created by Aristos on 1/3/2024 in #questions
Rebuilding electron with custom chromium (Thorium)
I'm building a video recorder app, and I realized that default chromium doesn't support "video/mp4" codec. After some research, I found that a custom chromium build called Thorium (https://thorium.rocks/) does support it (https://tools.woolyss.com/html5-audio-video-tester/), and they provide binaries (https://chromium.woolyss.com/). I tried looking up tutorials on how to rebuild an electron app with a custom chromium engine, but it only showed how to make patches, not using a different set of binaries. This is the one I'm referring to: https://www.jochendelabie.com/2021/10/29/electron-with-custom-chromium-build/. If anyone could provide some assistance with the script commands to incorporate the thorium binaries with the electron build based on the referenced tutorial I would greatly appreciate it. Thanks in advance.
1 replies