WisePlay DRM demo code provides sample program for your reference or usage. WisePlay DRM supplys a standards-based solution for content protection. It supports MPEG-DASH and HLS.
https://developer.huawei.com/consumer/en/hms/huawei-wiseplay?ha_source=hms1