mirror of
https://github.com/openharmony/multimedia_drm_framework.git
synced 2026-08-27 21:49:56 -04:00
update frameworks/js/drm_napi/key_session_callback_napi.cpp.
Signed-off-by: baoxy92 <baoxianyue@hisilicon.com>
This commit is contained in:
@@ -25,7 +25,8 @@ MediaKeySessionCallbackNapi::MediaKeySessionCallbackNapi(napi_env env)
|
||||
|
||||
MediaKeySessionCallbackNapi::~MediaKeySessionCallbackNapi() {}
|
||||
|
||||
void MediaKeySessionCallbackNapi::SetCallbackReference(const std::string eventType, std::shared_ptr<AutoRef> callbackPair)
|
||||
void MediaKeySessionCallbackNapi::SetCallbackReference(const std::string eventType,
|
||||
std::shared_ptr<AutoRef> callbackPair)
|
||||
{
|
||||
DRM_INFO_LOG("MediaKeySessionCallbackNapi SetCallbackReference");
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
|
||||
Reference in New Issue
Block a user