-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] I am not able to find the duration of the call #81
Comments
@GitAnubhav1, you can get the duration for the local user: |
Hi Max, Thank you for your response. I am really struggling to use rtcstats in my code. I am using the Code as suggested in the package: // Instantiate the client // Initialize the Agora Engine void initAgora() async { // Build your layout Could you please help me find out where and how, I can get the duration of the call if a user leaves the meeting? |
@GitAnubhav1 You can find the duration of the local user by using leave channel, something like this:
If you want to find the duration of a remote user then you can use the remoteAudioStats callback something like:
|
Looks like @Meherdeep's comment fixes the solution, no response in 7 days so closing. Feel free to open again if this solution did not work for you. |
Once any user ends the call or decided to opt out of the video call, is there a way we can find the duration of the call?
The text was updated successfully, but these errors were encountered: