OOOoyalaSecurePlayerSDK.h
1 //
2 // OoyalaSecurePlayerSDK.h
3 // OoyalaSecurePlayerSDK
4 //
5 // Copyright (c) 2015 Brightcove, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import <OoyalaSDK/OODefaultPlayerInfo.h>
10 #import <SecurePlayer/VOOSMPType.h>
11 
12 #define OO_HTTP_PRE_PRODUCTION_PERSONALIZATION_SERVER @"http://persopp.purpledrm.com/PersoServer/Personalization"
13 #define OO_HTTP_PRODUCTION_PERSONALIZATION_SERVER @"http://perso.purpledrm.com/PersoServer/Personalization"
14 
15 @class OOStreamPlayerMapping;
16 
17 extern NSString *const OOOoyalaSecurePlayerPersonalizationStartedNotification;
18 extern NSString *const OOOoyalaSecurePlayerPersonalizationCompletedNotification;
19 extern NSString *const OOOoyalaSecurePlayerPersonalizationErrorNotification;
20 extern NSString *const OOOoyalaSecurePlayerDownloadFileStartedNotification;
21 extern NSString *const OOOoyalaSecurePlayerDownloadFileCompletedNotification;
22 extern NSString *const OOOoyalaSecurePlayerDownloadFileErrorNotification;
23 extern NSString *const OOOoyalaSecurePlayerAcquireRightsStartedNotification;
24 extern NSString *const OOOoyalaSecurePlayerAcquireRightsCompletedNotification;
25 extern NSString *const OOOoyalaSecurePlayerAcquireRightsErrorNotification;
30 @interface OOOoyalaSecurePlayerSDK : NSObject
31 
37 
48 +(void)registerSecurePlayerMapping:(OOStreamPlayerMapping*)mapping
49  appVersion:(NSString*)appVersion
50  sessionId:(NSString*)sessionId
51  personalizationServerUrl:(NSString*)personalizationServerUrl
52  engineType:(VO_OSMP_PLAYER_ENGINE)engineType;
53 
54 +(NSString*)appVersion;
55 
56 +(NSString*)sessionId;
57 
58 +(NSString*)personalizationServerUrl;
59 
60 +(VO_OSMP_PLAYER_ENGINE)engineType;
61 
62 @end
63 
64 @interface OOSecurePlayerPlayerInfo : OODefaultPlayerInfo
65 @end
Use this class to enable playback of SecurePlayer assets.
Definition: OOOoyalaSecurePlayerSDK.h:30
NSString * personalizationServerUrl()
Definition: OOOoyalaSecurePlayerSDK.m:60
NSString * formatOoyalaPersonalizationServerUrl()
Returns a pointer to a PlayReady Personalization server.
Definition: OOOoyalaSecurePlayerSDK.m:35
NSString * sessionId()
Definition: OOOoyalaSecurePlayerSDK.m:56
NSString * appVersion()
Definition: OOOoyalaSecurePlayerSDK.m:52
VO_OSMP_PLAYER_ENGINE engineType()
Definition: OOOoyalaSecurePlayerSDK.m:64
Definition: OOOoyalaSecurePlayerSDK.h:64