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.
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:
Example Usage:
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:
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.