add useSecureView prop to prevent screen recording
This commit is contained in:
13
README.md
13
README.md
@@ -316,6 +316,7 @@ var styles = StyleSheet.create({
|
||||
* [textTracks](#texttracks)
|
||||
* [trackId](#trackId)
|
||||
* [useTextureView](#usetextureview)
|
||||
* [useSecureView](#useSecureView)
|
||||
* [volume](#volume)
|
||||
* [localSourceEncryptionKeyScheme](#localSourceEncryptionKeyScheme)
|
||||
|
||||
@@ -911,6 +912,18 @@ useTextureView can only be set at same time you're setting the source.
|
||||
|
||||
Platforms: Android ExoPlayer
|
||||
|
||||
#### useSecureView
|
||||
Force the output to a SurfaceView and enables the secure surface.
|
||||
|
||||
This will override useTextureView flag.
|
||||
|
||||
SurfaceView is is the only one that can be labeled as secure.
|
||||
|
||||
* **true** - Use security
|
||||
* **false (default)** - Do not use security
|
||||
|
||||
Platforms: Android ExoPlayer
|
||||
|
||||
#### volume
|
||||
Adjust the volume.
|
||||
* **1.0 (default)** - Play at full volume
|
||||
|
Reference in New Issue
Block a user