I am still having the same error when trying to use my webcam that @fouilliez was having in April:
~/.config/discord/logs/renderer_js.log
[error] TypeError: window.createDiscordStream is not a function
Is there any solution besides using the regular Arch discord package?
Pinned Comments
Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2025-09-17 23:08 (UTC) by Zoddo)
Starting with 0.0.55-2 (2024-06-09):
Starting with 0.0.26-1 (2023-03-31):
Starting with 0.0.20-1 (2022-09-15):
$XDG_CONFIG_HOME/discord-flags.conf
: this works likeelectron-flags.conf
, you can set in this file the command line flags you want to pass to electron when running Discord (there are some useful flags in the wiki, especially if you are experiencing lag in the Discord UI).FAQ
Discord requires an update, but this package isn't yet updated
Check the wiki.
The Discord UI is lagging
Try to add the flags recommended in the wiki in
$XDG_CONFIG_HOME/discord-flags.conf
.Krisp is not available
An optional patcher is provided in the package to make Krisp work. To enable it, make sure
python-capstone
andpython-pyelftools
are installed, then setPATCH_KRISP=true
in$XDG_CONFIG_HOME/discord.conf
.After an update, you'll need to restart Discord once for the patch to apply (Discord downloads Krisp dynamically during startup, so it cannot be patched on the first start).
Please note that to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.