Commit Graph

172 Commits

Author SHA1 Message Date
Daniel Mariño
81b42e7ca7
Add iOS and Android basic DRM support (#1445)
This PR adds support for DRM streams on iOS (Fairplay) and Android (Playready, Widevine, Clearkey)

I am neither Android nor iOS developer, so feel free to provide feedback to improve this PR.

**Test stream for ANDROID:**
```
testStream = {
        uri: 'http://profficialsite.origin.mediaservices.windows.net/c51358ea-9a5e-4322-8951-897d640fdfd7/tearsofsteel_4k.ism/manifest(format=mpd-time-csf)',
        type: 'mpd',
        drm: {
            type: DRMType.PLAYREADY,
            licenseServer: 'http://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(persist:false,sl:150)'
        }
    };
```

or 
```
{
    uri: 'https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd',
    drm: {
        type: 'widevine', //or DRMType.WIDEVINE
        licenseServer: 'https://drm-widevine-licensing.axtest.net/AcquireLicense',
        headers: {
            'X-AxDRM-Message': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImZpcnN0X3BsYXlfZXhwaXJhdGlvbiI6NjAsInBsYXlyZWFkeSI6eyJyZWFsX3RpbWVfZXhwaXJhdGlvbiI6dHJ1ZX0sImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.FAbIiPxX8BHi9RwfzD7Yn-wugU19ghrkBFKsaCPrZmU'
        },
    }
}
```

**Test stream for iOS:**
Sorry but I can not provide free streams to test. If anyone can provide test streams, or found some we can use, please let me know to also test them.

It has been tested with a private provider and they work, at least with the `getLicense` override method. (An example implementation is provided in the README)
2020-08-12 18:56:21 -07:00
Benoit Dion
68dc15242d v5.1.0-alpha5 2020-02-25 19:10:26 -05:00
Benoit Dion
4f07aab8b1
Bump javascript dependencies (#1914)
Also update linting rules to match other community repositories.
2020-02-22 13:56:31 -05:00
Benoit Dion
f0867d7eef v5.1.0-alpha4 2020-02-20 09:25:37 -05:00
Benoit Dion
4d0be29cbb
Update changelog (#1913) 2020-02-17 12:43:27 -05:00
Benoit Dion
029b893d58 Bump version to 5.1.0-alpha 2020-01-28 18:43:32 -05:00
Daniel Mariño
c9a248e0e5 update package json version 2019-09-24 09:22:03 +02:00
Daniel Mariño
c38ff02d2d 5.0.1 2019-07-28 15:54:17 +02:00
Daniel Mariño
917f9cb460 prepare 5.0.0 version 2019-07-25 10:12:36 +02:00
Daniel Mariño Ruiz
a45e857bbc
Merge branch 'release/5.0.0' into update-androidx 2019-07-25 10:05:53 +02:00
Daniel Mariño
6bdbaec506 4.4.4 2019-07-12 10:17:23 +02:00
Daniel Mariño
47e1630679 remove rnpm 2019-07-10 08:06:28 +02:00
Daniel Mariño
d4313e29d0 bump version 2019-07-04 10:08:45 +02:00
CHaNGeTe
88d2aed832 bump version 2019-06-20 07:30:51 +02:00
Hampton Maxwell
c30f246f56 Version 4.4.1 2019-04-03 23:29:52 -07:00
Hampton Maxwell
f38b6f8268 Version 4.4.0 2019-02-18 23:23:49 -08:00
Laurin Quast
4dc4db3a83
fix: set the correct git url (#1439) 2019-01-22 11:48:53 +01:00
Hampton Maxwell
35e26427ea Version 4.3.1 2019-01-03 22:12:31 -08:00
Hampton Maxwell
0339727fab Version 4.3.0 2018-12-31 22:12:13 -08:00
Hampton Maxwell
d249b08c25 Add dependencies needed for Haul 2018-12-31 22:04:04 -08:00
Nicolas Gonzalez
c2d9fb4301 merge 2018-12-13 21:38:32 -06:00
Nicolas Gonzalez
67a963328a updated basic example, added filterEnabled flag, check for HLS playlist before applying filter 2018-12-13 21:30:38 -06:00
Hampton Maxwell
bd3d6d876f Version 4.2.0 2018-12-13 12:56:12 -08:00
Hampton Maxwell
b2aa8c4e38 Version 4.1.0 2018-12-05 20:12:55 -08:00
Hampton Maxwell
0c4fc810c3 Add missing files 2018-11-21 09:21:15 -08:00
Hampton Maxwell
f8f426356c Version 4.0.0 2018-11-21 00:09:23 -08:00
Nicolas Gonzalez
094541b8a6 updated readme and version bump 2018-10-26 08:40:46 -05:00
Hampton Maxwell
f0e0e555dd Add id prop & autoplay handling, support DASH & HLS via Shaka Player 2018-10-12 13:41:01 -07:00
Hampton Maxwell
6a011e1188
Merge branch 'master' into npm-package 2018-09-23 00:51:10 -07:00
Hampton Maxwell
584559ea75 Bump version to 3.2.1 2018-09-22 15:03:22 -07:00
David Narbutovich
a135dd346e Reduce package size 2018-09-12 23:01:28 +03:00
Laurin Quast
8fcdc6e02a Merge remote-tracking branch 'upstream/master' into implement-ios-caching 2018-08-06 10:39:39 +02:00
Hampton Maxwell
ba159c3fa7 Version 3.2.0 2018-08-05 18:31:33 -07:00
Laurin Quast
6cfea3aacb Merge branch 'master' into implement-ios-caching 2018-07-17 13:28:37 +02:00
Hampton Maxwell
933d3dd817 Version 3.1.0 2018-07-16 15:45:40 -07:00
Hampton Maxwell
c66b71622d Version 3.0.0 2018-06-29 14:00:29 -07:00
Hampton Maxwell
1b8853c052 Version 3.0 2018-06-29 13:56:43 -07:00
Hampton Maxwell
7f6c218989 Version 2.3.1 2018-06-21 09:23:00 -07:00
Hampton Maxwell
b52c4d673b Version 2.3.0 2018-06-20 22:31:54 -07:00
Hampton Maxwell
361b771371 Make ExoPlayer the default Android library 2018-06-11 11:05:26 -07:00
Hampton Maxwell
99c29a907d Release version 2.2.0 2018-06-08 10:12:07 -07:00
Hampton Maxwell
7f011aba33 Version 2.1.1 to fix missing ExoPlayer import 2018-05-28 23:28:07 -07:00
Hampton Maxwell
fb0610043f Update to 2.1.0 2018-05-28 21:43:18 -07:00
Laurin Quast
6b2c1046dd Use ranges 2018-02-28 17:39:23 +01:00
Laurin Quast
30c437fd04 Update dependencies 2018-02-28 14:10:39 +01:00
Matt Apperson
0d411a25f9
add maintainer to contributors 2018-02-20 10:42:27 -05:00
Matt Apperson
4bf2b2c45f 2.0 bump 2017-08-16 15:20:47 -04:00
Matt Apperson
472ad49656 1.2.0 published 2017-08-16 15:19:51 -04:00
Mark Miyashita
4ca5956e58 Remove react-native-windows as a direct dependency of react-native-video (#730) 2017-08-11 12:44:38 -04:00
Tim Gibadullin
961baedb26 Replace PropTypes from react with form prop-types package (#677) 2017-08-04 14:53:53 -04:00
Kevin VanGelder
ebc6617ba4 Initial WPF Support (#385)
* initial support for WPF

* update readme with WPF specific instructions

* remove autogenerated .gitattributes file

* reference RNW NPM package instead of hard-coded local reference
2017-03-31 12:15:26 -04:00
melyamri
d48d7efc5d added progressUpdateInterval to Android (#512)
* use progressUpdateInterval in android

* convert progressUpdateInterval to int
2017-03-21 16:26:39 -04:00
Olof Dahlbom
fe6bc4f3df Support react-native > 0.40 (#437)
* Support react-native > 0.40

* Bumping major version. Breaking change.

* Upgrade example project from 0.33 => 0.40.
2017-01-11 07:43:43 -05:00
Andrew Jack
0c746e8fe8 Clean project structure (#320) 2016-09-21 09:34:25 -04:00
Brent Vatne
71eedc2fac Bump version 2016-08-15 18:14:34 -07:00
Stanisław Chmiela
242b79ac38 Publish new version 2016-05-30 17:03:47 +02:00
Stanisław Chmiela
7db95e2c7f Bump version 2016-05-10 23:48:02 +02:00
Brent Vatne
878ee68f2e Beta release 2016-04-12 14:34:18 -04:00
Brent Vatne
787f56616d Add license field to package.json 2016-04-12 14:18:28 -04:00
Stanisław Chmiela
c3b5a1b4cf Add new RCTVideoPlayerViewControllerDelegate protocol 2016-04-01 10:51:02 +02:00
Stanisław Chmiela
79fac2b2a9 Add new files to the package 2016-03-31 23:12:43 +02:00
Stanisław Chmiela
412d187b33 Update package.json to copy new files 2016-03-31 20:59:25 +02:00
Keith Grennan
48b7f5b5b3 add podspec 2016-02-17 09:56:09 -08:00
Baris Sencan
17811e29f8 0.7.1 2016-02-03 08:45:20 -08:00
Baris Sencan
8e61b4255c 0.7.0
Closes #129
2016-01-31 20:21:42 -08:00
Baris Sencan
3b6671c4c7 Example fix, test script, and some refactoring
- The test script just does an eslint check. (Closes #121)
- Refactored JS code to pass the check.
- Fixed VideoPlayer example. (Closes #117)
  - Updated package.json to use local react-native-video in a simple manner.
  - Added shared scheme for target.
  - Updated poject settings.
  - Now using react-native 0.18.1.
2016-01-31 20:13:48 -08:00
Bernd Paradies
f2b0dbd2db Introducing custom/native/embed skins 2015-12-22 17:39:04 -06:00
Baris Sencan
af438045c9 [npm] Add ReactVideoView.java to package files 2015-11-17 18:05:33 -08:00
Baris Sencan
1746779909 [npm] Typo fix 2015-11-02 15:36:46 -08:00
Baris Sencan
f34bd9d95a [npm][Android] Include RCTVideo.iml 2015-11-02 15:35:14 -08:00
Baris Sencan
318ce5d4d1 [npm] Add android files to package 2015-11-02 15:35:14 -08:00
Baris Sencan
b45c9577f0 [Video] Tidy up component code
- Newer syntax.
- Removed lodash dependency.
- Removed hard-coded ref.
- Seek using state.
2015-10-29 17:39:20 -07:00
Brent Vatne
dc6de43642 Bump version 2015-09-16 15:38:06 -07:00
Carlo Francisco
3d96525558 Use lodash instead of merge, because the latter is ignoring one of the params passed in 2015-09-16 17:36:17 -04:00
Brent Vatne
1f0ba1347b Bump version for 0.10.0-rc compat 2015-08-23 20:24:15 -07:00
Brent Vatne
0be086c644 Bump version 2015-08-07 23:59:52 -07:00
Brent Vatne
db402be640 Fix imports and bump sample project to 0.8.0 2015-07-28 15:46:05 -07:00
Baris Sencan
e832d3860a Bump version 2015-07-23 10:39:44 +03:00
Brent Vatne
5746a030bb Bump version 2015-07-15 08:13:40 -07:00
Brent Vatne
69f4a35de7 Bump version 2015-07-10 18:21:46 -07:00
Brent Vatne
ab93afd2c3 Bump version 2015-06-26 13:49:26 -07:00
Brent Vatne
1f901be363 Pause video when the app is backgrounded 2015-06-25 15:40:46 -07:00
Brent Vatne
b5faab4fee 0.4.7 2015-06-25 12:52:30 -07:00
Brent Vatne
6ba179b7ed Update package.json 2015-06-25 12:52:00 -07:00
Brent Vatne
52fb282975 Bump version 2015-06-17 22:25:05 -07:00
Brent Vatne
3ac8d2e74a Bump version 2015-06-16 21:14:24 -07:00
Brent Vatne
7d9fdeb6e8 Remove annoying peerDependencies for now 2015-06-10 10:28:51 -07:00
Brent Vatne
f7f5b22ee8 Bump version for peerDependencies, supporting upcoming 0.5.0 2015-06-05 10:18:52 -07:00
Brent Vatne
c5eb6b4fec Fix crash from trying to remove observer multiple times 2015-05-30 12:47:14 -07:00
Brent Vatne
7259555b9c Bump for 0.4.3 2015-05-14 18:10:41 -07:00
Brent Vatne
b41a39b7bc Bump version 2015-05-12 20:28:15 -07:00
Brent Vatne
e6a277eb59 Bump to 0.3.5 and add seeking 2015-05-11 08:24:58 -07:00
Johannes Lumpe
c5a8760ea7 Bumped version to 0.3.4 2015-05-11 08:21:16 -07:00
Brent Vatne
9c2184bd19 Respect the pause property at all times 2015-05-11 08:20:42 -07:00
Brent Vatne
00aadf685a Add fix to support live streaming 2015-05-11 08:20:42 -07:00
Brent Vatne
b8ac698258 Bump to 0.3.1 2015-05-11 08:20:41 -07:00
Johannes Lumpe
23feea9fba Made react-native a peer dependency, fixed invalid version error for package version 2015-05-11 08:20:41 -07:00
Brent Vatne
6fee22cac6 Bump for react-native 0.4.0 2015-05-11 08:20:41 -07:00
Brent Vatne
e12769f919 Reduce example video size and explicitly list package files 2015-05-11 08:20:41 -07:00
Brent Vatne
25628d9877 Bump version for onEnd callback 2015-05-11 08:20:20 -07:00