Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RSDK-8597] properly respond to signaling request when 'no available connections' #311

Conversation

mattjperez
Copy link
Member

No description provided.

@mattjperez mattjperez marked this pull request as ready for review September 16, 2024 20:42
@mattjperez mattjperez requested a review from a team as a code owner September 16, 2024 20:42
Copy link
Member

@npmenard npmenard left a comment

Choose a reason for hiding this comment

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

done with first pass

micro-rdk/src/common/webrtc/api.rs Outdated Show resolved Hide resolved

sig_channel.send_sdp_error(&sdp).await?;

// this delay ensures that the sdp error is properly sent and received before closing the connection.
Copy link
Member

Choose a reason for hiding this comment

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

can you expand on this? did we confirm 100% it's a race with writing to the MongoDB document?

Copy link
Member Author

@mattjperez mattjperez Sep 16, 2024

Choose a reason for hiding this comment

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

Not confirmed yet. Should know tomorrow, will update description and attach a ticket if needed. Wanted to get a first pass done while I wrap that up.

micro-rdk/src/common/webrtc/api.rs Outdated Show resolved Hide resolved
micro-rdk/src/common/webrtc/api.rs Outdated Show resolved Hide resolved
micro-rdk/src/common/webrtc/api.rs Outdated Show resolved Hide resolved
micro-rdk/src/common/webrtc/api.rs Show resolved Hide resolved
Copy link
Member

@npmenard npmenard left a comment

Choose a reason for hiding this comment

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

LGTM

@mattjperez mattjperez force-pushed the rsdk-8597-no-available-connection-errormsg branch from 5ea2d25 to a1cfdaa Compare September 23, 2024 12:28
@mattjperez mattjperez merged commit 20e82e0 into viamrobotics:main Sep 23, 2024
6 checks passed
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