Builds libwvmdrmengine.so, which is loaded by the new MediaDrm APIs to support playback of Widevine/CENC protected content. Change-Id: I6f57dd37083dfd96c402cb9dd137c7d74edc8f1c
31 lines
662 B
C++
31 lines
662 B
C++
//
|
|
// Copyright 2013 Google Inc. All Rights Reserved.
|
|
//
|
|
|
|
#ifndef WV_DRM_FACTORY_H_
|
|
#define WV_DRM_FACTORY_H_
|
|
|
|
#include "media/drm/DrmAPI.h"
|
|
#include "media/stagefright/foundation/ABase.h"
|
|
#include "utils/Errors.h"
|
|
|
|
namespace wvdrm {
|
|
|
|
class WVDrmFactory : public android::DrmFactory {
|
|
public:
|
|
WVDrmFactory() {};
|
|
virtual ~WVDrmFactory() {};
|
|
|
|
virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]);
|
|
|
|
virtual android::status_t createDrmPlugin(const uint8_t uuid[16],
|
|
android::DrmPlugin** plugin);
|
|
|
|
private:
|
|
DISALLOW_EVIL_CONSTRUCTORS(WVDrmFactory);
|
|
};
|
|
|
|
} // namespace wvdrm
|
|
|
|
#endif // WV_DRM_FACTORY_H_
|