pion / ice

A Go implementation of ICE
https://pion.ly/
MIT License
454 stars 160 forks source link

Add ability to get selected candidate pair stats #735

Closed boks1971 closed 1 month ago

boks1971 commented 1 month ago

It is useful to have stats from just the selected pair as a lightweight option where a lot of agents are running, for example, an SFU.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 85.71429% with 3 lines in your changes missing coverage. Please review.

Project coverage is 79.24%. Comparing base (410d6ec) to head (486350b). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
agent_stats.go 85.71% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #735 +/- ## ========================================== + Coverage 79.20% 79.24% +0.03% ========================================== Files 41 41 Lines 3799 3820 +21 ========================================== + Hits 3009 3027 +18 - Misses 558 560 +2 - Partials 232 233 +1 ``` | [Flag](https://app.codecov.io/gh/pion/ice/pull/735/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | Coverage Δ | | |---|---|---| | [go](https://app.codecov.io/gh/pion/ice/pull/735/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `79.24% <85.71%> (+0.03%)` | :arrow_up: | | [wasm](https://app.codecov.io/gh/pion/ice/pull/735/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `22.23% <0.00%> (-0.13%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.