Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
/ Demo-App Public archive

Simple tvOS App to showcase Fairplay Encryption

License

Notifications You must be signed in to change notification settings

TV-Encryption/Demo-App

Repository files navigation

Demo App

Simple tvOS App to showcase FairPlay Encryption

Warning/Notes

This demo app does use the old AVAssetResourceLoaderDelegate approach. There is also a newer AVContentKeySession approach. You find a Demo of it in Apples FairPlay Streaming Server SDK.

Due to the scope of the bachelor thesis, the getAuthToken method is unimplemented. It is quite straigthforward to implement though…

Building/Running

Just run it like any Xcode project… There are two schemes, one for localhost communication and one for remote URLs.

If you don't want to type an URL on the Apple TV Remote every time, you can provide the app with a default URL in ViewController.swift in the viewDidLoad() method.

You can specify your remote server URLs in Default.xcconfig.

Linting

The project is set up with pre-commit.

To activate it for a project run:

pre-commit install

The next time you commit, it is going to lint and check your files. Sometimes you need to review the changes and do the commit again. If you want to commit without checks

git commit --no-verify

About

Simple tvOS App to showcase Fairplay Encryption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages