Home
last modified time | relevance | path

Searched refs:pssh (Results 1 - 12 of 12) sorted by relevance

/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/capi_demo/
H A Davdemuxer_demo.cpp157 printf("OnDrmInfoChangedInApp print pssh length %d \n", drmInfo->psshInfo[i].dataLen); in OnDrmInfoChangedInApp()
161 unsigned char *pssh = static_cast<unsigned char*>(drmInfo->psshInfo[i].data); in OnDrmInfoChangedInApp() local
163 printf("%x ", pssh[k]); in OnDrmInfoChangedInApp()
184 printf("OnDrmInfoChangedWithObjInApp print pssh length %d \n", drmInfo->psshInfo[i].dataLen); in OnDrmInfoChangedWithObjInApp()
188 unsigned char *pssh = static_cast<unsigned char*>(drmInfo->psshInfo[i].data); in OnDrmInfoChangedWithObjInApp() local
190 printf("%x ", pssh[k]); in OnDrmInfoChangedWithObjInApp()
219 printf("GetMediaKeySystemInfo print pssh length %d \n", mediaKeySystemInfo.psshInfo[i].dataLen); in GetMediaKeySystemInfo()
221 unsigned char *pssh = static_cast<unsigned char*>(mediaKeySystemInfo.psshInfo[i].data); in GetMediaKeySystemInfo() local
222 printf("GetMediaKeySystemInfo print pssh %x \n", pssh[ in GetMediaKeySystemInfo()
[all...]
/foundation/multimedia/av_codec/test/unittest/demuxer_test/capi/
H A Ddemuxer_capi_mock.cpp40 printf("OnMediaKeySystemInfoUpdated print pssh length %d \n", drmInfo->psshInfo[i].dataLen); in OnMediaKeySystemInfoUpdated()
44 unsigned char *pssh = static_cast<unsigned char*>(drmInfo->psshInfo[i].data); in OnMediaKeySystemInfoUpdated() local
46 printf("%x ", pssh[k]); in OnMediaKeySystemInfoUpdated()
68 printf("OnMediaKeySystemInfoUpdatedWithObj print pssh length %d \n", drmInfo->psshInfo[i].dataLen); in OnMediaKeySystemInfoUpdatedWithObj()
72 unsigned char *pssh = static_cast<unsigned char*>(drmInfo->psshInfo[i].data); in OnMediaKeySystemInfoUpdatedWithObj() local
74 printf("%x ", pssh[k]); in OnMediaKeySystemInfoUpdatedWithObj()
/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dm3u8_unit_test.cpp318 std::vector<uint8_t> pssh = {1, 2, 3, 4, 5}; in HWTEST_F() local
319 drmInfo.insert(std::make_pair("uuid1", pssh)); in HWTEST_F()
322 EXPECT_EQ(pssh, m3u8.localDrmInfos_.begin()->second); in HWTEST_F()
325 drmInfo.insert(std::make_pair("uuid1", pssh)); in HWTEST_F()
328 EXPECT_EQ(pssh, m3u8.localDrmInfos_.begin()->second); in HWTEST_F()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dm3u8.cpp329 * @brief Parse the data in the URI and obtain pssh data and uuid from it.
330 * @param drmInfo Map data of uuid and pssh.
337 uint8_t pssh[2048]; // 2048: pssh len in SetDrmInfo() local
338 uint32_t psshSize = 2048; // 2048: pssh len in SetDrmInfo()
350 static_cast<uint32_t>(psshString.length()), pssh, &psshSize); in SetDrmInfo()
355 NZERO_RETURN_V(memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize), false); in SetDrmInfo()
362 drmInfo.insert({ uuidString, std::vector<uint8_t>(pssh, pssh + psshSize) }); in SetDrmInfo()
370 * @brief Store uuid and pssh dat
[all...]
/foundation/multimedia/media_foundation/interface/inner_api/meta/
H A Dmedia_types.h300 uint8_t pssh[META_DRM_MAX_DRM_PSSH_LEN]; member
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp393 napi_set_named_property(mapRef->env_, jsObject, "pssh", jsPssh);
1253 std::vector<uint8_t> pssh(temp.pssh, temp.pssh + temp.psshLen); in SetDrmInfoData()
1254 drmInfoMap.insert({ uuid, pssh }); in SetDrmInfoData()
/foundation/multimedia/player_framework/frameworks/native/capi/player/
H A Dnative_avplayer.cpp493 std::vector<uint8_t> pssh(temp.pssh, temp.pssh + temp.psshLen); in GetDrmSystemInfos()
494 playerObj->localDrmInfos_.insert({ uuid, pssh }); in GetDrmSystemInfos()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_mpd_downloader.cpp608 uint8_t pssh[2048]; // 2048: pssh len in ProcessDrmInfos() local
609 uint32_t psshSize = 2048; // 2048: pssh len in ProcessDrmInfos()
611 static_cast<uint32_t>(psshString.length()), pssh, &psshSize)) { in ProcessDrmInfos()
618 errno_t ret = memcpy_s(uuid, sizeof(uuid), pssh + DRM_UUID_OFFSET, uuidSize); in ProcessDrmInfos()
620 MEDIA_LOG_W("fetch uuid from pssh error, drmId " PUBLIC_LOG_S, drmInfo.drmId_.c_str()); in ProcessDrmInfos()
629 drmInfoMap.insert({uuidString, std::vector<uint8_t>(pssh, pssh + psshSize)}); in ProcessDrmInfos()
632 MEDIA_LOG_W("Base64Decode pssh error, drmId " PUBLIC_LOG_S, drmInfo.drmId_.c_str()); in ProcessDrmInfos()
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Dplayer.h55 uint8_t pssh[DrmConstant::DRM_MAX_M3U8_DRM_PSSH_LEN]; member
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_parser.cpp827 // only support one pssh in ContentProtection in GetContentProtection()
830 std::string pssh(MPD_LABEL_PSSH); in GetContentProtection()
832 std::map<std::string, std::string>::value_type(pssh, psshValue)); in GetContentProtection()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp1079 drmInfo.insert({ uuid, std::vector<uint8_t>(metaDrmInfo[index].pssh, in ParseDrmInfo()
1080 metaDrmInfo[index].pssh + metaDrmInfo[index].psshLen) }); in ParseDrmInfo()
/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Dhiplayer_impl.cpp2343 errno_t ret = memcpy_s(drmInfoArray[i].pssh, sizeof(drmInfoArray[i].pssh), in HandleDrmInfoUpdatedEvent()
2346 MEDIA_LOG_E_SHORT("HandleDrmInfoUpdatedEvent memcpy drm info pssh failed"); in HandleDrmInfoUpdatedEvent()

Completed in 23 milliseconds