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

DRM issue with video_player_avplay 0.5.6 #783

Open
Nygashi opened this issue Dec 19, 2024 · 2 comments
Open

DRM issue with video_player_avplay 0.5.6 #783

Nygashi opened this issue Dec 19, 2024 · 2 comments

Comments

@Nygashi
Copy link

Nygashi commented Dec 19, 2024

Hi Flutter-Tizen team!

I’m using the 'video_player_avplay: 0.5.6' plugin to play video streams in my Samsung Tizen app.
But, when I try to play Widevine or PlayReady DRM protected content on a Samsung QE32Q50AAU (2021) with Tizen 6.0, this fails with the following error:


Error: Not supported media format
PlatformException([PlusPlayer] error, Error: Not supported media format, null, null)

When I try to play the exact same stream with Widevine DRM protection on a Samsung QLED 55Q64B (2022), this works fine.

What I tested and tried so far:

  • Playing a stream with Widevine DRM protection works fine on the 55Q64B
  • Playing a stream without DRM protection works fine on the QE32Q50AAU
  • I tried using Widevine AND PlayReady, but both fail with the same error message that was stated earlier on the QE32Q50AAU
  • I made sure that I’m using a partner signed distribution certificate for both TV's, so that DRM is supported when running the app.
  • I'm using the 'licenseCallback' from the 'VideoPlayerController.network', so that I can send the challenge to my license acquisition endpoint.
  • I added the required permissions to the tizen-manifest.xml:
   <privileges>
        <privilege>http://tizen.org/privilege/mediastorage</privilege>
        <privilege>http://tizen.org/privilege/externalstorage</privilege>
        <privilege>http://tizen.org/privilege/internet</privilege>
        <privilege>http://developer.samsung.com/privilege/drmplay</privilege>
    </privileges>

Questions I have:

  • What is it that I’m doing wrong?
  • Is there an overview of what DRM types should be supported by those TV models? As I found that both models should be able to handle 'Widevine DRM', which has my preference.
  • Is this a known issue?

Any help would be greatly appreciated, as I would really like to support all Samsung Tizen TV models with Tizen 6.0+. This issue is currently blocking me to go live.

Thanks in advance!

@Nygashi Nygashi changed the title Samsung Tizen - DRM with video_player_avplay 0.5.6 DRM issue with video_player_avplay 0.5.6 Dec 19, 2024
@JSUYA
Copy link
Member

JSUYA commented Dec 20, 2024

Hi, Thank you for your interest.

This issue may really be a video format issue, but there is one part where the issue is expected.

What is the api-version written in the app's tizen/tizen-manifest.xml?
video_player_avplay requires the api-version and the tizen version of the TV to be the same.
So if the 2022 TV is Tizen 6.5, you should write the api-version as 6.5 and build it,
and if the 2021 TV is Tizen 6.0, you should write the api-version as 6.0.

https://github.com/flutter-tizen/plugins/tree/master/packages/video_player_avplay

Note that video_player_avplay uses a compiled dynamic library, the api-version is your TV version, change it in tizen-manifest.xml:

We recently updated the package to 0.5.7. I recommend testing on the latest version.

@Nygashi
Copy link
Author

Nygashi commented Dec 20, 2024

Thanks for your reply! I will try with the above recommendations.

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

2 participants