MediaCapabilities.decodingInfo() failed on safari while playing DRM protected content using fairplay #3694
Labels
status: archived
Archived and locked; will not be updated
type: question
A question from the community
Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
3.2.0
Please ask your question
I have been trying to play hls content which is DRM protected on safari. I have followed the guide on how to configure fairplay DRM but im still unable to play the content. I enabled the debug version for library. So far these are the logs seen on console:
[Info] Using native ARIAMixin interface. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Log] mathRound.install (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Log] MediaSource.install (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] Patching Safari 13 MSE bugs. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] Using Apple-prefixed EME (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Log] VideoPlayPromise.install (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] Using native VTTCue. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Log] MediaCapabilities: install (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Log] MediaCapabilities: Native mediaCapabilities support found. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Debug] EmeEncryptionSchemePolyfill: Already installed. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Debug] McEncryptionSchemePolyfill: Already installed. (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] Starting attach... (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] Starting load of ---LINK--- ... (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
[Info] MediaCapabilities.decodingInfo() failed. (2) (db7b53cd-5bbeb2013817f7bbf06f.js, line 1)
"{"type":"media-source","video":{"contentType":"video/mp4","width":1,"height":1,"bitrate":100,"framerate":1},"keySystemConfiguration":{"keySystem":"com.apple.fps.1_0","initDataType":"cenc","persistentState":"optional","distinctiveIdentifier":"optional","sessionTypes":["temporary"],"video":{"robustness":""}}}"TypeError: Type error — db7b53cd-5bbeb2013817f7bbf06f.js:1:119173
[Log] The video has now been loaded! (877-b327eeb19b05c9e52e4c.js, line 1)
Browser version: Safari 15.0
Mac OS Big Sur 11.6
The text was updated successfully, but these errors were encountered: