Artem Tarasiuk
891d96fe0e
Support more data from webrtc stats
2024-10-05 16:52:02 +03:00
Sean DuBois
3aab0355e0
Upgrade dtls, ice, stun and turn
...
New major version of all packages caused by DTLS upgrade
2024-08-12 13:45:35 -04:00
Sean DuBois
fda6c4f836
Fix linter errors
...
golangci-lint upgrade to v1.56.2 added more checks
Relates to pion/.goassets#201
2024-03-16 21:09:38 -04:00
Sean DuBois
898fdd6f6c
Fix ICECandidateStats.NetworkType type
...
Should be be marshaled/unmarshaled as a string to match the spec [0]
[0] https://www.w3.org/TR/2018/WD-webrtc-stats-20180627/#rtcnetworktype-enum
2023-09-11 09:35:19 -04:00
renovate[bot]
ea23dec2b9
Update module transport, srtp, ice and turn
...
ReplayDetector introduced a breaking change
2023-09-03 23:59:43 -04:00
Will Forcey
ee483daf56
Add SCTPTransportStats
2023-08-21 00:19:32 -04:00
Hans Gylling
1d12dc8f76
Revert breaking change in ICECandidateStats
2023-08-18 13:21:59 -04:00
Aleksandr Alekseev
2926b99173
Stats: improve JSON support, add missing structs
...
- Fix json marshalling of stats containing enums
- Add UnmarshalStatsJSON helper
- Add marshalling/unmarshalling tests
- Add missing AudioSourceStats, VideoSourceStats AudioPlayoutStats
defined in https://www.w3.org/TR/webrtc-stats
- Deprecate ICECandidateStats' NetworkType, use plain string
instead of enum which does not suite the definition:
https://clck.ru/354H9r
2023-08-17 13:15:07 -04:00
Steffen Vogel
683fc837d0
Make repo REUSE compliant
2023-05-05 11:58:49 -04:00
Tristan Matthews
303f204df5
Drop duplicate stats from marshall test
2023-04-11 14:41:03 -04:00
Woodrow Douglass
d07baa8973
Add a few tests, to improve coverage
...
specifically, tests for stats.go, certificate.go and sdpsemantics.go
2022-05-12 20:49:44 -04:00
Sean DuBois
157220e800
Run gofmt
to add new build constraints
...
Also remove some 1.13 specific WASM code
2022-01-17 22:36:01 -05:00
Sean DuBois
8cbcb571c2
Use constants for MimeType
...
Replace VP8/H264/Opus string usage
2021-08-25 21:41:49 -04:00
Sean DuBois
9c7b365144
Use closePairNow in tests
...
Instead of explicitly closing each PeerConnection use helper.
No change in test behavior, just makes code more consistent.
2021-02-16 15:47:58 -08:00
Sean DuBois
7edfb701e0
New Track API
...
The Pion WebRTC API has been dramatically redesigned. The design docs
are located here [0]
You can also read the release notes [1] on how to migrate your
application.
[0] https://github.com/pion/webrtc-v3-design
[1] https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0
2020-11-15 09:20:47 -08:00
Sean DuBois
804a12fed3
Update CI configs to v0.4.7
...
Update lint scripts and CI configs.
2020-09-30 09:06:34 -07:00
obasajujoshua31
7d79c766c9
Add GetMediaStats to StatsReport
...
Add an API to get basic stats around media.
Relates to #610
mend
2020-09-22 14:05:06 -04:00
obasajujoshua31
9d393905c1
Add GetMediaStats to StatsReport
...
Add an API to get basic stats around certificate
Relates to #610
2020-09-22 12:03:52 -04:00
Atsushi Watanabe
b0d95d59da
Fix TestPeerConnection_GetStats stability
...
Add sleep to ensure counting the last packet.
2020-04-07 13:49:20 -07:00
Sean DuBois
e45c256e6c
Fix GetStats SEGV
...
Fix crash when GetStats called on Closed PeerConnection
Resolves #1005
2020-02-06 14:17:43 -08:00
Hugo Arregui
e4d636da91
Check for dc.id in stats
...
Recent changes allow a dc to have a nil id before it's actually open,
but stats used to require the id.
2019-11-29 10:35:01 -08:00
Hugo Arregui
ec6c432dc8
Add ICE transport and SCTP transport stats
...
bytes received, bytes sent
2019-08-22 18:31:17 +00:00
Hugo Arregui
93261960b1
Basic stats
...
Load DC, CandidatePair and Candidate basic stats
2019-06-25 19:36:57 +00:00