issue with webview and widevine

65 views
Skip to first unread message

ye yuan

unread,
Jan 10, 2025, 12:14:49 PMJan 10
to android-webview-dev

Hi,
when i access to music.apple.com,
and i also can not play music using the webview I compiled with this args:

target_os = "android"
    target_cpu = "arm64"       # or "arm", "x86", or "x64"; see below
    # Create an official release build. Only official builds should be distributed
    # to users, as non-official builds are intended for development and may not
    # be configured appropriately for production.
    is_debug = false
    is_official_build = true
    # Use the default production settings for field trials, instead of the testing
    # defaults.
    disable_fieldtrial_testing_config = true
    # WebView's efficient native library loading mechanism is not compatible with
    # component builds of Chromium.
    is_component_build = false
   # Disable Google-specific branding/features
    is_chrome_branded = false
    use_official_google_api_keys = false
    # May disable some experimental (unstable) features. Hides WebView DevTools
    # (a debugging tool most users won't need to access).
    android_channel = "stable"
    chrome_pgo_phase = 0

I noticed this config bundle_widevine_cdm which is impacted by is_chrome_branded, does it matter?
please tell me how i can modify the args to support "play music in music.apple.com", thanks 

Nate Fischer

unread,
Jan 10, 2025, 5:19:17 PMJan 10
to ye yuan, android-webview-dev
This seems like working as intended.
This is surprising—I would have guessed that the public archive should mostly behave the same as the first APK you linked, assuming they are the same version. Both of these are compiled from the same open source code and should be compiled with similar (although maybe not identical) build arguments. Can you tell us specifically which version you used? Be aware that some of those APKs are many years out of date. I want to rule that out first.

Do you know which audio format the music.apple.com site uses?

Nate Fischer | Software Engineer | ntf...@google.com



--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/cb4fc26f-8d10-436d-91df-38b363adcd1bn%40chromium.org.

ye yuan

unread,
Jan 23, 2025, 12:23:21 PMJan 23
to android-webview-dev, ntf...@google.com, android-webview-dev, ye yuan
ffmpeg_branding = "Chrome"
proprietary_codecs = true

I added this two options when i compiled, and then it works。thanks

Reply all
Reply to author
Forward
0 new messages