scrcpy will crash when you start watching Netflix (forced to use liboemcryptodisabler-1.5.1)
Phone: Samsung Galaxy S24 Ultra (SM-S928B) OS: Android 14 UI: OneUI Rooted: YES (Magisk v28.1) Root Pass: YES Basic Pass: YES Strong Pass: NO
PC architecture (scrcpy runs there): x86_64
OS: Arch Linux
scrcpy --version output:
scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
Dependencies (compiled / linked):
- SDL: 2.30.10 / 2.32.52
- libavcodec: 61.19.100 / 61.19.100
- libavformat: 61.7.100 / 61.7.100
- libavutil: 59.39.100 / 59.39.100
- libavdevice: 61.3.100 / 61.3.100
- libusb: - / 1.0.27
Hi, I'm facing this issue: when I'm streaming my phone screen with scrcpy, I can do screenshots and video recordings on apps that don't support that, thanks to your LSPosed module. However, when I start watching something on Netflix (and maybe this will occur with other apps too) the scrcpy stream is interrupted and I'm forced to restart it, even if I quit from the Netflix app there's no way to fix the interruption. The expected behaviour is that the stream will show a black screen, since Netflix is showing content protected by DRM. Sometimes this is handled properly but straight after closing the video, the scrcpy stream is interrupted. This bug doesn't occur by using this other LSPosed module which enables screenshots and video recordings too, but doesn't remove their detection, a key feature that your module supports instead. One fix to this problem is provided by installing the liboemcryptodisabler-1.5.1 (Android 14) Magisk module, however this module will cause the Widevine DRM version to fall back to L3, completely disabling HDR streaming on the device. I don't want to use that module due to this limitation. Please fix this bug where the scrcpy stream is suddenly interrupted. Thanks.
This cannot be fixed; either you can't view things like GPay in scrpy or scrcpy crash with L1 DRM content like Netflix.
Mh, I think it probably can be fixed instead, since, as I've already told you, this other LSPosed module, which enables screenshots and video recordings too, doesn't cause crashes when viewing DRM content like Netflix. The problem is that module doesn't prevent the system from detecting the screenshots/video recordings, like your module does instead.