Skip to content

Commit

Permalink
[Android] Enable multiple sessions for Widevine
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman committed Jul 29, 2021
1 parent d849bd4 commit 8a58fc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wvdecrypter/wvdecrypter_android_jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ std::vector<char> WV_CencSingleSampleDecrypter::GetChallengeData()

bool WV_CencSingleSampleDecrypter::HasLicenseKey(const uint8_t *keyid)
{
// We work with one session for all streams.
// All license keys must be given in this key request
return true;
// true = one session for all streams, false = one sessions per stream
// false fixes pixaltion issues on some devices when manifest has multiple encrypted streams
return false;
}

void WV_CencSingleSampleDecrypter::GetCapabilities(const uint8_t *keyid, uint32_t media, SSD_DECRYPTER::SSD_CAPS &caps)
Expand Down

0 comments on commit 8a58fc1

Please sign in to comment.