Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.35 KB

README.md

File metadata and controls

51 lines (33 loc) · 2.35 KB

THEOplayer iOS Reference Apps - THEO DRM Playback

The purpose of this app is to demonstrate how to playback a DRM protected HLS stream with THEOplayer.

For a quick start with this sample, please proceed with the Quick Start section. You can also take a look at our Getting Started on iOS guide for more information.

Guides

The guides below will provide a detailed explanation about DRM systems followed by instructions on how to configure DRM source for DRM protected streams and play it with THEOplayer.

Quick Start

  1. Using the terminal, navigate to the directory where the Podfile is located and run:

     pod install --repo-update
    
  2. In the player configuration, replace the placeholder your_license_here with your license for iOS SDK.

    let playerConfigurationBuilder = THEOplayerConfigurationBuilder()
    playerConfigurationBuilder.license = "your_license_string"
    self.theoplayer = THEOplayer(configuration: playerConfigurationBuilder.build())

    If you don't have a license yet, please visit THEOportal Getting Started page.

  3. Open the project .xcworkspace, select a Development Team for signing and build it.

Streams/Content Rights

The DRM streams used in this app (if any) are provided by our Partner: EZ DRM and hold all the rights for the content. These streams are DRM protected and cannot be used for any other purposes.

THEOplayer License Required

This app uses a source hosted on the ezdrm.com domain. Provide a valid THEOplayer license that includes the ezdrm domain for playback to start.

License

This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.