Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dipanshkhandelwal/react-native-webrtc-firebase

Minimal react native web-etc example with Firebase
https://github.com/dipanshkhandelwal/react-native-webrtc-firebase

firebase firestore javascript react react-native reactjs video-call web-rtc web-rtc-demo

Last synced: about 2 months ago
JSON representation

Minimal react native web-etc example with Firebase

Awesome Lists containing this project

README

        

# react native web-rtc firebase

Minimal react native web-etc example with Firebase

## Read

This blog might help to understand the code : [dipanshkhandelwal-medium-react-native-webrtc-firebase](https://dipanshkhandelwal.medium.com/video-calling-using-firebase-and-webrtc-14cc2d4afceb)

## Demo

![Demo GIf](./demo/demo.gif)

## Steps to setup the project

1. Clone the reposiotry `git clone https://github.com/DipanshKhandelwal/react-native-webrtc-firebase.git`

2. Create a new firebase project `https://console.firebase.google.com/`

3. Add new apps in the firebase console

4. Add firebase config to the apps.

- For `Android`:
- Download the `google-services.json` and add it to this path `android/app/`

- For `ios`:
- Download the `GoogleService-Info.plist` and add it to your ios project using `xcode`

5. In the `firebase console` remember to create a new `Firestore` database and keep it's rules to test mode.

6. Go to the project folder, and run the following command.

- `yarn install`

7. Build the app:

- For `Android`
- `yarn run android`

- For `ios`
- `yarn run cocoapods`
- `yarn run ios`

## Steps to run

Take a look at the demo for understanding the steps better.

- Enter Room Id.

- **Caller**

- Call Screen
- Start Call

- **Callee**

- Join Screen
- Join Call

- Stop Call