How to get fps and packet loss to MainActivity from Android sdk

Description
How to get fps and packet loss to MainActivity from Android sdk.’

Which Android Client SDK version?
latest

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots
How to utilize above apis

Smartphone (please complete the following information):

  • Device: [e.g. Pixel 5]
  • OS: [e.g. Android 11]

Additional context
Add any other context about the problem here.

Hi @chetanvangadi, thanks for using our SDK.

Please note that I have moved your post over to the #mobile-video-sdk:android category as you appear to be asking about the Video SDK. :slightly_smiling_face:

After joining a session, you can call ZoomInstantSDK.getInstance().getSession() to retrieve the current session. On that session object, you can either call getSessionVideoStatisticInfo() to get the video info or getSessionShareStatisticInfo() to get the share info for the current session.

Thanks!

getSessionVideoStatisticInfo.fps returns zero when only the host is in the session. The sample app only shows the frame rate for those who are NOT the host.

Hi @AndroidDev,

I have responded to your other post regarding this behavior. Please try to refrain from posting multiple times about the same topic so that the forum remains as easy to navigate for everyone as possible. :slightly_smiling_face:

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.