DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
base
key_fetcher.h
1
// Copyright 2014 Google Inc. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#ifndef MEDIA_BASE_KEY_FETCHER_H_
8
#define MEDIA_BASE_KEY_FETCHER_H_
9
10
#include "base/macros.h"
11
#include "packager/media/base/status.h"
12
13
namespace
shaka {
14
namespace
media {
15
17
class
KeyFetcher
{
18
public
:
19
KeyFetcher
();
20
virtual
~
KeyFetcher
();
21
28
virtual
Status
FetchKeys
(
const
std::string& service_address,
29
const
std::string& request,
30
std::string* response) = 0;
31
32
private
:
33
DISALLOW_COPY_AND_ASSIGN(
KeyFetcher
);
34
};
35
36
}
// namespace media
37
}
// namespace shaka
38
39
#endif // MEDIA_BASE_KEY_FETCHER_H_
40
shaka::media::KeyFetcher::FetchKeys
virtual Status FetchKeys(const std::string &service_address, const std::string &request, std::string *response)=0
shaka::media::KeyFetcher
Base class for fetching keys from the license service.
Definition:
key_fetcher.h:17
shaka::media::Status
Definition:
status.h:85
Generated on Wed Feb 22 2017 19:43:59 for DASH Media Packaging SDK by
1.8.6