搜尋套件、儲存庫與 APP 分類

套件詳情v0.16.0

haishin_kit

一個透過 RTMP 實現攝像頭和麥克風串流傳輸的 Flutter 插件。

AndroidiOSmacOS
近 30 天下載
448
喜歡數
35
Pub 分數
130

安裝套件

flutter pub add haishin_kit

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Haishin Kit 是一個 Flutter 插件,可透過 RTMP 實現即時相機與麥克風串流傳輸,專為直播應用設計。它在 Android、iOS 與 macOS 平台上提供低延遲的音視頻傳輸。基於 Haishin Kit 框架建構,支援可自訂的串流設定,並能與 RTMP 伺服器無縫整合。非常適合開發直播影片應用、互動廣播或即時通訊工具的開發者。此套件為開源且持續維護,為高品質串流需求提供可靠效能。

適用情境

  • 直播視頻廣播
  • 即時視訊會議
  • 互動式串流應用
  • 社群媒體直播功能
  • 遠端事件串流

主要特色

  • RTMP 流媒體支援
  • 攝影機和麥克風整合
  • 跨平台相容性
  • 低延遲傳輸
  • 可自訂的串流設定
  • 開源程式碼庫

適合對象

  • 開發即時串流應用的開發者
  • 創建即時視頻解決方案的團隊
  • 需要RTMP整合的應用程式
  • 以行動裝置為優先的串流平台
  • 開源專案貢獻者

使用建議

  • 需要RTMP伺服器設定
  • 限制為 RTMP 協議
  • 平台特定的權限需要
  • 網絡穩定性影響品質
  • 可能需要高級配置

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

HaishinKit Plugin

pub package

  • A Flutter plugin for iOS, Android. Camera and Microphone streaming library via RTMP.

[!NOTE] This project is being developed with the goal of defining a Flutter interface for HaishinKit. However, since development is progressing slowly, I recommend using other plugins if you need something stable or are in a hurry.

Android iOS macOS
Support SDK 21+ iOS 15.0+ 12.0+

💖 Sponsors

Do you need additional support? Technical support on Issues and Discussions is provided only to contributors and academic researchers of HaishinKit. By becoming a sponsor, we can provide the support you need.

Sponsor: $50 per month: Technical support via GitHub Issues/Discussions with priority response.

💬 Communication

  • GitHub Issues and Discussions are open spaces for communication among users and are available to everyone as long as the code of conduct is followed.
  • Whether someone is a contributor to HaishinKit is mainly determined by their GitHub profile icon. If you are using the default icon, there is a chance your input might be overlooked, so please consider setting a custom one. It could be a picture of your pet, for example. Personally, I like cats.
  • If you want to support e-mail based communication without GitHub.
    • Consulting fee is $50/1 incident. I'm able to response a few days.

🎨 Features

  • Protocols ✨Publish and playback feature are available RTMP.
  • Multi Streaming ✨Allowing live streaming to separate services. Views also support this, enabling the verification of raw video data.
  • Video mixing ✨Possible to display any text or bitmap on a video during broadcasting or viewing. This allows for various applications such as watermarking and time display.

🌏 Dependencies

Project name Notes License
HaishinKit for iOS, macOS and tvOS. Camera and Microphone streaming library via RTMP, HLS for iOS, macOS and tvOS. BSD 3-Clause "New" or "Revised" License
HaishinKit for Android. Camera and Microphone streaming library via RTMP for Android. BSD 3-Clause "New" or "Revised" License

🔧 Setup

Please contains macos/Runner/Info.plist and ios/Runner/Info.plist files.

<key>NSCameraUsageDescription</key>
<string>your usage description here</string>
<key>NSMicrophoneUsageDescription</key>
<string>your usage description here</string>

Please contains macos/Runner/Debug.Entitlements and macos/Runner/Release.Entitlements files.

<key>com.apple.security.device.audio-input</key>
<true />
<key>com.apple.security.device.camera</key>
<true />

🔧 Develop

Use freezed for development. When creating data classes, please try running the following command.

flutter pub run build_runner build --delete-conflicting-outputs

🐾 Example

An example project is available for both iOS and Android. https://github.com/HaishinKit/HaishinKit.dart/tree/main/example

📜 License

BSD-3-Clause

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。