Skip to content

Conversation

vatson
Copy link
Contributor

@vatson vatson commented Aug 29, 2025

Summary

FrozenVideoTrackDetector previously reported only SSRCs of frozen streams in the statsSample.
This PR extends the output to include the full frozen stream objects, which contain additional properties such as:

  • avgFreezeDurationMs
  • frozenDurationPct

Why

These extra fields are very useful for debugging and monitoring, since they expose the actual measured freeze durations instead of just identifiers.
The change is backwards-compatible because the ssrcs array is still included.

Possible follow-up

If the team prefers more control, I could make this behavior optional by introducing a verbose (or similar) flag in the detector’s constructor. This would allow toggling between minimal and detailed output without changing existing integrations.

@vatson vatson force-pushed the feat/frozen-video-stats branch from 2b284d6 to e888202 Compare August 29, 2025 11:29
@vatson vatson force-pushed the feat/frozen-video-stats branch from e888202 to 744681b Compare August 29, 2025 11:30
@vatson
Copy link
Contributor Author

vatson commented Aug 29, 2025

Closed due to inability to pass linter check

@vatson vatson closed this Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant