Skip to content

Releases: apiko-dev/amazon-ivs-react-native-broadcast

1.2.1

12 Dec 11:35
Compare
Choose a tag to compare

Changes

  • Upgrades Android SDK to version 1.7.2

Fixes

iOS specific

  • Fixes "zoomed" camera preview after swapping to back camera - #10

Android specific

  • Fixes app crashing while trying to invoke release method - #9
  • Fixes app crashing while trying to calculate layout for camera preview on Huawei devices - #11
  • Fixes error throwing by getNullableValue method - comment

1.2.0

13 Oct 20:40
Compare
Choose a tag to compare

Improvements

All

  • Adds an autoBitrateProfile property to videoConfig 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 than onBroadcastQualityChanged and onNetworkHealthChanged event handlers which are marked as deprecated within this release. Please, use onTransmissionStatsChanged event handler instead.
    ⚠️ Note that broadcastQuality and networkHealth values are not number type for onTransmissionStatsChanged event handler but union - NetworkHealth and BroadcastQuality

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

  • Upgrades iOS and Android SDKs (to 1.7.1 and 1.7.0 respectively).

🚧 Deprecated

  • onBroadcastQualityChanged in favor of onTransmissionStatisticsChanged event handler.
  • onNetworkHealthChanged in favor of onTransmissionStatisticsChanged event handler.

1.1.1

15 Sep 13:00
Compare
Choose a tag to compare

Bug Fixes

  • Fixed crash when changing active camera position on Android 12 - #5

1.1.0

24 Aug 16:14
Compare
Choose a tag to compare

Improvements

  • New isMuted dynamic prop.
  • New configurationPreset prop.
  • Extends the broadcast error object with the sessionId field.
  • Metadata as the second argument for onBroadcastStateChanged event handler. For now, it’s available with CONNECTED state status only.
  • Allows start method to take options. Note that the rtmpsUrl and streamKey which are passed to the start method take precedence over the equivalent component props.

Changes

  • cameraPosition, isCameraPreviewMirrored, cameraPreviewAspectMode and sessionLogLevel 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 of cameraPosition prop.

v1.0.1

07 Jun 16:21
Compare
Choose a tag to compare

Improvements

  • Reduce package size

v1.0.0

07 Jun 15:00
Compare
Choose a tag to compare

Improvements

All

  • Bump SDKs version to 1.4.0

iOS

  • Added a new quality option to the audioConfig 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 from 10 to 5 to be consistent with Android.

v0.1.0

02 Mar 18:26
Compare
Choose a tag to compare
Release 0.1.0