Skip to content

1.8.0

Latest
Compare
Choose a tag to compare
@shogo4405 shogo4405 released this 29 Apr 14:52
· 28 commits to main since this release

We've added a mixing feature to enable the use of different audio sources. Since it's still in beta, please provide feedback. It can be utilized by following these steps.

FeatureUtil.setEnabled(for: .multiTrackAudioMixing, isEnabled: true)
stream.append(sampleBufferA, track: 0)
stream.append(sampleBufferB, track: 1)

Internally, I am now handling data with more than 3 channels. If you encounter issues with IOStreamRecorder, it is recommended to set it back to a maximum of 2 channels when saving locally.

let channels = max(stream.audioInputFormats[0].channels ?? 1, 2)
stream.audioMixerSettings = .init(sampleRate: 0, channels: channels)

Also made the following changes:

  1. Updated the minimum supported OS version.
  2. Reviewed the API design to handle audio data from different sources.
  3. Improved compatibility with RTMP.
  4. Enhanced performance of SRT.

Note

Related Issues

What's Changed

New Contributors

Full Changelog: 1.7.6...1.8.0