HaishinKit/HaishinKit.swift
Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tuần
📡 HaishinKit.swift — Thư viện streaming camera/microphone cho hệ sinh thái Apple
Thư viện streaming camera và microphone qua RTMP, SRT, WHEP/WHIP cho iOS, macOS, tvOS và visionOS — đã được phát triển suốt 10 năm với 2.778 commits và 163 releases.
HaishinKit.swift là thư viện streaming mã nguồn mở bằng Swift, cho phép publish và playback luồng camera cùng microphone qua các protocol RTMP, SRT và WHEP/WHIP (alpha). Dự án đã tồn tại từ tháng 8/2015, đạt 3.064 sao trên GitHub, và hiện có phiên bản song song cho Android (HaishinKit.kt) và Flutter (HaishinKit.dart).
✅ Điểm nổi bật
- Đa protocol: Hỗ trợ RTMP, SRT và WHEP/WHIP (alpha) cho cả publish và playback.
- Đa nền tảng: Chạy trên iOS, macOS, tvOS, visionOS (SRTHaishinKit không khả dụng trên Mac Catalyst).
- Multi Camera: Hỗ trợ truy cập nhiều camera đồng thời trên iPad khi multitasking.
- Multi Streaming: Phát trực tiếp đến nhiều dịch vụ riêng biệt, kèm xác minh dữ liệu video thô.
- Strict Concurrency: Tương thích đầy đủ với mô hình Strict Concurrency của Swift.
- Screen Capture: Tích hợp ReplayKit (iOS) và ScreenCaptureKit (macOS) để capture màn hình.
- Video mixing: Hiển thị text hoặc bitmap lên video trong quá trình broadcast/view, hỗ trợ watermark và hiển thị thời gian.
- Yêu cầu thấp: Xcode 26.0+, Swift 6.0+, iOS 15.0+.
💡 Vì sao đáng chú ý
HaishinKit là một trong số ít thư viện streaming mã nguồn mở bao phủ toàn bộ hệ sinh thái Apple (bao gồm cả visionOS) với khả năng multi-protocol. Việc hỗ trợ SRT — protocol truyền streaming độ trễ thấp phổ biến trong lĩnh vực broadcast chuyên nghiệp — giúp dự án này phù hợp cho cả ứng dụng livestream thông thường lẫn các trường hợp cần độ trễ tối thiểu. Hỗ trợ Strict Concurrency cho thấy dự án được duy trì tích cực theo tiêu chuẩn Swift hiện đại. Multi-camera và video mixing mở ra khả năng xây dựng các ứng dụng phức tạp như livestream đa góc nhìn hoặc chèn overlay trực tiếp mà không cần xử lý bên ngoài.
Dự án có tài liệu API đầy đủ, migration guide, và các ví dụ ứng dụng mẫu để bắt đầu nhanh chóng.
#RTMP #SRT #Streaming #Swift #iOS #TiniX
Similar Projects
Discover other similar projects and AI models.
Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS.
Oryx (SRS Stack) is an AI-driven, all-in-one, out-of-the-box, and open-source video solution for creating online video services, including live streaming and WebRTC, in the cloud or through self-hosting.
Camera and Microphone streaming library via RTMP for Android.
SRS is a simple, high-performance, AI-driven real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181, with codec support for H.264, H.265, AV1, VP9, AAC, Opus, and G.711.
Ready-to-use Media-over-QUIC / SRT / WebRTC / RTSP / RTMP / LL-HLS / MPEG-TS / RTP live media server and media proxy that allows to read, publish, proxy, record and playback real-time video and audio streams.
The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
Ant Media Server — Ultra-low latency streaming engine with WebRTC (~0.5s), SRT, RTMP, HLS, CMAF, adaptive bitrate, transcoding & scaling