Skip to content

Use RequestResponse to report protocol handling errors#3895

Merged
boks1971 merged 11 commits intomasterfrom
raja_errors
Sep 4, 2025
Merged

Use RequestResponse to report protocol handling errors#3895
boks1971 merged 11 commits intomasterfrom
raja_errors

Conversation

@boks1971
Copy link
Copy Markdown
Contributor

@boks1971 boks1971 commented Sep 2, 2025

Protocol PR - livekit/protocol#1184

Send responses for protocol handling errors.

For specific signal requests

  1. offer - will error out and force a negotiation error if something goes wrong, so no RequestResponse sent.
  2. answer - same as above
  3. trickle - added sending error response in this PR.
  4. add_track - added sending error response in this PR (including a QUEUED indication when the request is queued)
  5. mute - added sending error response in this PR
  6. subscription - TODO
  7. track_setting - TODO
  8. leave - this will close the participant and it could send LeaveRequest back, so no RequestResponse sent.
  9. SetSimulcastLayers - deprecated and not included in livekit_rtc.proto file
  10. update_layers - deprecated (might come back at some point)
  11. subscription_permission - TODO
  12. sync_state - errors in this will trigger a full reconnect, so no RequestResponse sent.
  13. simulate - not planning RequestResponse.
  14. ping - deprecated
  15. update_metadata - already had RequestResponse, this PR enhances the response.
  16. ping_req - this is already a ping/pong, so no RequestResponse.
  17. update_audio_track - this PR adds RequestResponse.
  18. update_video_track - same as above.

@boks1971 boks1971 requested a review from a team September 2, 2025 15:54
Comment thread pkg/rtc/clientinfo.go
}

func (c ClientInfo) SupportPrflxOverRelay() bool {
func (c ClientInfo) SupportsPrflxOverRelay() bool {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just making these naming consistent using the prefix Supports

@frostbyte73 frostbyte73 requested review from a team and removed request for a team September 2, 2025 21:10
@boks1971 boks1971 requested review from a team and removed request for a team September 4, 2025 04:04
@boks1971 boks1971 merged commit 07c40cf into master Sep 4, 2025
6 checks passed
@boks1971 boks1971 deleted the raja_errors branch September 4, 2025 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants