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

video.js based encrypted videos not playing in jcef browser. #479

Open
aakash52-commit opened this issue Jul 29, 2024 · 0 comments
Open
Labels
bug Bug report

Comments

@aakash52-commit
Copy link

Describe the bug
The videos that are encrypted using video.js library or netflix are not playing in JCEF Browser with 4032 undefined error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.netflix.com or any video that is encrypted using video.js
  2. Click on any video.
  3. Scroll down to the video
  4. See error that is to please visit chrome://settings/content/protectedContent and make sure "Sites can play protected content" in netflix and VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) 4032 - undefined in case of video.js protected video.

Expected behavior
I expect the encrypted videos to play properly as the videos play in the google chrome browser. Widevine is not properly integrated. I need to get clarity how to integrate widevine with the jcef browser so that encrypted videos like netflix or video.js videos play without any interruption.

Screenshots
image.

Versions (please complete the following information):

  • OS: Windows 10
  • Java Version: Open JDK 14
  • JCEF Version: 0b8e42e
  • CEF Version: 122.1.10

Additional context
Does the problem reproduce with the JCEF simple or detailed sample application at the same version?

Does the problem reproduce with the CEF cefclient or cefsimple sample application at the same version?

Does the problem reproduce with Google Chrome at the same version? No the encrypted videos are playing fine in the google chrome.

Add any other context about the problem here. Coming to the problem, I am thinking that this is occurring due to the failure of widevine integration with my jcef browser. When I check chrome://media-internals in jcef browser and google chrome browser, in google chrome browser, the codecs capabilities are Capabilities: {"Audio Codecs":["aac","vorbis","flac","opus"],"Encryption Schemes":["CENC","CBCS"],"Session Types":["temporary","persistent-license"],"Video Codecs":{"av1":[],"h264":[],"vp8":[],"vp9":[]}}.

Where as in jcef browser, the codecs capabilities are Capabilities: {"Audio Codecs":["vorbis","flac","opus"],"Encryption Schemes":["CENC","CBCS"],"Session Types":["temporary","persistent-license"],"Video Codecs":{"av1":[],"vp8":[],"vp9":[]}}. There are one audio codec "aac" and one video codec "h264" missing. I think I need to add widevine somehow. Please explain how to proceed?

@aakash52-commit aakash52-commit added the bug Bug report label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant