Intro
Requirements
react-native-video
>=6.12.0
- min iOS
15.0
, Android6.0
- Valid license for Offline Video SDK
Getting Started
Offline Video SDK is composition of two (react-native-video) plugins:
Stream Downloader
@twg/react-native-video-stream-downloader
info
Stream Downloader allows to download streams, or videos from the internet. It's also have integrated asset manager, which allows manage downloaded assets.
Offline DRM
@twg/react-native-video-offline-drm
info
Offline DRM allows to download and cache Persistent DRM Keys that allow to play protected content offline.
warning
This plugin downloads only DRM Keys. To download video content, you need to use @twg/react-native-video-stream-downloader
plugin or your own implementation.
Installation
Stream Downloader
npm install @twg/react-native-video-offline-drm
Offline DRM
npm install @twg/react-native-video-stream-downloader