Shaka Player Embedded
Main Page
Exported Types
+
Tutorials
Basic Tutorial
Network Filters
Internal Docs
+
Internal Class List
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
a
b
d
e
f
h
i
l
m
r
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
k
n
p
t
v
+
Properties
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
+
Related Functions
:
a
c
d
g
j
m
o
p
r
s
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shaka
src
js
eme
media_key_system_access.h
Go to the documentation of this file.
1
// Copyright 2017 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef SHAKA_EMBEDDED_JS_EME_MEDIA_KEY_SYSTEM_ACCESS_H_
16
#define SHAKA_EMBEDDED_JS_EME_MEDIA_KEY_SYSTEM_ACCESS_H_
17
18
#include <memory>
19
#include <string>
20
21
#include "
shaka/eme/implementation_factory.h
"
22
#include "
src/js/eme/media_key_system_configuration.h
"
23
#include "
src/mapping/backing_object.h
"
24
#include "
src/mapping/backing_object_factory.h
"
25
#include "
src/mapping/promise.h
"
26
27
namespace
shaka
{
28
namespace
js {
29
namespace
eme {
30
31
class
MediaKeySystemAccess
:
public
BackingObject
{
32
DECLARE_TYPE_INFO(
MediaKeySystemAccess
);
33
34
public
:
35
MediaKeySystemAccess
(
const
std::string&
key_system
,
36
MediaKeySystemConfiguration
config,
37
std::shared_ptr<ImplementationFactory>
factory
);
38
39
MediaKeySystemConfiguration
GetConfiguration
()
const
;
40
Promise
CreateMediaKeys
();
41
42
const
std::string
key_system
;
43
44
private
:
45
const
MediaKeySystemConfiguration
config_;
46
std::shared_ptr<ImplementationFactory>
const
factory_;
47
};
48
49
class
MediaKeySystemAccessFactory
50
:
public
BackingObjectFactory
<MediaKeySystemAccess> {
51
public
:
52
MediaKeySystemAccessFactory
();
53
};
54
55
}
// namespace eme
56
}
// namespace js
57
}
// namespace shaka
58
59
#endif // SHAKA_EMBEDDED_JS_EME_MEDIA_KEY_SYSTEM_ACCESS_H_
shaka::BackingObject::factory
virtual BackingObjectFactoryBase * factory() const =0
shaka::js::eme::MediaKeySystemAccess
Definition:
media_key_system_access.h:31
shaka::js::eme::MediaKeySystemAccess::CreateMediaKeys
Promise CreateMediaKeys()
Definition:
media_key_system_access.cc:39
shaka::js::eme::MediaKeySystemAccess::key_system
const std::string key_system
Definition:
media_key_system_access.h:42
shaka::BackingObjectFactory
Definition:
backing_object_factory.h:406
shaka
Definition:
async_results.h:25
backing_object.h
backing_object_factory.h
promise.h
shaka::js::eme::MediaKeySystemAccess::GetConfiguration
MediaKeySystemConfiguration GetConfiguration() const
Definition:
media_key_system_access.cc:35
shaka::BackingObject
Definition:
backing_object.h:56
media_key_system_configuration.h
shaka::js::eme::MediaKeySystemAccess::MediaKeySystemAccess
MediaKeySystemAccess(const std::string &key_system, MediaKeySystemConfiguration config, std::shared_ptr< ImplementationFactory > factory)
Definition:
media_key_system_access.cc:26
shaka::js::eme::MediaKeySystemConfiguration
Definition:
media_key_system_configuration.h:40
shaka::Promise
Definition:
promise.h:37
shaka::js::eme::MediaKeySystemAccessFactory
Definition:
media_key_system_access.h:49
implementation_factory.h
Generated by
1.8.13