Home
last modified time | relevance | path

Searched refs:drmInfos (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avdemuxer/
H A Dnative_avdemuxer.cpp285 std::multimap<std::string, std::vector<uint8_t>> drmInfos; in OH_AVDemuxer_GetMediaKeySystemInfo() local
286 int32_t ret = demuxerObj->demuxer_->GetMediaKeySystemInfo(drmInfos); in OH_AVDemuxer_GetMediaKeySystemInfo()
289 CHECK_AND_RETURN_RET_LOG(!drmInfos.empty(), AV_ERR_OK, "DrmInfo is null"); in OH_AVDemuxer_GetMediaKeySystemInfo()
291 ret = NativeDrmTools::ProcessApplicationDrmInfo(mediaKeySystemInfo, drmInfos); in OH_AVDemuxer_GetMediaKeySystemInfo()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_mpd_downloader.h109 …virtual void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) = …
219 void GetDrmInfos(std::vector<DashDrmInfo>& drmInfos);
227 void GetAdpDrmInfos(std::vector<DashDrmInfo> &drmInfos, DashPeriodInfo *const &periodInfo,
H A Ddash_mpd_downloader.cpp553 void DashMpdDownloader::GetDrmInfos(std::vector<DashDrmInfo>& drmInfos) in GetDrmInfos() argument
562 GetAdpDrmInfos(drmInfos, periodInfo, periodDrmId); in GetDrmInfos()
566 void DashMpdDownloader::GetAdpDrmInfos(std::vector<DashDrmInfo> &drmInfos, DashPeriodInfo *const &p… in GetAdpDrmInfos() argument
578 … GetDrmInfos(adptSetDrmId, adptSetInfo->commonAttrsAndElements_.contentProtectionList_, drmInfos); in GetAdpDrmInfos()
588 drmInfos); in GetAdpDrmInfos()
595 std::vector<DashDrmInfo> drmInfos; in ProcessDrmInfos() local
596 GetDrmInfos(drmInfos); in ProcessDrmInfos()
599 for (const auto &drmInfo: drmInfos) { in ProcessDrmInfos()
H A Ddash_media_downloader.h63 … void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) override;
H A Ddash_media_downloader.cpp1048 …MediaDownloader::OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) in OnDrmInfoChanged() argument
1051 … callback_->OnEvent({PluginEventType::SOURCE_DRM_INFO_UPDATE, {drmInfos}, "drm_info_update"}); in OnDrmInfoChanged()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dplaylist_downloader.h37 …virtual void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) = …
H A Dhls_media_downloader.h81 … void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) override;
H A Dhls_media_downloader.cpp964 …MediaDownloader::OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) in OnDrmInfoChanged() argument
967 … callback_->OnEvent({PluginEventType::SOURCE_DRM_INFO_UPDATE, {drmInfos}, "drm_info_update"}); in OnDrmInfoChanged()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dhls_media_downloader_unit_test.cpp388 std::multimap<std::string, std::vector<uint8_t>> drmInfos; variable
389 downloader->OnDrmInfoChanged(drmInfos);
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/capi/player/
H A Dnative_avplayer.cpp434 DrmInfoItem *drmInfos = reinterpret_cast<DrmInfoItem*>(drmInfoAddr); in GetDrmSystemInfos() local
435 CHECK_AND_RETURN_RET_LOG(drmInfos != nullptr, AV_ERR_INVALID_VAL, "cast drmInfos nullptr"); in GetDrmSystemInfos()
437 DrmInfoItem temp = drmInfos[i]; in GetDrmSystemInfos()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp1187 DrmInfoItem *drmInfos = reinterpret_cast<DrmInfoItem*>(const_cast<uint8_t *>(drmInfoAddr)); in SetDrmInfoData() local
1188 CHECK_AND_RETURN_RET_LOG(drmInfos != nullptr, MSERR_INVALID_VAL, "cast drmInfos nullptr"); in SetDrmInfoData()
1190 DrmInfoItem temp = drmInfos[i]; in SetDrmInfoData()