I don't know nothing about that cadmium so any can help me for that to get Dolby Atmos in spatial audio?
I just tried this file and it is not working for me. In the console I am getting an error that says "
[Warning] AES-CBC and AES-CTR do not provide authentication by default, and implementing it manually can result in minor, but serious mistakes. We recommended using authenticated encryption like AES-GCM to protect against chosen-ciphertext attacks. (cadmium-playercore-6.0040.377.911.js, line 1)"
Does anyone how to move forward from this?
For anyone looking to do this in 2023, I have just the thing. I had to re-do the patches on a newer version of the player and use a different method to avoid crashes, but it is functional now.
Atmos is still seemingly unavailable and crashes the Cadmium player if forced.
I did not figure out how to enable it, however Multichannel is good enough for me and that works via
my gist of the updated player.
If anyone wants to look into it more, I am certain that roughly 2 people that care about Netflix and Spatial Audio will greatly appreciate it.
Usage
- Enable Safari's Developer Tools
- Navigate to Netflix, start playing some content, then pause it
- Press `Command+Option+I`
- Go into the Network tab
- In the little search bar, type cadmium-playercore, it should show you one request
- Right-click the request, select Create Response Local Override. You will be taken to the Sources tab.
- In the top right, click Map to File and select the modified cadmium that you downloaded earlier
- Reload the page.
Features
- Enabled 5.1 audio support, in my testing merely adding it to the list was enough for it to auto-select it
- Re-enabled Netflix' bitrate override menu (Control+Option+Shift+B)
- Enabled audio track visibility in the player to have the ability of toggling between 5.1 and 2.0 easily
Development
The file is "prettified" using `Prettier - Code formatter`.
All of my modifications are marked by a comment like so:
JavaScript:
// DOLBY-MOD: This is overridden to do something
If you want to investigate further, use console.log() to peek into the minified variables, and use search to find my existing modifications by the string "DOLBY-MOD"