Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.12k stars 1.67k forks source link

Invalid state error when updating key session with "com.microsoft.playready.recommendation" #3889

Open dsilhavy opened 2 years ago

dsilhavy commented 2 years ago

Description

Based on the discussion we had here: https://github.com/Dash-Industry-Forum/dash.js/discussions/3869 the plan was to move to com.microsoft.pleayready.recommendation as the default key system string for Playready. While doing some regression tests I ran into situations in which updating the key session resulted in an Invalid state error. This does not happen with com.microsoft.playready.

Investigate what causes these issue, maybe changes to our ProtectionModel are required.

For release 4.3.0 we moved back to com.microsoft.playready as the default system.

dsilhavy commented 2 years ago

See comment here: https://github.com/Dash-Industry-Forum/dash.js/discussions/3869#discussioncomment-2245039

dsilhavy commented 1 month ago

I did a quick check again and still get an error when using com.microsoft.pleayready.recommendation in Version 127.0.2651.98 (Offizielles Build) (64-Bit) of Mircosoft Edge on Windows 10

Failed to execute 'update' on 'MediaKeySession': Update failed (2154840069). The same content,code and workflow works fine with com.microsoft.pleayready

If anyone knows additional steps to take we can make the appropriate changes. Otherwise I will leave com.microsoft.pleayready as the default string for now. Applications can define their own priority list as documented here: https://reference.dashif.org/dash.js/nightly/samples/drm/system-string-priority.html