shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Crashes when releasing a persistent license #240

Open nakamura-work opened 1 year ago

nakamura-work commented 1 year ago

Overview

Releasing a persistent license causes a crash due to an assertion inside the widevine cdm plugin.

Build environment

Execution environment

iPhone 13 mini (iOS 15.5)

Steps to reproduce

  1. build "ShakaPlayerEmbedded"
  2. place both of .framework on //sample_xcode_project
  3. add widevine_cdm_secured_ios.framework to project
  4. apply the attached patches
  5. run the app
  6. long press "shaka-proxy / angel-one" and select "Download"
  7. wait for download completion
  8. long press "shaka-proxy / angel-one" and select "Remove"

As a result, the app crashes with a failed assertion as follows:

Assertion failed: (got_server_certificate_), function Update, file /<cdm_dir>/shaka_plugin/widevine_implementation.cc, line 357.

Supplements

crash-on-remove-license.txt