Skip to content

fix: stop sending deprecated SendStats fields - #14

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/rust-sdk-maintenance-dab1
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/rust-sdk-maintenance-dab1

Conversation

@cursor

@cursor cursor Bot commented Oct 7, 2026

Copy link
Copy Markdown

Summary

Syncs the vendored SFU signal proto with the latest GetStream/protocol main, which removes the deprecated SendStatsRequest fields subscriber_stats, publisher_stats, audio_devices, video_devices, subscriber_rtc_stats, and publisher_rtc_stats (now reserved).

The stats reporter no longer serializes the raw getStats() reports into those strings. The same per-PeerConnection samples still reach the dashboard as getstats records inside rtc_stats. This matches the public clients: stream-video-js #2488 and stream-video-swift #1353.

rtc::proto is exempt from compatibility guarantees; the change is noted in CHANGELOG.md.

Verification

  • cargo fmt --all --check, cargo clippy --locked --all-targets --all-features -- -D warnings, cargo test --locked (285 lib tests + all integration suites, live), cargo test --locked --doc, RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps
  • Live SendStats tests: publisher and subscriber reports accepted with no error, and the subscriber rollup still carries getstats, ICE, and ontrack records
  • examples/join_call joins and leaves cleanly
Open in Web聽View Automation聽

Sync the vendored SFU signal proto, which removes the deprecated
SendStatsRequest raw-stats and input-device fields. The stats reporter no
longer serializes raw getStats() strings; samples still ship as getstats
records in rtc_stats, matching stream-video-js and stream-video-swift.

Co-authored-by: Neevash Ramdial (Nash) <mail@neevash.com>
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