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

套件詳情v0.0.1

flutter_rtmp_publisher

此外掛程式可幫助您直接從您的 Flutter 應用程式廣播即時串流 via RTMP

近 30 天下載
28
喜歡數
28
Pub 分數
30

安裝套件

flutter pub add flutter_rtmp_publisher

套件介紹

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

flutter_rtmp_publisher 套件允許使用 RTMP 協定從 Flutter 應用程式進行即時影片廣播。它讓開發者能夠直接從行動裝置串流至 RTMP 伺服器,非常適合即時活動、視訊會議與社群媒體串流。此外,該套件整合原生 RTMP 庫,提供簡單直覺的介面來啟動與停止串流。支援即時影片捕捉與編碼,確保低延遲傳輸。設計簡潔且效能優異,適用於需要可靠即時串流功能的應用程式。

適用情境

  • 即時事件直播
  • 社交媒體直播
  • 視訊會議應用
  • 即時內容共享
  • 在線教育平台

主要特色

  • RTMP 流媒體支援
  • 簡單的啟動/停止 API
  • 低延遲視頻傳輸
  • 移動設備攝像頭整合
  • 跨平台相容性

適合對象

  • 開發即時串流應用的開發者
  • 需要即時視頻廣播的應用程式
  • 使用RTMP伺服器的專案
  • 以行動裝置為首的串流解決方案
  • 教育或活動類串流平台

使用建議

  • 需要RTMP伺服器設定
  • 僅限 Android 和 iOS(無網頁/桌面支援)
  • 網路穩定性影響串流品質
  • 可能需要在設備上授予額外權限
  • 依賴原生平台庫

原始 README

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

flutter_rtmp_publisher

This Plugins helps to brodcast Live via RTMP right from your flutter application. In a single Line of code.

Under the hood plugins uses SRS(Simple-RTMP-Server) for Android and LFLiveKit for iOS

Supported Platforms

  • Android
  • iOS

How to use

# add this line to your dependencies
flutter_rtmp_publisher: ^0.0.1
import 'package:flutter_rtmp_publisher/flutter_rtmp_publisher.dart';
// To start the stream call
RTMPPublisher.streamVideo("<PLACE_YOUR_RTMP_STREAM_URL>");

It only takes one required parameter i.e., url

  • Make sure your app has camera permission

Preview Images

If you need any features suggest

if you like it please star

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。