Commit Graph

338 Commits

Author SHA1 Message Date
Mudaser Ali
991f94b228
Update README.md 2020-10-16 18:54:50 +05:00
Irwin
4246016fb4
Update README.md (#2076)
You only need to perform linking for React Native < 0.60
2020-09-29 10:01:02 -04:00
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
Tuan Luong
5fe76574bb add fullscreenOrientation 2020-07-10 10:45:41 +07:00
Anders Lemke
8962720f56
Support preventsDisplaySleepDuringVideoPlayback (#2019)
* Add flag on iOS

* Add flag in Android

* Add documentation

* Add changelog entry

* Also set setKeepScreenOn

* Fix prop not being set

* add preventsDisplaySleepDuringVideoPlayback to exoplayer

* Update android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java

* Update android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java

Co-authored-by: Jens Andersson <jens@fritan.com>

Co-authored-by: Anton Tanderup <antontandrup@gmail.com>
Co-authored-by: Jens Andersson <jens@fritan.com>
2020-06-16 14:31:23 +02:00
Jens Andersson
9c31948dbf
Always set headers for iOS (#2014) 2020-06-11 16:53:14 +02:00
Jens Andersson
f395bd1d3d
Removed JS fullscreening for Android (#2013) 2020-06-11 16:44:13 +02:00
Param Aggarwal
0b914ef2b9
Expose currentPlaybackTime when live stream video (#1944)
* added trackId to exoplayer onLoad callback

* added trackInfo to bandwidth callback

* syntax fix

* syntax fix

* version update

* sending complete logcat for media playback exception ExoPlaybackException

* version bump

* package publish changes

* Live playback fix

* Version bump

* import fix

* version bump

* configurable preferredForwardBufferDuration

* configurable preferredForwardBufferDuration

* version update

* Exposing time

* exo player window current tsp

* return type

* Current window timestamp in epoch

* iOS changes

* version update

* Updated package.json

* updated version

* CurrentTime bug fix

* Updated package.json

* Updated currentPlaybackTime

* Updated currentPlayback logic

* Updated package.json

* Bug fix

* Added semicolon

* updated package.json

* Updated ReactVideoView

* updated verison

* Revert package.json changes

* Update ReactVideoView.java

* Use standard log

* Document preferredForwardBufferDuration (iOS)

* Document currentPlaybackTime

* Document trackId

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update README.md

* Update CHANGELOG.md

Co-authored-by: anubansal <anu.bansal@curefit.com>
Co-authored-by: Sivakumar J <sivakumar@curefit.com>
Co-authored-by: parikshit <parikshit@curefit.com>
Co-authored-by: anubansal92 <40559524+anubansal92@users.noreply.github.com>
Co-authored-by: Rishu Agrawal <rishu.agrawal@v.curefit.com>
Co-authored-by: rishu-curefit <54575330+rishu-curefit@users.noreply.github.com>
2020-05-15 09:25:19 +02:00
Evan Bacon
e3009c60e1
Recommend npx pod-install for setup instructions
# Summary

We've been recommending devs use `npx pod-install` since it will attempt to install CocoaPods CLI if it's not available on the computer (cite [React Navigation setup guide](https://reactnavigation.org/docs/getting-started/#installing-dependencies-into-a-bare-react-native-project)). This has proved very useful for Expo users who are now migrating to the bare workflow and want to use community packages in their projects.

## Checklist

- [x] I have tested this on a device and a simulator
- [x] I added the documentation in `README.md`
2020-05-14 12:16:36 -07:00
Harrison Mendonça
4157a609ac Update README.md 2020-04-20 18:47:59 -03:00
Hampton Maxwell
1ecb09acc4
Update onLoad event to include videoTracks info 2020-03-02 14:31:06 -08:00
Brandon Faulkner
6d1a7bed58
Fix the ref sample code to remove the syntax error 2020-02-25 09:22:41 -05:00
Di Da
a4fec8eb99
Add support for react-native Windows Cpp/WinRT (#1893)
This also deprecates the old react-native windows implementation
2020-02-25 09:21:06 -05:00
Piotr Błażejewicz (Peter Blazejewicz)
5fa4cddbf8
docs(video): fix bufferConfig property name (#1855) 2020-02-17 14:12:54 -05:00
Robby Widyahartono
17694400e2
Merge branch 'master' into implement-ima-sdk 2020-02-12 10:38:45 +07:00
Robby Widyahartono
02cd0b529b
Update README.md
change Platforms description for adTagUrl
2020-02-12 10:27:30 +07:00
Mohammed Salman
2738892631
Fix readme grammar (#1888) 2020-02-03 13:17:05 -05:00
IbrahimSulai
9200dce1ae
Add full screen support to Android Exoplayer (#1730) 2020-01-28 17:21:21 -05:00
Robby Widyahartono
6a49f539c9 update readme 2019-12-10 12:17:25 +07:00
Tsukasa Setoguchi
257be246e0 fix README about reportBandwidth (#1816) 2019-11-08 14:21:15 -05:00
Bader Serhan
040b17159e fix typo in README 2019-09-25 16:47:44 +03:00
Daniel Mariño Ruiz
4a8eea7af3
Add disableFocus to TOC 2019-09-25 07:46:03 +02:00
Daniel Mariño Ruiz
cfcf6ce506
Merge branch 'master' into master 2019-09-21 08:41:55 +02:00
Daniel Mariño Ruiz
0a2f7bd949
Merge pull request #1715 from jhalvorson/master
Updated README.md to include instructions for React Native 0.60 and a…
2019-09-08 08:26:30 +02:00
Jovan Stanimirovic
008f5f03b0 fix formatting issues 2019-08-30 13:33:49 +02:00
Jovan Stanimirovic
0a361d1d0f update readme 2019-08-22 10:13:06 +02:00
Jovan Stanimirovic
e3782c4ec6 added support for automaticallyWaitsToMinimizeStalling property on iOS 2019-08-22 10:10:39 +02:00
Jamie Halvorson
2b9dddab75 Updated README.md to include instructions for React Native 0.60 and above 2019-08-17 09:44:47 +01:00
Daniel Mariño
aad75d46b1 More update info
(cherry picked from commit 2f23cc021c2e61410076c2f05da334907479280f)
2019-07-28 15:51:21 +02:00
Daniel Mariño
e38149b476 ad platform installation to TOC
(cherry picked from commit b0737bd56a4743c5154f48533a2f097ec59622a5)
2019-07-28 15:51:10 +02:00
Daniel Mariño Ruiz
4f9f7936a4 cpck 2019-07-28 15:50:22 +02:00
vok
2f8746c990 fix read me
(cherry picked from commit ed25b3f924)
2019-07-28 15:47:51 +02:00
vok
e6e57ecb04 cpck readme 2019-07-28 15:46:45 +02:00
vok
991fd5961d add readme to migrating to AndroidX
(cherry picked from commit 976ebcce2d)
2019-07-28 15:45:20 +02:00
vok
45b806dbb3 update readme
(cherry picked from commit 3ddcba3449)
2019-07-28 15:43:41 +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 Ruiz
62ff44ab35
Update README.md
Make more obvious the changes needed via using diff
2019-07-23 11:38:08 +02:00
Daniel Mariño Ruiz
66a85ae9c6
Update README.md
fix typo
2019-07-23 11:31:41 +02:00
Daniel Mariño Ruiz
95060d7bbf
Update README.md
Make installation parts easier to link
2019-07-23 11:29:50 +02:00
Daniel Mariño Ruiz
9dec6aec4d
Merge branch 'release/4.4.3' into bugfix/android-disablefocus-audio 2019-07-06 09:16:19 +02:00
Daniel Mariño Ruiz
7949c55c94
Merge pull request #1629 from vokhuyetOz/android-28
Android 28, pre to androidx
2019-07-04 10:01:27 +02:00
Kurt Johnson
2b067f1978
Merge branch 'master' into bugfix/android-disablefocus-audio 2019-07-03 16:43:37 -04:00
vok
a203aeadea pre androidX, upgrade to 28 2019-06-21 09:32:51 +07:00
vok
ed25b3f924 fix read me 2019-06-21 09:22:00 +07:00
vok
e5bc7155f4 add read me 2019-06-20 09:26:53 +07:00
vok
976ebcce2d add readme to migrating to AndroidX 2019-06-20 09:06:51 +07:00
Jens Andersson
fcef441369 Added onReadyForDisplay to web/dom 2019-06-19 15:35:49 +01:00
Jens Andersson
e5b5bbee7f Updated changelog and readme 2019-06-19 14:32:44 +01:00
vok
3ddcba3449 update readme 2019-06-19 15:38:36 +07:00
Joe Meyer
4efd0b5fa4 Updates README description 2019-06-11 15:52:59 -05:00
Joe Meyer
fccbc939d9 Adds onPlaybackRateChange to README 2019-05-03 09:54:12 -05:00
Kurt Johnson
3d80bfd236
Merge branch 'master' into bugfix/android-disablefocus-audio 2019-03-15 15:57:00 -04:00
Hampton Maxwell
d5fe47f238
Merge pull request #1325 from Khan/pip
Implement picture in picture for iOS
2019-02-18 22:13:02 -08:00
Hampton Maxwell
4424774ca3
Merge pull request #1448 from sridhard/master
Feature Implementation: Recovery from transient internet failures
2019-02-10 20:07:29 -08:00
Hampton Maxwell
420d88d583
Rename failureRetryCount to minLoadRetryCount 2019-02-10 19:54:57 -08:00
Hampton Maxwell
e0fd69e9f7
Merge pull request #1414 from IbrahimSulai/master
Support for displaying controls in Android Exoplayer
2019-02-10 18:20:01 -08:00
Hampton Maxwell
c361b795fc
Cleanup controls comment 2019-02-10 18:06:49 -08:00
Kurt Johnson
a55b7e5a24 Added details to readme and changelog 2019-02-07 11:14:27 -05:00
Jingsong Gao
80391d4e2a fix: fix code block in README.md (#1455) 2019-01-30 16:05:27 +01:00
sridhar
47875ed286 Doc modifications as per alplabetical order
Doc modifications as per alplabetical order
2019-01-24 19:06:11 +05:30
sridhar
5c1fdfb01a Doc changes for retry count implementation
Doc changes for retry count implementation
2019-01-24 18:59:54 +05:30
Hampton Maxwell
0a1605f11c
Make it more clear that Android SDK changes are to target SDK 2019-01-23 10:14:25 -08:00
Rinon Beselica
59783f012f fixed a mistake in the documentation about the headers. (#1420) 2019-01-22 11:10:47 +01:00
Ibrahim Sulaiman
e05c1c3c64 Resolved the review comments 2019-01-16 23:47:32 +05:30
Abdulrahman Alzenki
62dc913cb3 Address some of the feedback from the pull reqeust 2019-01-07 10:41:30 -08:00
Abdulrahman AlZanki
4a16151195 Fix typo 2019-01-07 10:26:20 -08:00
Abdulrahman Alzenki
617b046789 Implement picture in picture for iOS
Test Plan:
 - Run on ipad
 - test out onIsPictureInPictureSupported, onIsPictureInPictureActive, restoreUserInterfaceForPictureInPictureStop, startPictureInPicture, stopPictureInPicture
2019-01-07 10:26:20 -08:00
Ibrahim Sulaiman
8cffd5bc25 Updated README. 2019-01-04 15:31:49 +05:30
Hampton Maxwell
fb5f87bc9b Disable onBandwidthUpdate for iOS since it's not working yet 2018-12-31 22:06:50 -08:00
Hampton Maxwell
937eec0eae
Document onBandwidthUpdate & video track selection 2018-12-31 21:50:12 -08:00
Hampton Maxwell
282b03d421
Add note about Android not including controls 2018-12-31 00:17:33 -08:00
Hampton Maxwell
b7a351c043
Merge pull request #1384 from nickgzzjr/master
Added filterEnabled flag and don't enable filter if source is an hls playlist
2018-12-30 19:19:33 -08:00
Uğur AKTAŞ
c9b111e19b
Edit fancy braces 2018-12-26 17:58:56 +03: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
839d759e1f
Add note about 0 being the default maxBitRate 2018-12-13 09:48:28 -08:00
Hampton Maxwell
a43f9c7ce1
Merge branch 'master' into maximumBitRate-adaptive-streaming 2018-12-12 22:30:52 -08:00
Hampton Maxwell
39b475774c
Merge pull request #1355 from vadimgoroshevsky/master
ExoPlayer - Add possibility to hide shutterView (black screen while loading)
2018-12-05 20:06:33 -08:00
Hampton Maxwell
308aa4aea9
Tweak comment for hideShutterView 2018-12-05 20:05:48 -08:00
Hampton Maxwell
8119cede8e
Merge pull request #1304 from nfb-onf/disable_airplay_for_sideloaded_captions
disable airplay when sideloaded captions
2018-12-05 17:37:22 -08:00
Hampton Maxwell
06b5d50f5b
Slightly clean up AirPlay / textTracks message 2018-12-05 17:36:35 -08:00
vadim
2caf713857 Update changelog and documentation 2018-11-30 18:42:22 +02:00
vadim
788df74d8e Add hideShutterView to configurable props 2018-11-28 15:00:27 +02:00
vadim
96c42844fe ExoPlayer - Add possibility to hide shutterView 2018-11-28 14:56:58 +02:00
Hampton Maxwell
fcee7b662b Document onSeek 2018-11-27 19:48:57 -08:00
Hampton Maxwell
12a482a8e3 Make bitrate explanation more explicit 2018-11-26 10:33:09 -08:00
Hampton Maxwell
0e7f31f902 Update name to maxBitRate, remove reference to HLS 2018-11-26 10:33:09 -08:00
Ash Mishra
11db343987 Support for HLS maximum bit rate adaptive streaming 2018-11-26 10:33:09 -08:00
Ash Mishra
29826fc98f readme update for disabled video on airplay 2018-11-26 10:16:19 -08:00
Nicolas Gonzalez
5f083e4fb3 Updated README 2018-11-18 14:17:32 -06:00
Nicolas Gonzalez
0152db8f5a Fixed Conflict in CHANGELOG.md 2018-11-18 14:12:01 -06:00
Nicolas Gonzalez
8a3b6490dc Updated save function README, updated video-caching example to test saving function 2018-11-06 20:33:33 -06:00
Nicolas Gonzalez
dd1c6867ad updated save function readme 2018-11-06 09:01:10 -06:00
Nicolas Gonzalez
89ac8d93c3 Updated Filter Doc 2018-11-06 08:49:23 -06:00
Hampton Maxwell
40fb19f7c7
Alphabetize filter & save 2018-11-04 17:40:07 -08:00
Nicolas Gonzalez
094541b8a6 updated readme and version bump 2018-10-26 08:40:46 -05:00
Ash Mishra
67406b5e7b restored autorotate to fullscreen options 2018-10-25 14:56:59 -07:00
Hampton Maxwell
6bf213488d Rename DOM to react-native-dom 2018-10-17 17:52:48 -07:00
Hampton Maxwell
2d76e491d3
Switch useTextureView to default to true (#1286)
A number of people run into SurfaceView layering issues. It seems better to default to the more compatible option and let people reconfigure if they need the extra SurfaceView performance.
2018-10-13 20:23:30 -07:00
Hampton Maxwell
d87568db0e
Feature/exoplayer 2.9 (#1285)
Update to ExoPlayer 2.9.0 & document version 4.0.0 breaking changes
2018-10-13 20:16:10 -07:00