Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
shaka::media::KeyFetcher Class Referenceabstract

Base class for fetching keys from the license service. More...

#include <key_fetcher.h>

Inheritance diagram for shaka::media::KeyFetcher:
shaka::media::HttpKeyFetcher

Public Member Functions

virtual Status FetchKeys (const std::string &service_address, const std::string &request, std::string *response)=0
 

Detailed Description

Base class for fetching keys from the license service.

Definition at line 17 of file key_fetcher.h.

Member Function Documentation

virtual Status shaka::media::KeyFetcher::FetchKeys ( const std::string &  service_address,
const std::string &  request,
std::string *  response 
)
pure virtual

Fetch Keys from license service. |response| is owned by caller.

Parameters
service_addresslicense service address.
requestJSON formatted request.
responseJSON formatted response. Owned by caller.
Returns
OK on success.

Implemented in shaka::media::HttpKeyFetcher.


The documentation for this class was generated from the following files: