2013-11-18 23:39:20 +00:00
|
|
|
// ContentProtectionElement is shared a structure that can be passed to
|
|
|
|
// MPD generator classes to add ContentProtection element in the resulting MPD
|
|
|
|
// file.
|
|
|
|
// http://goo.gl/UrsSlF
|
|
|
|
|
|
|
|
#ifndef MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
|
|
|
|
#define MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace dash_packager {
|
|
|
|
|
|
|
|
struct ContentProtectionElement {
|
2014-01-16 08:12:14 +00:00
|
|
|
ContentProtectionElement();
|
|
|
|
~ContentProtectionElement();
|
|
|
|
|
2013-11-18 23:39:20 +00:00
|
|
|
std::string value; // Will be set for 'value' attribute.
|
|
|
|
std::string scheme_id_uri; // Will be set for 'schemeIdUri' attribute.
|
|
|
|
|
|
|
|
// Other attributes for this element.
|
|
|
|
std::map<std::string, std::string> additional_attributes;
|
|
|
|
|
|
|
|
// The elements that will be in this element.
|
|
|
|
std::string subelements;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dash_packager
|
|
|
|
|
|
|
|
#endif // MPD_BASE_CONTENT_PROTECTION_ELEMENT_H_
|