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
autoBitrateProfile
property tovideoConfig
prop. This controls the rate at which the ABR algorithm adjusts the video bitrate. - Adds the
onTransmissionStatisticsChanged
event handler. It contains more detailed transmission statistics thanonBroadcastQualityChanged
andonNetworkHealthChanged
event handlers which are marked as deprecated within this release. Please, useonTransmissionStatsChanged
event handler instead.
⚠️ Note thatbroadcastQuality
andnetworkHealth
values are not number type foronTransmissionStatsChanged
event handler but union -NetworkHealth
andBroadcastQuality
iOS
- Adds
playAndRecordDefaultToSpeaker
audio session strategy, which allows developers to specify whether devices with handsets (e.g., iPhones) prefer the speaker over the headset.
Changes
🚧 Deprecated
onBroadcastQualityChanged
in favor ofonTransmissionStatisticsChanged
event handler.onNetworkHealthChanged
in favor ofonTransmissionStatisticsChanged
event handler.
1.1.1
1.1.0
Improvements
- New
isMuted
dynamic prop. - New
configurationPreset
prop. - Extends the broadcast
error
object with thesessionId
field. - Metadata as the second argument for
onBroadcastStateChanged
event handler. For now, it’s available withCONNECTED
state status only. - Allows
start
method to take options. Note that thertmpsUrl
andstreamKey
which are passed to thestart
method take precedence over the equivalent component props.
Changes
cameraPosition
,isCameraPreviewMirrored
,cameraPreviewAspectMode
andsessionLogLevel
are 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
20401
and 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
swapCamera
in favor ofcameraPosition
prop.
v1.0.1
Improvements
- Reduce package size
v1.0.0
Improvements
All
- Bump SDKs version to
1.4.0
iOS
- Added a new
quality
option to theaudioConfig
prop to control the audio encoder quality. Reducing the encoder quality can have a large impact on CPU usage - Properly executing
swapCamera
method
Android
- The
onBroadcastQualityChanged
handler now reports low initial broadcast-quality values
Changes
iOS
- Changed the
keyframeInterval
maximum value from10
to5
to be consistent with Android.
v0.1.0
Release 0.1.0