搜索插件、代码仓与 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 项

源码仓库

使用此插件的项目

暂无相关数据。