Incorrect variant filtering on codec profile for multi period manifests #2799
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes, related issues:
Re-query MediaKeys to handle codec profile changes: #1567
MIME type checks should ignore case: #1991
What version of Shaka Player are you using?
2.5.13
3.0.x
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?
Custom
If custom app, can you reproduce the issue using our demo app?
I haven't specifically tested here.
What browser and OS are you using?
Chrome / Darwin
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
Happy to attempt to procure this via email if necessary.
What did you do?
Play a multi period DASH manifest with a period containing video codec "avc1.4d401f". On manifest update, a subsequent period contains the same codec but with an uppercase profile "avc1.4D401F".
What did you expect to happen?
Content continues to play as the profiles are the same.
What actually happened?
In Shaka 2.5.13 playback ends and a
4011
error is emitted.In Shaka 3.0.x playback ends and a
4032
error is emitted.The
willSupport
method inDrmEngine
checks against a Set keyed by MIME content type. This comparison should be case insensitive, particularly for codec profiles described in hex which may be either lower or upper case.https://github.com/google/shaka-player/blob/master/lib/media/drm_engine.js#L575
I have created a pull request which normalizes the Set keys and method arguments:
#2800
The text was updated successfully, but these errors were encountered: