All Projects → ugiacoman → react-native-broadcast

ugiacoman / react-native-broadcast

Licence: other
React Native bindings for RTMP broadcasting

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
assembly
5116 projects
java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language
GLSL
2045 projects

Projects that are alternatives of or similar to react-native-broadcast

alternative-front-ends
Overview of alternative open source front-ends for popular internet platforms (e.g. YouTube, Twitter, etc.)
Stars: ✭ 1,664 (+4166.67%)
Mutual labels:  youtube
ytqck.github.io
YouTube quick ⚡ Search and Download Music for Free.
Stars: ✭ 18 (-53.85%)
Mutual labels:  youtube
AnnotationsRestored
Brings annotation support back to YouTube
Stars: ✭ 39 (+0%)
Mutual labels:  youtube
YouTube-Downloader
An easy-to-use, YouTube video downloader, without pesky ads or malware.
Stars: ✭ 22 (-43.59%)
Mutual labels:  youtube
Diffy
🎞️💓🍿 Love streaming - It's always best to watch a movie together ! 🤗
Stars: ✭ 37 (-5.13%)
Mutual labels:  streaming-video
hosts
🄯Curated lists of hosts files with various domain blocks.🄯
Stars: ✭ 15 (-61.54%)
Mutual labels:  youtube
youtube-transcriber
Automatically transcribes YouTube videos
Stars: ✭ 71 (+82.05%)
Mutual labels:  youtube
mediafeed
Web application to help categorize and aggregate subscriptions of media channels for easy access. (working only with Youtube channels at this moment)
Stars: ✭ 15 (-61.54%)
Mutual labels:  youtube
YoutubePlayer
Play and download YouTube videos. Extract audio from video. With minimalist beautiful gui.
Stars: ✭ 19 (-51.28%)
Mutual labels:  youtube
YouTubeFeeds
Get new youtube video notifs, on telegram!
Stars: ✭ 29 (-25.64%)
Mutual labels:  youtube
download audioset
📁 This repo makes it easy to download the raw audio files from AudioSet (32.45 GB, 632 classes).
Stars: ✭ 53 (+35.9%)
Mutual labels:  youtube
ytmparty
Listen to music with your friends in Youtube Music.
Stars: ✭ 27 (-30.77%)
Mutual labels:  youtube
podpodge
Convert YouTube playlists to audio-only RSS feeds for podcast apps to consume.
Stars: ✭ 32 (-17.95%)
Mutual labels:  youtube
gsitemap
This module generates your Google sitemap file
Stars: ✭ 52 (+33.33%)
Mutual labels:  native-module
coding-projects
The coding projects which have been covered in the YouTube videos
Stars: ✭ 21 (-46.15%)
Mutual labels:  youtube
TogetherStream
A social and synchronized streaming experience
Stars: ✭ 16 (-58.97%)
Mutual labels:  youtube
DraggablePanel
Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube New graphic component.
Stars: ✭ 94 (+141.03%)
Mutual labels:  youtube
YouTubeDownloader
A simple to use youtube playlists/videos/audios downloader.
Stars: ✭ 33 (-15.38%)
Mutual labels:  youtube
mpv-youtube-download
A userscript for MPV that allows you to download youtube audio and video with one key press 💾
Stars: ✭ 16 (-58.97%)
Mutual labels:  youtube
RokuKast
A Chrome extension to stream web videos to Roku devices.
Stars: ✭ 63 (+61.54%)
Mutual labels:  streaming-video

react-native-broadcast

Getting started

$ npm install react-native-broadcast --save

Mostly automatic installation

$ react-native link react-native-broadcast

  • iOS: Add Privacy - Camera Usage Description and Privacy - Microphone Usage Description to your project's Info.plist

  • Android: Add the following permissions to your Android Manifest

    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.RECORD_VIDEO"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-broadcast and add RNBroadcast.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNBroadcast.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<
  5. Need to add Link binary to libz & libstdc++ into final project

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNBroadcastPackage; to the imports at the top of the file
  • Add new RNBroadcastPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-broadcast'
    project(':react-native-broadcast').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-broadcast/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-broadcast')
    

Usage

  • Start publishing by providing an rtmpURL.
  • Stop publishing by providing an empty string: ''
  • Camera Position can be either 'front' or 'back'
import BroadcastView from 'react-native-broadcast';

<BroadcastView
  publish='rtmp://a.rtmp.youtube.com/live2/...'
  cameraPosition='front'
/>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].