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) * [headers](#headers)
* [id](#id) * [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch) * [ignoreSilentSwitch](#ignoresilentswitch)
* [maxBitRate](#maxbitrate)
* [muted](#muted) * [muted](#muted)
* [paused](#paused) * [paused](#paused)
* [playInBackground](#playinbackground) * [playInBackground](#playinbackground)
@ -434,6 +435,16 @@ Controls the iOS silent switch behavior
Platforms: iOS 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 #### muted
Controls whether the audio is muted Controls whether the audio is muted
* **false (default)** - Don't mute audio * **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. 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 ##### Asset loaded via require