Skip to content
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

How can i get coonection stats? #51

Open
shabanov-krl opened this issue Mar 25, 2024 · 9 comments
Open

How can i get coonection stats? #51

shabanov-krl opened this issue Mar 25, 2024 · 9 comments

Comments

@shabanov-krl
Copy link

on web version in devtools i see websocket with bitrate and other stats

how can i get stats from my flutter app?

@saghul
Copy link
Member

saghul commented Mar 25, 2024

There is no API for it, but there is UI. Long press on a participant tile and select connection information.

@shabanov-krl
Copy link
Author

@saghul

There is no API for it, but there is UI. Long press on a participant tile and select connection information.

i want to send stats to backend. can i do it any way? i know about videobridge statistics but i need stats of specific connection.

@saghul
Copy link
Member

saghul commented Mar 25, 2024

It's not currently possible. The mobile SDKs are high level SDKs and don't provide access to that low level information.

Can you provide more details on what you want to do? If you want to monitor call statistics, have you looked at rtcstats? It works out of the box.

@shabanov-krl
Copy link
Author

have you looked at rtcstats?

can u provide link to documentation please? where can i see this statistic?

@saghul
Copy link
Member

saghul commented Mar 25, 2024

This is the library, which is a good starting point: https://github.com/jitsi/rtcstats

Jitsi Meet supports it out of the box, so all you need is to configure the server in config.js and the stats will be sent there.

@ilyichumakov
Copy link

Hello, @saghul, thanks for answer! Just to be sure what we exactly need to do:

  1. Install, configure and run https://github.com/jitsi/rtcstats-server on our backend (not jitsi server)
  2. Set rtcstatsEndpoint in <our-server>-config.js to deployed rtcstats-server (How to configure auth then?)
  3. Read stats by any connection from rtcstats-server e.g. via https://github.com/jitsi/rtcstats package
    Right?

@saghul
Copy link
Member

saghul commented Mar 25, 2024

Pretty much yes!

@ilyichumakov
Copy link

Thanks a lot! But I'm facing the trouble that rtcstats-server requires aws credentials. I don't want to upload anything at aws, is there an option to store everything locally?

@saghul
Copy link
Member

saghul commented Mar 26, 2024

Alas no, since it's built on top of redshift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants