Flutter Agora Firebase Video Call (Agora RTC, Bloc Pattern, Cubit, Firestore, Cloud Function, FCM)
Flutter Agora Fully Functional Video Call module
Tech Stack
Client: Dart, Flutter
Server: Firebase firestore, Google cloud functions
Techniques:
*BloC pattern with Cubit State management
*Fully Real-time data-consuming for (Users-History-VideoCall status)
*Real-time handling for all call status (calling – accept- reject – cancel – busy – unAnswer – end)
*Clean code and arch
*Ui=>Cubit=>Api data flow
*Dio package for deals with (generate agora token – FCM) api
*Fcm notification (handling incoming calls in terminated mode)
Build token generator using nodejs: https://www.youtube.com/watch?v=KcLypppA2IQ&ab_channel=Agora
Demo Video : https://www.youtube.com/watch?v=Ond-VhB11h4
Getting Started
*Create a new firebase project and setup firestore, add dummy user data
*Copy FCM authorization key and past it on fcmKey var in constants.dart file
*Create agora new project and general token, channel name for test purpose and past them in (agoraAppId-agoraTestChannelName-agoraTestToken) vars in constants.dart file