# react-native-live-stream-rtmp-example
**Repository Path**: EightDoor/react-native-live-stream-rtmp-example
## Basic Information
- **Project Name**: react-native-live-stream-rtmp-example
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-07-21
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# react-native-live-stream-rtmp-example
React native live streaming using RTMP.
Server : https://github.com/sieuhuflit/live-stream-rtmp-server
## Demo
| Streamer | Viewer |
| -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
|
## Teachnology using
Using react-native-nodemediaclient. Connect with RTMP server
- [RTMP Server](https://github.com/sieuhuflit/live-tream-rtmp-server) - Node media server using NodeJS
Server
## Config
- Config the SocketIO ip address and RTMP server path, change to your IP_ADDRESS, PORT, and PATH_LIVE_STREAM
```js
const socketIOIP = 'http://IP_ADDRESS:PORT';
const rtmpPath = 'rtmp://IP_ADDRESS/PATH_LIVE_STREAM/';
```
## Install package
```bash
npm install
```
## Running the App
### iOS
```bash
react-native run-ios
```
### Android
```bash
react-native run-android
```