Clone from tnoho/WebRTCHandsOn And modify to using Firebase database for SDP signaling
1. Config your Firebase project
- Make your database rule allow read/write at
Call/
:
"Call": {
".read": true,
".write": true
}
you need use 2 device to test conection
- Before build app on first one, make sure
var sender: Int = 1
var receiver: Int = 2
in ChatViewController
- And change it when build the second:
var sender: Int = 2
var receiver: Int = 1