Skip to content

APP-14871: Report connection metadata after WebRTC dial#863

Draft
danielbotros wants to merge 3 commits intomainfrom
APP-14871-report-connection-metadata
Draft

APP-14871: Report connection metadata after WebRTC dial#863
danielbotros wants to merge 3 commits intomainfrom
APP-14871-report-connection-metadata

Conversation

@danielbotros
Copy link
Copy Markdown
Member

@danielbotros danielbotros commented Mar 31, 2026

Description

APP-14871 Track coturn usage

Calls reportConnectionMetadata on the signaling server after a WebRTC connection is successfully established, mirroring the Go implementation in viamrobotics/goutils#544.

  • Adds selectedICECandidateType which inspects RTCPeerConnection.getStats() to find the nominated candidate pair and classify the connection as host, stun, coturn_relay, or twilio_relay (same logic as Go)
  • Reports the ICE candidate type and SDK_TYPE_TYPESCRIPT
  • App side changes found here

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@danielbotros danielbotros requested a review from a team as a code owner March 31, 2026 15:28
@danielbotros danielbotros marked this pull request as draft March 31, 2026 15:30
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