问题
I've successfully registered widevine in my audio player, so I can log in to Spotify Web Player, but I can't play any audio track becuase the appropriate codec is still missing. As I know the web player is using AAC format so somehow I should add AAC support to CEF.
Have you guys got any idea how should I do this?
回答1:
You need a custom build of CEF with proprietary codecs enabled (use proprietary_codecs=true ffmpeg_branding=Chrome
build flags).
You can find instructions for building CEF with codecs enabled here:
Chromium Embedded Framework MP3 support
NOTE: If you want to use the custom build commercially, you need to consider legal issues for codecs.
来源:https://stackoverflow.com/questions/64293697/enable-aac-support-in-chromium-embedded-framework-c