A simple WebRTC Implementation with Viper architecture and Firebase as signalling server written in Swift 5.
Table of Contents
The project uses Firebase Real Time Database as a service for WebRTC Signalling. After the exchange of keys, connection for voice call will be established.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- Cocoapods
pod init
- Firebase
Make sure to enable Firebase Real Time Database's read/write permissions to exchange signalling.
- Clone the repo
git clone https://github.com/lowkeyboard/Talkien_Voice_Call_App.git
- Install pod packages
pod install
- Change the file
GoogleService-Info
with your config file.
After typing the name of the caller and callee in the first page, press to "send offer" button to send offer to Firebase, wait for callee to do the same and after signalling has completed, voice call connection will be established. In order to end the call simply press to End Call button and you will be redirected to the first page.
For more examples, please refer to the Documentation
- Signalling
- Voice Call
- [] CallKit UI
- [] Call Duration
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request