drm/aes/aamp_aes.cpp
/**
 * @brief Notify drm error
 *
 * @param[in] drmFailure Drm error type
 */
@brief Notify drm error
@param[in] drmFailure Drm error type
@brief Notify drm error @param [ in ] drmFailure Drm error type
void AesDec::NotifyDRMError(AAMPTuneFailure drmFailure)
{
	mpAamp->DisableDownloads();
	if(AAMP_TUNE_UNTRACKED_DRM_ERROR == drmFailure)
	{
		char description[128] = {};
		sprintf(description, "AAMP: DRM Failure");
		mpAamp->SendErrorEvent(drmFailure, description);
	}
	else
	{
		mpAamp->SendErrorEvent(drmFailure);
	}
	PrivateInstanceAAMP::AddIdleTask(drmSignalError, this);
	logprintf("AesDec::NotifyDRMError: drmState:%d\n", mDrmState );
}
void AesDec :: NotifyDRMError ( AAMPTuneFailure drmFailure ) { mpAamp -> DisableDownloads ( ) ; if ( AAMP_TUNE_UNTRACKED_DRM_ERROR == drmFailure ) { char description [ 128 ] = { } ; sprintf ( description , " " ) ; mpAamp -> SendErrorEvent ( drmFailure , description ) ; } else { mpAamp -> SendErrorEvent ( drmFailure ) ; } PrivateInstanceAAMP :: AddIdleTask ( drmSignalError , this ) ; logprintf ( " \n " , mDrmState ) ; }
@brief Notify drm error
 @param[in] drmFailure Drm error type
@brief Notify drm error @param [ in ] drmFailure Drm error type