Describe the bug
If you run a serve API behind Cloudflare, pywidevine will refuse to load the remote CDM because of the server header. The Server header is overwritten by Cloudflare.
To Reproduce
- Run a serve API behind Cloudflare and attempt to connect to it
Failed to load CDM, This Remote CDM API does not seem to be a pywidevine serve API (cloudflare).
Expected behavior
Continues loading the remote cdm.
Additional context
This is most likely an issue with other things also besides just Cloudflare. Maybe use a custom header instead
Describe the bug
If you run a serve API behind Cloudflare, pywidevine will refuse to load the remote CDM because of the server header. The
Serverheader is overwritten by Cloudflare.To Reproduce
Failed to load CDM, This Remote CDM API does not seem to be a pywidevine serve API (cloudflare).Expected behavior
Continues loading the remote cdm.
Additional context
This is most likely an issue with other things also besides just Cloudflare. Maybe use a custom header instead