To be able to play DRM protected videos after May 31th, it is needed that widevine is updated to v4.10.2252.0.
However, this version is incompatible with the current Kodi version.
As suggested here: https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/437:
we need to download the latest widevine (I did), upgrade Kodi to v19.1 (I installed kodi-rpi 19.1-6) and run Kodi with LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so (I installed gperftools 2.9.1-1 and started Kodi with the LD_PRELOAD)
Unfortunately, Kodi crashes when I try to start a DRM protected stream.
Can someone please help?
See also:
https://libreelec.tv/2021/05/le-9-2-7-10b4-fix-widevine/
https://github.com/LibreELEC/LibreELEC.tv/pull/5376
https://github.com/xbmc/inputstream.adaptive/issues/678