Skip to content

Releases: shogo4405/HaishinKit.swift

1.8.0

29 Apr 14:52
Compare
Choose a tag to compare

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

1.7.6

06 Apr 03:00
Compare
Choose a tag to compare

Related Issues

What's Changed

Full Changelog: 1.7.5...1.7.6

1.7.5

27 Mar 06:24
Compare
Choose a tag to compare

Note

The implementation of methods such as FCPublish, which have been used in FMLE until now, was not done correctly. We have been experiencing the same issue since the release, but because there is a possibility of it causing bugs, we have now fixed the implementation to be correct.

For those who wish to use FMLE sequence processing, please specify the same value for fcPublishName as you would for publish(name):

Specify it as the second argument in the constructor of RTMPStream:

  1. stream = RTMPStream(connection, fcPublishName)
  2. Set a value for stream.fcPublishName.

Related Issues

What's Changed

  • Implement timestamp recalculation for audio buffers by @levs42 in #1385
  • Set IOVideoUnit inputFormat when new buffer is available by @levs42 in #1387
  • Add workground feature RTMPStream.send. by @shogo4405 in #1390
  • Support FMLE-compatible sequences(releaseStream/FCPublish) by @shogo4405 in #1393

Full Changelog: 1.7.4...1.7.5

1.7.4

18 Feb 09:20
Compare
Choose a tag to compare

Related Issues

What's Changed

New Contributors

Full Changelog: 1.7.3...1.7.4

1.7.3

02 Jan 04:42
Compare
Choose a tag to compare

Related Issues

What's Changed

New Contributors

Full Changelog: 1.7.2...1.7.3

1.7.2

10 Dec 05:25
Compare
Choose a tag to compare

It is now possible to add the multi-camera feature after the initial setup. If you anticipate using the multi-camera functionality, please set stream.isMultiCamSessionEnabled = true during the initialization of the stream.

Related Issues

What's Changed

Full Changelog: 1.7.1...1.7.2

1.7.1

09 Nov 11:05
Compare
Choose a tag to compare

Related issues

What's Changed

Full Changelog: 1.7.0...1.7.1

1.6.2

09 Nov 11:12
Compare
Choose a tag to compare

What's Changed

  • Backporting Fix Crashs since Xcode 14.3 compilation CIContext#render by @shogo4405 in #1330

Full Changelog: 1.6.1...1.6.2

1.7.0

28 Oct 08:33
Compare
Choose a tag to compare

I have implemented the audio resampling feature. Additionally, I have added support for ingest feature on tvOS 17+ and visionOS. I have removed the HLS functionality as it was not being maintained.

The sampling rate can be specified as follows:

stream.audioSettings.sampleRate = 48000

Note

Related issues

What's Changed

New Contributors

Full Changelog: 1.6.0...1.7.0

1.6.1

07 Oct 04:27
Compare
Choose a tag to compare

What's Changed

  • Fixed the issue in 1.6.0 where onMetaData did not include width and height.

Full Changelog: 1.6.0...1.6.1