Skip to content

Releases: HaishinKit/HaishinKit.swift

2.1.2

18 Sep 14:42
Compare
Choose a tag to compare
  • Fixed a bug that caused streaming errors in RTMP FMLE compatibility mode.
  • Initial support for WHEP/WHIP has been added. It’s not yet production-ready, but feel free to try it out if you’re interested.

Notes

What's Changed

Full Changelog: 2.1.1...2.1.2

2.1.1

03 Sep 12:43
Compare
Choose a tag to compare

Notes

What's Changed

Full Changelog: 2.1.0...2.1.1

2.1.0

17 Aug 05:27
Compare
Choose a tag to compare

HaishinKit has reached its 10th anniversary on August 2, 2025.

We are deeply grateful for the contributions from the OSS community and the continued support from our generous sponsors. Thank you all!
In this version, I have restructured the module configuration. The RTMP-related features that were previously in HaishinKit have been moved to RTMPHaishinKit.

Features

Session

This is an API that consolidates the connection handling of RTMP and SRT into a unified interface. It encapsulates retry logic and best practices for establishing connections

Prerequisites

import HaishinKit
import RTMPHaishinKit
import SRTHaishinKit

Task {
  await SessionBuilderFactory.shared.register(RTMPSessionFactory())
  await SessionBuilderFactory.shared.register(SRTSessionFactory())
}

Make session

let session = try await SessionBuilderFactory.shared.make(URL(string: "rtmp://hostname/live/live"))
  .setMode(.ingest)
  .build()
let session = try await SessionBuilderFactory.shared.make(URL(string: "srt://hostname:448?stream=xxxxx"))
  .setMode(.playback)
  .build()

Connect

Playback or ingest will be performed according to the selected mode setting.

try session.connect {
  print("on disconnected")
}

Notes

What's Changed

New Contributors

Full Changelog: 2.0.9...2.1.0

2.0.9

04 Jul 13:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.8...2.0.9

1.9.9

21 Jun 06:09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.9.8...1.9.9

2.0.8

04 May 14:43
Compare
Choose a tag to compare

What's Changed

  • Fixed for multi channel mixer works well with Xcode16.3 by @mocona in #1705

New Contributors

Full Changelog: 2.0.7...2.0.8

2.0.7

20 Apr 07:29
Compare
Choose a tag to compare

Notes

What's Changed

Full Changelog: 2.0.6...2.0.7

2.0.6

22 Mar 08:15
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.5...2.0.6

2.0.5

08 Mar 03:47
Compare
Choose a tag to compare

SRT performance has improved.

Notes

What's Changed

Full Changelog: 2.0.4...2.0.5

1.9.8

17 Feb 11:38
Compare
Choose a tag to compare

What's Changed

  • fixed an issue where screen rendering could potentially get locked. by @shogo4405 in #1671
  • fixed large PES packets could be dropped. by @shogo4405 in #1679

Full Changelog: 1.9.7...1.9.8