![]() / Entry point for the example application. ![]() ![]() These are just two values identifying 2 users. Same code from user1 is used for user2 app, except the value of remoteUid is set to be 2 for user2 while this value is set to be 1 for user1. For user2, no alert box is there in the app. ![]() I am gonna put my code here in such a way that you can easily run that.įollowing code is for user1. Obviously I want the local video to load as it did for the first time. video of the user using the app) keeps loading for ever. But after going to the video chat screen successfully, if the user taps on the back button on the mobile set then s/he is taken to screen1 and after tapping on button1, if the user taps on the Continue button in the popped up alert dialog, the user is again taken to screen2 but this time the local video (i.e. On tapping the Continue button in the alert dialog, the dialog disappears and the user is taken to the screen (say screen2) where the video chat takes place. I have a screen or activity (say screen1) where an alert dialog is shown on tapping a button (say button1). After both of them go online, they can do video chat with one another. Generate a temporary token Create a Flutter Project Add dependencies Implement video call 1. User1 has an app to go online and user2 has another app to go online. Open your Android-level build.I am using Agora for a one-to-one video chat purpose in Flutter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |