Wasabi ExpressPlay SDK for Embedded Systems
1.10
Main Page
Modules
Data Structures
Files
File List
Globals
Client
Source
Interface
Extended
WsbPlaybackEnabler.h
Go to the documentation of this file.
1
/*****************************************************************
2
|
3
| Wasabi - Playback Enabler API
4
|
5
| $Id: WsbPlaybackEnabler.h 10793 2014-06-25 12:46:08Z jebaseelir $
6
| Original author: Julien Boeuf
7
|
8
| This software is provided to you pursuant to your agreement
9
| with Intertrust Technologies Corporation ("Intertrust").
10
| This software may be used only in accordance with the terms
11
| of the agreement.
12
|
13
| Copyright (c) 2010-2014 by Intertrust. All rights reserved.
14
|
15
****************************************************************/
21
#ifndef _WSB_PLAYBACK_ENABLER_H_
22
#define _WSB_PLAYBACK_ENABLER_H_
23
24
/*----------------------------------------------------------------------
25
| includes
26
+---------------------------------------------------------------------*/
27
#include "
WsbTypes.h
"
28
#include "Sushi.h"
29
#include "
WsbRightsEnabler.h
"
30
#include "
WsbMediaFile.h
"
31
#include "
WsbKeyManager.h
"
32
33
/*----------------------------------------------------------------------
34
| prototypes
35
+---------------------------------------------------------------------*/
42
typedef
struct
WSB_PlaybackEnabler
WSB_PlaybackEnabler
;
43
44
#if defined(__cplusplus)
45
extern
"C"
{
46
#endif
47
65
WSB_EXPORT
WSB_Result
66
WSB_PlaybackEnabler_Create
(
WSB_RightsEnabler_EventListener
listener,
67
WSB_PlaybackEnabler
** enabler);
68
77
WSB_EXPORT
WSB_Result
78
WSB_PlaybackEnabler_SetRightsEnablerOptions
(
WSB_PlaybackEnabler
*
self
,
79
WSB_UInt32
option_flags);
80
101
WSB_EXPORT
WSB_Result
102
WSB_PlaybackEnabler_ResolveUrl
(
WSB_PlaybackEnabler
*
self
,
103
const
char
* url,
104
SHI_Data
** content_url);
105
130
WSB_EXPORT
WSB_Result
131
WSB_PlaybackEnabler_EnableMediaFile
(
WSB_PlaybackEnabler
*
self
,
132
WSB_MediaFile
* file,
133
const
void
* license_data,
134
WSB_Size
license_data_size);
135
158
WSB_EXPORT
WSB_Result
159
WSB_PlaybackEnabler_EnableContentId
(
WSB_PlaybackEnabler
*
self
,
160
const
char
* content_id,
161
const
char
* sla_url,
162
const
void
* license_data,
163
WSB_Size
license_data_size);
164
188
WSB_EXPORT
WSB_Result
189
WSB_PlaybackEnabler_PerformPlayAction
(
WSB_PlaybackEnabler
*
self
,
190
SHI_ActionResult
** action_result);
191
218
WSB_EXPORT
WSB_Result
219
WSB_PlaybackEnabler_AcceptActionResult
(
WSB_PlaybackEnabler
*
self
,
220
WSB_KeyManager
* key_manager,
221
SHI_Action
** action);
222
230
WSB_EXPORT
WSB_Result
231
WSB_PlaybackEnabler_Destroy
(
WSB_PlaybackEnabler
*
self
);
232
235
#if defined(__cplusplus)
236
}
237
#endif
238
239
#endif
/* _WSB_PLAYBACK_ENABLER_H_ */
240