Currently, we still iterate over an entire MCAP file to retrieve all the messages that are relevant for a given dyn MessageLayer. We should abstract of the ::mcap::Summary and mcap_bytes to allow indexed access + filtering of the MCAP file.
We should be able to:
- Filter by topic
- Filter by time range
Each MessageLayer should specify the encoding or schema of messages that it is interested in and then get presented only those messages. This is required large MCAP files, as well as presenting more useful errors on a per-layer basis.