foxglove / ws-protocol

Foxglove Studio WebSocket protocol specification and libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The data recorded by the mcap-record command is too large.

iifeve opened this issue · comments

Description
When using the mcap-record command to record a live stream, if the recording file exceeds 700k (successfully recorded a 608k file), the mcap file will suddenly increase in size. When playing in foxglove, the error message "This file is unindexed. Unindexed files may have degraded performance" or "Chunks without message indexes are not currently supported" will be prompted.

  • Version: loaded by npx, it should be latest version I guess
  • Platform: windows with node.js. npm version is 10.2.3, node version is v21.2.0

Steps To Reproduce

the python example server could reproduce this. just play it long enough. The file suddenly takes up more space.

mcap.zip
The attachment contains the results of two recordings, with only one frame difference between the two results.
Expected Behavior

Internal tracking ticket: FG-5775