mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 19:47:32 +09:00
[EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
This commit is contained in:
parent
d906bfd12d
commit
cdc953632f
1 changed files with 0 additions and 22 deletions
|
|
@ -485,28 +485,6 @@ WidevineDecryptor::OnSessionClosed(const char* aSessionId,
|
||||||
mCallback->SessionClosed(aSessionId, aSessionIdSize);
|
mCallback->SessionClosed(aSessionId, aSessionIdSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
WidevineDecryptor::OnLegacySessionError(const char* aSessionId,
|
|
||||||
uint32_t aSessionIdLength,
|
|
||||||
Error aError,
|
|
||||||
uint32_t aSystemCode,
|
|
||||||
const char* aErrorMessage,
|
|
||||||
uint32_t aErrorMessageLength)
|
|
||||||
{
|
|
||||||
if (!mCallback) {
|
|
||||||
Log("Decryptor::OnLegacySessionError(sid=%s, error=%d) FAIL; !mCallback",
|
|
||||||
aSessionId, (int)aError);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Log("Decryptor::OnLegacySessionError(sid=%s, error=%d)", aSessionId, (int)aError);
|
|
||||||
mCallback->SessionError(aSessionId,
|
|
||||||
aSessionIdLength,
|
|
||||||
ToGMPDOMException(aError),
|
|
||||||
aSystemCode,
|
|
||||||
aErrorMessage,
|
|
||||||
aErrorMessageLength);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
WidevineDecryptor::SendPlatformChallenge(const char* aServiceId,
|
WidevineDecryptor::SendPlatformChallenge(const char* aServiceId,
|
||||||
uint32_t aServiceIdSize,
|
uint32_t aServiceIdSize,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue