Disable WidevineCDM download
2 unresolved threads
2 unresolved threads
By default CEF dynamically downloads and updates the Widevine DRM library from a Google CDN. We generally do not want external http requests, so this MR disables the update process.
Merge request reports
Activity
55 56 (*a).render_process_handler.as_ptr() 56 57 } 57 58 59 unsafe extern "C" fn on_before_command_line_processing( 60 _self: *mut chromium::cef::_cef_app_t, 61 _process_type: *const chromium::cef::cef_string_t, 62 command_line: *mut chromium::cef::_cef_command_line_t, 63 ) { 64 let disable_component_update = cef_string("disable-component-update"); 328 328 unsafe { cef::cef_string_userfree_utf16_free(url) }; 329 329 cstr 330 330 } 331 332 #[jni_wrapper("org.eclipse.set.browser.lib.cef_command_line_t")] 333 pub fn cefswt_disable_component_update(command_line: *mut chromium::cef::_cef_command_line_t) { 334 let switch = chromium::utils::cef_string("disable-component-update"); assigned to @npeters08v
Please register or sign in to reply