Update name to maxBitRate, remove reference to HLS

This commit is contained in:
Hampton Maxwell 2018-11-04 17:55:43 -08:00 committed by Ash Mishra
parent 11db343987
commit 0e7f31f902

View File

@ -266,6 +266,7 @@ var styles = StyleSheet.create({
* [headers](#headers)
* [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch)
* [maxBitRate](#maxbitrate)
* [muted](#muted)
* [paused](#paused)
* [playInBackground](#playinbackground)
@ -434,6 +435,16 @@ Controls the iOS silent switch behavior
Platforms: iOS
#### maxBitRate
Sets the desired limit, in bits per second, when multiple video streams are available for a playlist.
Example:
```
maxBitRate={2000000} // 2 megabits
```
Platforms: Android ExoPlayer, iOS
#### muted
Controls whether the audio is muted
* **false (default)** - Don't mute audio
@ -583,8 +594,6 @@ Sets the media source. You can pass an asset loaded via require or an object wit
The docs for this prop are incomplete and will be updated as each option is investigated and tested.
#### maximumBitRate
Sets the maximum bit rate for HLS media sources. If an HLS m3u8 manifest describes multiple streams, the maximum bit rate determines the video stream selected
##### Asset loaded via require