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 to get rtt information #125

Open
wchao1241 opened this issue Apr 1, 2024 · 0 comments
Open

How to get rtt information #125

wchao1241 opened this issue Apr 1, 2024 · 0 comments

Comments

@wchao1241
Copy link

wchao1241 commented Apr 1, 2024

peerConnection?.getStats(RTCStatsCollectorCallback { rtcStatsReport ->
            val statsMap = rtcStatsReport.statsMap
            for ((key, value) in statsMap) {
                Log.d("==rtcStatsReport==","Key: $key, Value: $value")
            }
        })

========================
The output is as follows

Key: P, Value: { timestampUs: 1711951786002673, type: peer-connection, id: P, dataChannelsOpened: 0, dataChannelsClosed: 0 }

I can't find any information related to RTT

@wchao1241 wchao1241 changed the title How to get rtt property How to get rtt information Apr 1, 2024
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

1 participant