30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 2020 Google LLC.
|
|
//
|
|
// This software is licensed under the terms defined in the Widevine Master
|
|
// License Agreement. For a copy of this agreement, please contact
|
|
// widevine-licensing@google.com.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#ifndef COMMON_PLAYREADY_SDK_IMPL_H_
|
|
#define COMMON_PLAYREADY_SDK_IMPL_H_
|
|
|
|
#include "common/playready_interface.h"
|
|
#include "protos/public/license_protocol.pb.h"
|
|
|
|
namespace widevine {
|
|
class PlayReadySdkImpl : public PlayReadyInterface {
|
|
public:
|
|
PlayReadySdkImpl() : PlayReadyInterface() {}
|
|
~PlayReadySdkImpl() override {}
|
|
|
|
util::Status SendToPlayReady(const std::string& playready_challenge,
|
|
const std::string& provider,
|
|
const std::string& content_id,
|
|
const std::list<License::KeyContainer>& keys,
|
|
const License::Policy& policy,
|
|
int64_t license_start_time,
|
|
std::string* playready_license) override;
|
|
};
|
|
} // namespace widevine
|
|
#endif // COMMON_PLAYREADY_SDK_IMPL_H_
|