Server side metrics (#3198)

* mbb WIP

* deps

* WIP

* WIP

* remove unused file

* Switch to enabled

* misc

* deps

* mediatransportutil update

* Typo

* Set ParticipantIdentity in metrics data packets

* use uint32 as JSON decoder does not unmarshal time.Duration
This commit is contained in:
Raja Subramanian
2024-11-25 13:10:48 +05:30
committed by GitHub
parent d07d84f99f
commit 23285744ba
16 changed files with 619 additions and 137 deletions
+4
View File
@@ -63,6 +63,10 @@ func NewMetricTimestamper(params MetricTimestamperParams) *MetricTimestamper {
}
func (m *MetricTimestamper) Process(batch *livekit.MetricsBatch) {
if m == nil {
return
}
// run OWD estimation periodically
estimatedOWDNanos := m.maybeRunOWDEstimator(batch)