Releases: apiko-dev/amazon-ivs-react-native-broadcast
Releases · apiko-dev/amazon-ivs-react-native-broadcast
1.2.1
1.2.0
Improvements
All
- Adds an
autoBitrateProfileproperty tovideoConfigprop. This controls the rate at which the ABR algorithm adjusts the video bitrate. - Adds the
onTransmissionStatisticsChangedevent handler. It contains more detailed transmission statistics thanonBroadcastQualityChangedandonNetworkHealthChangedevent handlers which are marked as deprecated within this release. Please, useonTransmissionStatsChangedevent handler instead.
⚠️ Note thatbroadcastQualityandnetworkHealthvalues are not number type foronTransmissionStatsChangedevent handler but union -NetworkHealthandBroadcastQuality
iOS
- Adds
playAndRecordDefaultToSpeakeraudio session strategy, which allows developers to specify whether devices with handsets (e.g., iPhones) prefer the speaker over the headset.
Changes
🚧 Deprecated
onBroadcastQualityChangedin favor ofonTransmissionStatisticsChangedevent handler.onNetworkHealthChangedin favor ofonTransmissionStatisticsChangedevent handler.
1.1.1
1.1.0
Improvements
- New
isMuteddynamic prop. - New
configurationPresetprop. - Extends the broadcast
errorobject with thesessionIdfield. - Metadata as the second argument for
onBroadcastStateChangedevent handler. For now, it’s available withCONNECTEDstate status only. - Allows
startmethod to take options. Note that thertmpsUrlandstreamKeywhich are passed to thestartmethod take precedence over the equivalent component props.
Changes
cameraPosition,isCameraPreviewMirrored,cameraPreviewAspectModeandsessionLogLevelare dynamic props now.- Upgrades iOS and Android SDKs (to 1.5.1 and 1.5.0 respectively).
⚠️ Note that the version 1.5.1 is required to broadcast on iOS 16!- Improves stability by reducing occurrences of rare crashes.
- Improves stability for high-bitrate streams.
- Broadcasts experiencing extremely high latency will be ended with error code
20401and this message: "The broadcast has ended because the network got too far behind. Check that you have a stable connection or reduce the broadcast bitrate." The threshold latency value for this is likely to change over time; currently it is 45 seconds.
Deprecated
swapCamerain favor ofcameraPositionprop.
v1.0.1
Improvements
- Reduce package size
v1.0.0
Improvements
All
- Bump SDKs version to
1.4.0
iOS
- Added a new
qualityoption to theaudioConfigprop to control the audio encoder quality. Reducing the encoder quality can have a large impact on CPU usage - Properly executing
swapCameramethod
Android
- The
onBroadcastQualityChangedhandler now reports low initial broadcast-quality values
Changes
iOS
- Changed the
keyframeIntervalmaximum value from10to5to be consistent with Android.
v0.1.0
Release 0.1.0