2023-02-15

Updates to iOS Client SDK (v3.8.0) and Android Client SDK (v3.8.0) - Added a possibility to access the local participant's audio stream before sending the stream through an open session. Additionally, upgraded the WebRTC version to a recent version that contains improvements and bug fixes.

iOS Client SDK

3.8.0

Features

  • Introduced a new AudioSamples model that contains information about audio captured by the local participant's microphone, such as the sample rate, the audio format, and the buffer list. It allows you to access the participant's audio stream before sending the stream through an open session. You may use it to build speech recognition or audio moderation. To get the samples, use the delegate accessor and the audioRecordSamplesReady callback. For more information, see the Accessing the Local Audio Stream guide.

  • Upgraded the WebRTC version to a recent version that contains improvements and bug fixes. The previously used version contains serious security vulnerabilities that can make your application susceptible to remote code execution, and can potentially give an attacker access to your application’s private data.

  • Reduced the size of the SDK package.

Bug Fixes

  • Fixed an issue where joining and leaving conferences caused freezing animations played on the main thread.

  • Fixed an issue where a camera preview was not correctly rotated in landscape mode.

Android Client SDK

3.8.0

Features

  • Introduced a new LocalInputAudioSamples model that contains information about audio captured by the local participant's microphone, such as the sample rate, the audio format, the configured number of channels, and the sample audio data. It allows you to access the participant's audio stream before sending the stream through an open session. You may use it to build speech recognition or audio moderation. To get the samples, use the registerLocalInputAudioCallback method and the onSample callback. For more information, see the Accessing the Local Audio Stream guide.

  • Upgraded the WebRTC version to a recent version that is supported and recommended by Google Store. The previously used version contains serious security vulnerabilities that can make your application susceptible to remote code execution, and can potentially give an attacker access to your application’s private data.

  • Reduced the size of the SDK package.

Bug Fixes

Fixed an issue where the SDK did not properly manage disconnecting a Bluetooth headset.