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

[FEATURE] Offline Playback for DRM Content #1295

Open
muhammedkamal opened this issue Mar 4, 2024 · 0 comments
Open

[FEATURE] Offline Playback for DRM Content #1295

muhammedkamal opened this issue Mar 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request new issue New issue which has not been checked yet

Comments

@muhammedkamal
Copy link

Is your feature request related to a problem? Please describe.
Currently, the Better Player plugin for Flutter does not provide support for offline configuration of DRM settings. This limitation hinders the ability to initiate offline playback of DRM-protected content.

Describe the solution you'd like
I am requesting the inclusion of a feature that allows Better Player to support offline configuration of DRM settings. This initial step would enable developers to set up DRM configurations offline, even if the complete offline playback feature is not yet implemented. This would be a valuable building block for future enhancements.

Proposed Offline DRM Configuration:
To support offline configuration, developers should be able to set up DRM-related parameters locally. This may include:

  • DRM type (e.g., Widevine, FairPlay).
  • License file or other necessary data for offline use.
  • DRM-specific data, such as token or authentication information.
  • Any additional settings relevant to the chosen DRM system.

Example Usage:

BetterPlayerController(
  betterPlayerConfiguration: BetterPlayerConfiguration(
    // Other configuration options...
    drmConfiguration: BetterPlayerDrmConfiguration(
      drmType: BetterPlayerDrmType.widevine,
      licenseFile: "assets/widevine-license-file",
      // Other DRM parameters for offline setup...
    ),
  ),
  // Other controller settings...
);

Describe alternatives you've considered
Without native support for offline DRM configuration, developers may need to handle this aspect manually, which could lead to inconsistencies and additional complexities in the implementation.

Additional context
In addition to supporting offline configuration:

  • Discuss the potential benefits of having a modular approach that allows for future expansion into complete offline playback.
  • Emphasize the importance of aligning with industry standards for DRM-protected content.

Feel free to reach out for any additional information or clarification. I'm willing to assist in providing use case scenarios, testing, or any other details that might help implement this feature.

@muhammedkamal muhammedkamal added enhancement New feature or request new issue New issue which has not been checked yet labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new issue New issue which has not been checked yet
Projects
None yet
Development

No branches or pull requests

2 participants