Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Added "media-playout" to prevent spam in Aggregated Stats #232

Merged
merged 4 commits into from
Jun 6, 2023

Conversation

chasse20
Copy link
Contributor

@chasse20 chasse20 commented May 17, 2023

Relevant components:

  • [x ] Frontend library

Problem statement:

Many browser versions don't yet support the "media-playout" stats type which causes flooding spam in the console, making it impossible to debug. This is a simple fix to stop that.

See: media-playout

Solution

Default cases it out like similar other stats. Also it appears Typescript hasn't updated their definition of RTCStatsType enum to include "media-playout" yet. That's annoying.

Signed-off-by: Chris Hassebrook <chasse20@gmail.com>
Signed-off-by: Chris Hassebrook <chasse20@gmail.com>
Also pushed AggregatedStats.ts
Signed-off-by: Chris Hassebrook <chasse20@gmail.com>
Copy link
Contributor

@lukehb lukehb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Sorry for the delay.

@lukehb lukehb merged commit 9c871b5 into EpicGames:master Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants