Home
last modified time | relevance | path

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

/foundation/multimedia/av_codec/frameworks/native/capi/avdemuxer/
H A Dnative_avdemuxer.cpp287 std::multimap<std::string, std::vector<uint8_t>> drmInfos; in OH_AVDemuxer_GetMediaKeySystemInfo() local
288 int32_t ret = demuxerObj->demuxer_->GetMediaKeySystemInfo(drmInfos); in OH_AVDemuxer_GetMediaKeySystemInfo()
291 CHECK_AND_RETURN_RET_LOG(!drmInfos.empty(), AV_ERR_OK, "DrmInfo is null"); in OH_AVDemuxer_GetMediaKeySystemInfo()
293 ret = NativeDrmTools::ProcessApplicationDrmInfo(mediaKeySystemInfo, drmInfos); in OH_AVDemuxer_GetMediaKeySystemInfo()
/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) = 0;
220 void GetDrmInfos(std::vector<DashDrmInfo>& drmInfos);
228 void GetAdpDrmInfos(std::vector<DashDrmInfo> &drmInfos, DashPeriodInfo *const &periodInfo,
H A Ddash_media_downloader.h63 void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) override;
H A Ddash_mpd_downloader.cpp552 void DashMpdDownloader::GetDrmInfos(std::vector<DashDrmInfo>& drmInfos) in GetDrmInfos() argument
561 GetAdpDrmInfos(drmInfos, periodInfo, periodDrmId); in GetDrmInfos()
565 void DashMpdDownloader::GetAdpDrmInfos(std::vector<DashDrmInfo> &drmInfos, DashPeriodInfo *const &periodInfo, in GetAdpDrmInfos() argument
577 GetDrmInfos(adptSetDrmId, adptSetInfo->commonAttrsAndElements_.contentProtectionList_, drmInfos); in GetAdpDrmInfos()
587 drmInfos); in GetAdpDrmInfos()
594 std::vector<DashDrmInfo> drmInfos; in ProcessDrmInfos() local
595 GetDrmInfos(drmInfos); in ProcessDrmInfos()
598 for (const auto &drmInfo: drmInfos) { in ProcessDrmInfos()
H A Ddash_media_downloader.cpp1002 void DashMediaDownloader::OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) in OnDrmInfoChanged() argument
1005 callback_->OnEvent({PluginEventType::SOURCE_DRM_INFO_UPDATE, {drmInfos}, "drm_info_update"}); in OnDrmInfoChanged()
/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) = 0;
H A Dhls_media_downloader.h82 void OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) override;
H A Dhls_media_downloader.cpp931 void HlsMediaDownloader::OnDrmInfoChanged(const std::multimap<std::string, std::vector<uint8_t>>& drmInfos) in OnDrmInfoChanged() argument
934 callback_->OnEvent({PluginEventType::SOURCE_DRM_INFO_UPDATE, {drmInfos}, "drm_info_update"}); in OnDrmInfoChanged()
/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; in HWTEST_F() local
389 downloader->OnDrmInfoChanged(drmInfos); in HWTEST_F()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp1243 DrmInfoItem *drmInfos = reinterpret_cast<DrmInfoItem*>(const_cast<uint8_t *>(drmInfoAddr)); in SetDrmInfoData() local
1244 CHECK_AND_RETURN_RET_LOG(drmInfos != nullptr, MSERR_INVALID_VAL, "cast drmInfos nullptr"); in SetDrmInfoData()
1246 DrmInfoItem temp = drmInfos[i]; in SetDrmInfoData()
/foundation/multimedia/player_framework/frameworks/native/capi/player/
H A Dnative_avplayer.cpp488 DrmInfoItem *drmInfos = reinterpret_cast<DrmInfoItem*>(drmInfoAddr); in GetDrmSystemInfos() local
489 CHECK_AND_RETURN_RET_LOG(drmInfos != nullptr, AV_ERR_INVALID_VAL, "cast drmInfos nullptr"); in GetDrmSystemInfos()
491 DrmInfoItem temp = drmInfos[i]; in GetDrmSystemInfos()
502 CHECK_AND_RETURN_RET_LOG((err == 0 && ret == 0), AV_ERR_INVALID_VAL, "cast drmInfos nullptr"); in GetDrmSystemInfos()

Completed in 20 milliseconds