mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-20 16:57:25 +03:00
6f84e411ed
For some reason on PS4, the check `val.buffer.constructor == ArrayBuffer` returns `false` when it should be `true` which causes the object cloning to return `null` instead of the array buffer. Modifying this to `val.buffer instanceof ArrayBuffer` now returns true which fixes the issue. This should work across devices. Original author: @nick-michael Co-authored-by: Nick Michael <nick-michael@users.noreply.github.com>