Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dmedia_key_system_napi.cpp227 int32_t jsContentProtectionLevel = DRM_ERROR; in IsMediaKeySystemSupported() local
228 if (napi_get_value_int32(env, argv[PARAM2], &jsContentProtectionLevel) != napi_ok) { in IsMediaKeySystemSupported()
234 (IMediaKeySessionService::ContentProtectionLevel)jsContentProtectionLevel; in IsMediaKeySystemSupported()
341 int32_t jsContentProtectionLevel = 0; in CreateMediaKeySession() local
349 status = napi_get_value_int32(env, argv[PARAM0], &jsContentProtectionLevel); in CreateMediaKeySession()
356 static_cast<IMediaKeySessionService::ContentProtectionLevel>(jsContentProtectionLevel); in CreateMediaKeySession()