VOCommonPlayerConfiguration.h
1 /************************************************************************
2 VisualOn Proprietary
3 Copyright (c) 2012-2016, VisualOn, Inc. All Rights Reserved
4 
5 All data and information contained in or disclosed by this document are
6 confidential and proprietary information of VisualOn, Inc, and all rights
7 therein are expressly reserved. By accepting this material, the recipient
8 agrees that this material and the information contained therein are held
9 in confidence and in trust. The material may only be used and/or disclosed
10 as authorized in a license agreement controlling such use and disclosure.
11 ************************************************************************/
12 
13 #import <Foundation/Foundation.h>
14 
15 #import "VOOSMPType.h"
16 #import "VOOSMPVerificationInfo.h"
17 #import "VOOSMPImageData.h"
18 
19 @protocol VOCommonPlayerConfiguration <NSObject>
20 
30 - (VO_OSMP_RETURN_CODE) setLicenseContent:(NSData *)data;
31 
32 
42 - (VO_OSMP_RETURN_CODE) setLicenseFilePath:(NSString *)path;
43 
44 
54 - (VO_OSMP_RETURN_CODE) setPreAgreedLicense:(NSString *)str;
55 
56 
65 - (VO_OSMP_RETURN_CODE) enableDeblock:(bool) value;
66 
67 
79 - (VO_OSMP_RETURN_CODE) setDeviceCapabilityByFile:(NSString *)filename;
80 
81 
96 - (VO_OSMP_RETURN_CODE) setInitialBitrate:(int) bitrate;
97 
98 
111 - (VO_OSMP_RETURN_CODE) setZoomMode:(VO_OSMP_ZOOM_MODE)mode rect:(Rect)rect;
112 
113 
138 - (VO_OSMP_RETURN_CODE) enableLiveStreamingDVRPosition:(bool)enable;
139 
140 
153 - (VO_OSMP_RETURN_CODE) setDRMLibrary:(NSString *)libName libApiName:(NSString *)libApiName;
154 
155 
163 - (VO_OSMP_RETURN_CODE) setDRMAdapter:(void *)adapter;
164 
165 
179 - (VO_OSMP_RETURN_CODE) setDRMVerificationInfo:(VOOSMPVerificationInfo *)info;
180 
181 
190 - (VO_OSMP_RETURN_CODE) setDRMUniqueIdentifier:(NSString *)string;
191 
200 - (VO_OSMP_RETURN_CODE) enableDRMOfflineMode:(bool)enable;
201 
211 - (VO_OSMP_RETURN_CODE) setInitialBufferTime:(int)time;
212 
213 
221 - (VO_OSMP_RETURN_CODE) setInitialBufferingTime:(int)time;
222 
223 
233 - (VO_OSMP_RETURN_CODE) setMaxBufferTime:(int)time;
234 
235 
243 - (VO_OSMP_RETURN_CODE) setMaxBufferingTime:(int)time;
244 
245 
253 - (VO_OSMP_RETURN_CODE) setPlaybackBufferingTime:(int)time;
254 
255 
265 - (VO_OSMP_RETURN_CODE) setAnewBufferingTime:(int)time __attribute__((deprecated));
266 
267 
276 - (VO_OSMP_RETURN_CODE) enableAudioStream:(bool) value;
277 
278 
287 - (VO_OSMP_RETURN_CODE) enableVideoStream:(bool) value;
288 
289 
299 - (VO_OSMP_RETURN_CODE) enableLowLatencyVideo:(bool) value;
300 
301 
310 - (VO_OSMP_RETURN_CODE) enableAudioEffect:(bool) value;
311 
312 
321 - (VO_OSMP_RETURN_CODE) enablePCMOutput:(bool) value;
322 
323 
332 - (VO_OSMP_RETURN_CODE) setAudioPlaybackSpeed:(float)speed;
333 
340 - (VO_OSMP_RETURN_CODE) setPlayIFrameOnly:(BOOL)enable Speed:(float)speed;
341 
342 
350 - (VO_OSMP_RETURN_CODE) setPresentationDelay:(int)time;
351 
352 
360 - (VO_OSMP_RETURN_CODE) enableSEI:(VO_OSMP_SEI_INFO_FLAG)flag;
361 
369 - (VO_OSMP_RETURN_CODE) enableSEIPostProcessVideo:(bool)value;
370 
378 - (VO_OSMP_RETURN_CODE) setPDConnectionRetryCount:(int)times;
379 
380 
392 - (VO_OSMP_RETURN_CODE) enableCPUAdaptation:(bool)value;
393 
394 
414 - (VO_OSMP_RETURN_CODE) setBitrateThreshold:(int)upper lower:(int)lower;
415 
416 
427 - (VO_OSMP_RETURN_CODE) setSegmentDownloadRetryCount:(int) times;
428 
429 
439 - (VO_OSMP_RETURN_CODE) enableDolbyLibrary:(bool) value;
440 
441 
451 - (VO_OSMP_RETURN_CODE) enableAudioDecoderLibrary:(VO_OSMP_AUDIO_CODEC_TYPE) type value:(bool) value;
452 
453 
462 - (VO_OSMP_RETURN_CODE) setAudioEffectEndpointType:(VO_OSMP_AUDIO_EFFECT_ENDPOINT_TYPE)type;
463 
472 - (NSString *) sendAudioEffectMessage:(NSString *)msg;
473 
480 - (VO_OSMP_RETURN_CODE) setHDCPPolicy:(VO_OSMP_HDCP_POLICY) policyType;
481 
490 - (VO_OSMP_RETURN_CODE) setURLQueryString:(NSString *)string;
491 
499 - (VO_OSMP_RETURN_CODE) enableAntiMirror:(bool) enable;
500 
508 - (VO_OSMP_RETURN_CODE) enableCardBoardVideo:(bool)enable;
509 
517 - (VO_OSMP_RETURN_CODE) enableSphericalVideo:(bool)enable;
518 
534 - (VO_OSMP_RETURN_CODE) setSphericalVideoView:(float)heading pitch:(float)pitch fov:(float)fov;
535 
536 
544 - (VO_OSMP_RETURN_CODE) setParameter:(int)paramID pObj:(void *)pObj;
545 
546 @end
547 
Definition: VOOSMPVerificationInfo.h:17