VeeplayMarlinManager Class Reference
| Inherits from | NSObject |
| Conforms to | APSUnitManagerProtocol |
| Declared in | VeeplayMarlinManager.h VeeplayMarlinManager.m |
Overview
The VeeplayMarlinManager handles playback for units with Marlin DRM encryption. To instantiate a Marlin manager object and register it with the player:
VeeplayMarlinManager *marlinManager = [[VeeplayMarlinManager alloc] init];
[[APSMediaPlayer sharedInstance] registerUnitManager:marlinManager];
Then:
- Set the
managerTypeproperty of theAPSMediaUnitobject to@"marlin". If doing this programatically, you can also use thekVeeplayMarlinDRMEncodingconstant. - Optionally, to have the player download and add a broadband license to the local store, you can set the
kAPSMetadataDrmUrlkey in themetadatadictionary of an item to the string URL to the license file. To configure from JSON, set thedrm_encoding_urlmetadata key.