Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requirements for Widevine L1 Windows support #70

Open
avelad opened this issue Apr 23, 2024 · 11 comments
Open

Add requirements for Widevine L1 Windows support #70

avelad opened this issue Apr 23, 2024 · 11 comments

Comments

@avelad
Copy link

avelad commented Apr 23, 2024

Can you add the requirements for Widevine L1 support for Windows?

Thanks!

@StaZhu
Copy link
Owner

StaZhu commented Apr 23, 2024

I don't think it requires anything special, as long as HEVC is supported, then it should be supported:

/** Detect HEVC Widevine L1 support (only Windows is supported). */
try {
  await navigator.requestMediaKeySystemAccess('com.widevine.alpha.experiment', [
    {
      initDataTypes: ['cenc'],
      distinctiveIdentifier: 'required',
      persistentState: 'required',
      sessionTypes: ['temporary'],
      videoCapabilities: [
        {
          robustness: 'HW_SECURE_ALL',
          contentType: 'video/mp4; codecs="hev1.1.6.L120.90"',
        },
      ],
    },
  ]);
  console.log('Widevine L1 HEVC main profile is supported!');
} catch (e) {
  console.log('Widevine L1 HEVC main profile is not supported!');
}

@avelad
Copy link
Author

avelad commented Apr 23, 2024

Windows 10 - Chrome 124

My processor is Intel(R) Core(TM)2 Quad CPU Q8300@ 2.50GHz and my GPU is NVIDIA GeForce 730. Clear HEVC videos play in Chrome without problem.

Shaka probe support

chrome media internals

@StaZhu
Copy link
Owner

StaZhu commented Apr 23, 2024

hmm, I thought both had the same level of support, then it seems that the two support are inconsistent.

From my understanding, MF CDM query support info from media foundation API, while clear HEVC query support info from D3D API, that the main difference, but I have no idea whats detailed requirement for MF CDM API.

@StaZhu
Copy link
Owner

StaZhu commented Apr 24, 2024

Hmm, I am using RTX3070 and Win11, I can reproduce this "No Capablitiy" issue, it seems only Chrome/Edge 124 has such issue, when you are using Chrome/Edge 125+, its coming back, do you mind submit a issue ticket to https://issues.chromium.org ?

@avelad
Copy link
Author

avelad commented Apr 24, 2024

I have the same problem with Chrome Beta. I would like to report the problem, but I don't know how to report it... What data is necessary?

@StaZhu
Copy link
Owner

StaZhu commented Apr 24, 2024

My understanding is that your screenshot is enough. when you finish submit the issue, please attach the crbug link here.

@avelad
Copy link
Author

avelad commented Apr 24, 2024

Done: https://issues.chromium.org/issues/336648774 ! Thanks!

@StaZhu
Copy link
Owner

StaZhu commented Apr 28, 2024

Can you try to upgrade to Chrome 124.0.6367.92? It seems the issue has been fixed.

@avelad
Copy link
Author

avelad commented Apr 29, 2024

Same result

@avelad
Copy link
Author

avelad commented Apr 29, 2024

@xhwang-chromium can you help us with this? Thanks!

@xhwang-chromium
Copy link

Thanks for reporting. Let's continue the discussion in the chromium bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants