Skip to content

feat(display):implement automatic reconnection for ROS and Video streams #713

Merged
CamilaTite26 merged 1 commit intomainfrom
708-auto-refresh-reconnect-ros-in-display
Mar 9, 2026
Merged

feat(display):implement automatic reconnection for ROS and Video streams #713
CamilaTite26 merged 1 commit intomainfrom
708-auto-refresh-reconnect-ros-in-display

Conversation

@CamilaTite26
Copy link
Copy Markdown
Contributor

implement auto-reconnect for ROS and video stream

@CamilaTite26 CamilaTite26 requested a review from a team as a code owner March 4, 2026 17:17
@CamilaTite26 CamilaTite26 linked an issue Mar 4, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could you explain why we need to modify this component?

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.

It is to implement an automatic reconnection of the stream.

return (
<div className="w-full max-w-3xl">
<img
key={retryCount}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this key needed?

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.

Yes, the key forces React to restart the img component from scratch.

@GilMM27
Copy link
Copy Markdown
Contributor

GilMM27 commented Mar 4, 2026

please upload a video of the reconnection ;)

@CamilaTite26
Copy link
Copy Markdown
Contributor Author

Screencast.from.03-07-2026.11.50.17.AM.webm

@CamilaTite26 CamilaTite26 requested a review from GilMM27 March 7, 2026 17:51
@GilMM27
Copy link
Copy Markdown
Contributor

GilMM27 commented Mar 8, 2026

please address my comments

Copy link
Copy Markdown
Contributor

@GilMM27 GilMM27 left a comment

Choose a reason for hiding this comment

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

nicely done

@CamilaTite26 CamilaTite26 merged commit 5411a32 into main Mar 9, 2026
5 checks passed
@CamilaTite26 CamilaTite26 deleted the 708-auto-refresh-reconnect-ros-in-display branch March 16, 2026 23:49
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.

auto-refresh reconnect ROS in display

2 participants