FLUTTER ECOSYSTEM

MarshallTechnology/video_stream

MarshallTechnology/video_stream open-source repository details.

비디오 스트림 프로젝트 이미지
Stars
9
Forks
24
최근 푸시(UTC)
2022. 9. 18.
프로젝트 상태
활성
MarshallTechnology GitHub avatar
GITHUB Organization

MarshallTechnology ↗

언어KotlinDartObjective-CSwiftRuby

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 6 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

video_stream

A new Flutter package for basic live streaming video to RTMP server.

Getting Started

This plugin is an simplified version of camera_with_rtmp an extension of the flutter camera plugin to add in rtmp streaming as part of the system. It works on android and iOS (but not web).

Features:

  • Display live camera preview in a widget.
  • stream video to a rtmp server.
iOS

Add two rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key Privacy - Microphone Usage Description and a usage description.

Or in text format add the key:

<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSMicrophoneUsageDescription</key>
<string>Can I use the mic please?</string>
Android

Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21

Need to add in a section to the packaging options to exclude a file, or gradle will error on building.

packagingOptions {
   exclude 'project.clj'
}