How to get rtt information

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start with the peerConnection?.getStats(RTCStatsCollectorCallback) entry point shown in the issue and inspect the returned statsMap. Compare the available report types and fields with the WebRTC Android stats API; done means documenting where RTT information appears or clarifying that this output does not expose it.

Written by the indexing model from the issue text.

Description

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

Dominant language
Kotlin
Stars
890
Forks
109
Avg merge
11m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/webrtc-android

All issues in GetStream/webrtc-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.