项目
在 GitHub 查看 
sieuhuflit/react-native-live-stream-rtmp-example
关于
React native live stream using RTMP
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React native live stream RTMP Example
An example live stream rtmp application using React native

Getting Started
We need the RTMP server first. Download the repository below and follow the README information.
Server : https://github.com/sieuhuflit/live-tream-rtmp-server
Config
Before start, open config.ts file to edit RTMP server ip address
const Config = {
RTMP_URL: 'rtmp://{YOUR_RTMP_IP_ADDRESS_HERE}/live',
};
export default Config;
Install package & Running
yarn install
yarn ios
yarn android
Check live stream work
After running rtmp server, we can run below command
Command below is serve the test.mp4 video to localhost with stream name test
ffmpeg -re -i ~/Desktop/test.mp4 -c copy -f flv rtmp://localhost/live/test
FAQ
Start live stream iOS simulator not displayed Start live stream not worked on iOS simulator, please test start live stream feature on real iOS device
Display blanked when join room on Android Make sure you change IP address on step above
License
探索相关项目
加载中…