Home
last modified time | relevance | path

Searched refs:contentProtection (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_parser.cpp789 DashDescriptor *contentProtection = new (std::nothrow) DashDescriptor; in ParseContentProtection() local
790 if (contentProtection == nullptr) { in ParseContentProtection()
797 contentProtectionNode->GetAttr("schemeIdUri", contentProtection->schemeIdUrl_); in ParseContentProtection()
798 contentProtectionNode->GetAttr("value", contentProtection->value_); in ParseContentProtection()
799 contentProtectionNode->GetAttr(MPD_LABEL_DEFAULT_KID, contentProtection->defaultKid_); in ParseContentProtection()
807 GetContentProtection(xmlParser, contentProtection, childElement); in ParseContentProtection()
811 contentProtectionList.push_back(contentProtection); in ParseContentProtection()
815 delete contentProtection; in ParseContentProtection()
819 …etContentProtection(const std::shared_ptr<XmlParser> &xmlParser, DashDescriptor *contentProtection, in GetContentProtection() argument
826 if (elementNameStr == MPD_LABEL_PSSH && contentProtection->elementMap_.size() == 0) { in GetContentProtection()
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/include/mpd_parser/
H A Ddash_mpd_parser.h129 …etContentProtection(const std::shared_ptr<XmlParser> &xmlParser, DashDescriptor *contentProtection,
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_mpd_downloader.cpp645 for (const auto &contentProtection : contentProtections) { in GetDrmInfos() local
646 if (contentProtection == nullptr) { in GetDrmInfos()
650 std::string schemeIdUrl = contentProtection->schemeIdUrl_; in GetDrmInfos()
655 auto elementIt = contentProtection->elementMap_.find(MPD_LABEL_PSSH); in GetDrmInfos()
656 if (elementIt != contentProtection->elementMap_.end()) { in GetDrmInfos()