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

Added protobuf support #5

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Added protobuf support #5

wants to merge 5 commits into from

Conversation

refck
Copy link

@refck refck commented Aug 3, 2023

Fixed some bugs with the package version conflicts and also fixed the buffer conversion issue. Confirmed Uin8Array.buffer lost some data of the array which makes some NAL unit related process broken. After using Buffer package instead, those data loss situation is gone and also protobuf message could be visualized.

Could you please merge this if you feel okay and push the changes to the extension app on the foxglove extension marketplace?

@changkk changkk mentioned this pull request Aug 3, 2023
@christian-nils
Copy link

christian-nils commented Oct 13, 2023

Hi @refck,

How do you build it? yarn install && yarn package ? This fails for me due to an error:

error Package "node-video-lib" refers to a non-existing file '"/projects/Repos/refck_extension/node-video-lib@npm:2.2.1#./patches/node-video-lib-async.patch"'.

It seems to look for a folder "node-video-lib".

Another issue arises though, after installing the extension, foxglove-studio (v.1.72.0) returns in the panel:

This panel encountered an unexpected error
Something went wrong in this panel. Dismiss this error to continue using this panel. If the issue persists, try resetting the panel.

Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
Show details

To fix this I need to set the react version to 17.0.2 in package.json. Do you encounter this issue too?

Thanks

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