shaka-player: FairPlay playback broken in 3.2

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? 3.2

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master? Yes

Are you using the demo app or your own custom app? Both

If custom app, can you reproduce the issue using our demo app? Yes

What browser and OS are you using? Safari 14.1.1 macOS 11.4

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

U’ll send by email

What configuration are you using? What is the output of player.getConfiguration()?

What did you do?

Load a FairPlay stream

What did you expect to happen? The stream load without problem

What actually happened?

Error 6010 is always thrown

I see some problems:

  1. https://github.com/google/shaka-player/blob/master/lib/player.js#L2006 should wants instead of has (I’ll a send a PR for it)
  2. Now due to the use of mediacapabilities, the information is always consulted through mediacapabilties, but this is thinking for MSE, not for SRC =. So here (https://github.com/google/shaka-player/blob/291c93e5fd8a08f69294e533392fa86da249ff5f/lib/media/drm_engine.js#L353) when consulting the FairPlay information it always returns an error.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 7
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I’m facing the same error, I made 2 codepens: Working with 3.1.2: https://codepen.io/benny739/pen/rNmRqLK

Broken with 3.2.0: https://codepen.io/benny739/pen/XWRGxzy Error Code: 6010

Also in safari 15 technology preview neither 3.1.2 nor 3.2.0 are working with Fairplay. I’m not sure if fairplay is simply not supported in the tp, as it is in the iOS simulator or if there is a problem with Safari 15.