I suspect that [IsTypeSupportedEx()](https://searchfox.org/mozilla-central/rev/ac81a39dfe0663eb40a34c7c36d89e34be29cb20/dom/media/ipc/MFCDMParent.cpp#686) doesn't return a correct result in terms of the hardware decryption. Therefore, users will receive `MSPR_E_NO_DECRYPTOR_AVAILABLE` error later during the runtime. We should detect the error and disable hardware decryption on that device for the specific codec that triggered it.
Bug 1977668 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I suspect that [IsTypeSupportedEx()](https://searchfox.org/mozilla-central/rev/ac81a39dfe0663eb40a34c7c36d89e34be29cb20/dom/media/ipc/MFCDMParent.cpp#686) is not returning the correct result regarding hardware decryption support. As a result, users may encounter the `MSPR_E_NO_DECRYPTOR_AVAILABLE` error later at runtime. We should detect the error and disable hardware decryption on that device for the specific codec that triggered it.