Skip to content

Add missing connection quality field#696

Open
1egoman wants to merge 2 commits into
mainfrom
add-connection-quality-field
Open

Add missing connection quality field#696
1egoman wants to merge 2 commits into
mainfrom
add-connection-quality-field

Conversation

@1egoman
Copy link
Copy Markdown
Contributor

@1egoman 1egoman commented Jun 2, 2026

Most other client sdks (checked web, swift, and android) support a participant.connectionQuality type field in addition to a "participant connection quality changed" event. However, the python sdk seems to be missing it, and only exposes this over an event. Fix this so that the sdks are more consistent with each other.

Note that I have opted to introduce a shadowed ConnectionQuality custom enum rather than return the protobuf version directly here (like how it used to work). This should be fully backwards compatible and means that the new participant.connection_quality field can be QUALITY_UNKNOWN until the first connection quality event is received, matching behavior in other sdks.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

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.

2 participants