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]: Support for Video Download and Offline DRM Playback in React Native #4359

Open
paulvictory opened this issue Jan 6, 2025 · 2 comments
Labels

Comments

@paulvictory
Copy link

Description

Very cool idea!

Why it is needed ?

Because it is cool!

Possible implementation

Technical POV how to do it

Code sample

Code sample

Copy link

github-actions bot commented Jan 6, 2025

Thanks for the feature request! Check out our roadmap here. If your request is already there – great! If not, give us some time, and we'll get back to you with information on when TheWidlarzGroup can address it as part of our free open-source support. Alternatively, contact us to discuss ways to speed up the process.

@Muntader
Copy link

Muntader commented Jan 7, 2025

I've implemented the video downloader functionality for Android, and it works perfectly with HLS streams (though DRM compatibility hasn't been fully tested). For reference, you can check my fork here: https://github.com/Muntader/react-native-video-with-downloader

If you're familiar with ios av video download, such as AVAssetDownloadURLSession, this should be easy for you, you can also find a lot of examples on git to use the exoplayer offline manager for android and AVAssetDownloadURLSession for ios ref: https://developer.apple.com/documentation/avfoundation/avassetdownloadurlsession/aggregateassetdownloadtask(with:mediaselections:assettitle:assetartworkdata:options:)

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

No branches or pull requests

2 participants