AgoraIO-Community / VideoUIKit-Flutter

Flutter plugin to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
https://agora-flutter-uikit.vercel.app/
MIT License
138 stars 76 forks source link

[BUG] how can i add event handlers please #165

Open Ahmad0Tanveer opened 9 months ago

Ahmad0Tanveer commented 9 months ago

AgoraClient client = AgoraClient( agoraConnectionData: AgoraConnectionData( appId: "............ ID.............", channelName: "test", username: name, ), agoraEventHandlers: AgoraRtcEventHandlers( onUserJoined: (x,y,z) { setState(() { ggg = client.users.length; }); } ) ); how can i create design like whats app video calling one to one calling and Joint add Users lay change to Gride

Meherdeep commented 6 months ago

You can take a look at this guide that explains how to add event handlers: https://github.com/AgoraIO-Community/VideoUIKit-Flutter/wiki/Examples#accesing-agora-rtcengineeventhandlers