feat: add more track analytics#3600
Merged
raviteja83 merged 18 commits intomainfrom Feb 10, 2026
Merged
Conversation
Track video/audio constraints passed to getUserMedia and the resulting track.settings after successful getUserMedia call. This helps debug issues where requested constraints differ from actual track settings. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…acement Track video/audio constraints and resulting track.settings when tracks are replaced via replaceTrackWith in HMSLocalVideoTrack and HMSLocalAudioTrack. This covers track replacement scenarios like unmuting, device switching, and error recovery. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add applied_constraints from track.getConstraints() to the media constraints analytics event. This provides a more complete picture: - requested_constraints: what was passed to getUserMedia - applied_constraints: what the browser actually applied (from track) - track_settings: the actual resulting values Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add missing getConstraints() method to mock MediaStreamTrack objects to fix test failures caused by the new media constraints analytics. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Track frame rate and FPS metrics from HMSEffectsPlugin when applying media stream plugins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…nts analytics Add webgpu_supported and media_stream_track_processor_supported flags to the media.constraints event to help identify browser capabilities. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…isher stats - Add getMetrics() method to HMSEffectsPlugin to expose effects SDK performance metrics - Add getPluginsMetrics() method to HMSLocalVideoTrack and base HMSTrack class - Update HMSMediaStreamPlugin interface with optional getMetrics() method - Add track_settings and effects_metrics fields to publisher stats analytics payload - Capture native track settings from getSettings() in publisher stats Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…to stats analytics Add avg_bitrate_bps to subscriber stats, sample_start_ts/sample_end_ts/sample_duration_ms and enabled state to both publisher and subscriber stats for better observability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d remove enabled from stats Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AnshulMalik
approved these changes
Feb 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.