Skip to content

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.

License

Notifications You must be signed in to change notification settings

HMS-Core/hms-wiseplay-demo

Repository files navigation

WisePlay DRM Demo

Apache-2.0

English | 中文

Table of Contents

Introduction

WisePlay DRM demo code encapsulates APIs of the HUAWEI WisePlay DRM. It provides sample code for your reference or usage. WisePlay DRM supplys a standards-based solution for content protection. It supports MPEG-DASH and HLS.

This demo provides demonstration for following scenarios:

  1. Obtaining online license. Use MediaDrm API to obtain online license.
  2. Obtaining offline license. Use MediaDrm API to obtain offline license.
  3. Using offline license. Use MediaDrm API to restore offline license.
  4. Deleting offline license. Use MediaDrm API to delete offline license.

Learning more detail of WisePlay DRM, please follow HUAWEI Development Guide

Getting Started

To use functions provided by examples, please make sure Huawei Mobile Service 4.0+ has been installed on your cellphone.

  1. Check whether the Android studio development environment is ready.
  2. Run the app on your Android device or emulator which have installed latest Huawei Mobile Service(HMS).

Supported Environments

Android SDK Version >= 23 and JDK version >= 1.7 is recommended.

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

WisePlay DRM demo is licensed under the Apache License, version 2.0.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages