I used different command line arguments:
- Code: Select all
settings.CefCommandLineArgs.Add("persist_session_cookies", "1");
settings.CefCommandLineArgs.Add("enable-automatic-password-saving", "enable-automatic-password-saving");
settings.CefCommandLineArgs.Add("enable-password-save-in-page-navigation", "enable-password-save-in-page-navigation");
settings.CefCommandLineArgs.Add("cache-path", @"D:\Chrome\1");
settings.CefCommandLineArgs.Add("enable-widevine-cdm", "1");
settings.CefCommandLineArgs.Add("ppapi-flash-path", Path.Combine(Environment.CurrentDirectory, @"pepflashplayer64_29_0_0_113.dll"));
settings.CefCommandLineArgs.Add("enable-npapi", "1");
settings.CefCommandLineArgs.Add("allow-running-insecure-content", "1");
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
And succesfully registred WidevineCDM additionaly:
- Code: Select all
Cef.RegisterWidevineCdm(Path.Combine(Environment.CurrentDirectory, @"widevinecdm"));
Ineffectually.
Then i downloaded a sample application from official Spotify page: http://opensource.spotify.com/cefbuilds/index.html (cef_binary_3.3325.1758.g9aea513_windows32_client.tar.bz2 - test program), and run it:
cefclient.exe --proxy-server=144.76.62.29:3128 --cache-path=D:\Chrome\4 --enable-widevine-cdm
The result is the same.
Spotify local client is based on CEF, therefore it must work. But how?