Files
bevhatzl 3c5d42e133 fix: Correct device detection for PlayStation 4 Pro to enable 4K resolution (#10269)
## Description
The symptom noticed on Playstation 4 Pro was that all 4K streams were
being dropped even though this device is capable of 4K.

## Explanation of changes
Playstation may have 'Apple Computer, Inc' as the navigator.vendor and
so `isWebkitSTB_` defaults to true.
Even though `isPlayStation_` also evaluates to true, `isWebkitSTB_`
takes over due to import order in `shaka-player.uncompiled.js`
The device name at runtime was: 'WebKit STB'
This specific bug was caused by the call to
`device.detectMaxHardwareResolution` which was using the WebKit STB
implementation which returns 1920*1080 as the max resolution.

There are other device methods that will now use the correct
implementation.
2026-07-12 10:02:54 -07:00
..