# HaishinKit/HaishinKit.swift

Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS.

Repository: https://github.com/HaishinKit/HaishinKit.swift
Canonical: https://ross.abutalabs.com/products/haishinkitswift
Homepage: https://docs.haishinkit.com/swift/latest/documentation/
Language: Swift
License: BSD-3-Clause
License Family: permissive
Topics: rtmp, streaming, camera, srt, whep, whip, moqt
Last push: 2026-08-16T11:04:57+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 77, longevity 100
- inputs: {"age_days": 4075, "days_push": 17, "days_rel": 158, "gap_med": 17.5, "n_releases_24m": 25}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3062, forks 707 (observed 2026-08-28T04:07:41.205847+00:00)

## What it is
A Swift library for live camera and microphone streaming via RTMP, SRT, and WebRTC (WHEP/WHIP) on iOS, macOS, tvOS, and visionOS. It supports multi-camera access, multi-streaming, screen capture, and video mixing features like watermarking.

## Use cases
- stream camera and microphone to an RTMP server from an iOS app
- build a live streaming app with SRT protocol on Apple platforms
- publish and play back live video in a Swift app
- capture and stream the screen using ReplayKit or ScreenCaptureKit
- overlay text or watermarks on video during a live broadcast
- stream to multiple services simultaneously from one device

## When to choose
- you need RTMP or SRT streaming natively in Swift on iOS, macOS, tvOS, or visionOS
- you want multi-camera, multi-stream, or screen capture support in a live app
- you need a mature, actively maintained streaming library with 10 years of development

## When to avoid
- you need streaming on Android or non-Apple platforms (use the companion HaishinKit.kt instead)
- you need a full-featured WebRTC implementation rather than alpha-stage WHEP/WHIP support
- you need guaranteed technical support without becoming a sponsor or contributor

## Facets
- artifact type: library
- maturity: active
- function: video-processing, audio-processing, streaming, sdk
- domain: media, mobile-development, cross-platform, developer-tools
- platform: cross-platform
- tags: rtmp, srt, whep, whip, live-streaming, camera, microphone, screen-capture, swift-package, ios, macos, swift, mobile, desktop

## Member repositories
- HaishinKit/HaishinKit.swift (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.205847+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:49.182560+00:00, confidence not recorded.
  - readme: https://github.com/HaishinKit/HaishinKit.swift (fetched 2026-08-28T04:07:41.205847+00:00, sha bae0a2d256f0)
  - homepage: https://docs.haishinkit.com/swift/latest/documentation/ (fetched 2026-08-29T09:43:35.128982+00:00, sha c9d659cb806f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
