From 0e7f31f902c40badffbba2ee919ed9e15665dd60 Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Sun, 4 Nov 2018 17:55:43 -0800 Subject: [PATCH] Update name to maxBitRate, remove reference to HLS --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 14de6397..d71f7e35 100644 --- a/README.md +++ b/README.md @@ -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