Struct StreamedSource

Struct Documentation

struct StreamedSource

A streamed (non-seekable) data source.

Represents a URL data source that must be read sequentially. The client will fetch the URL and read the response body as a stream of MCAP bytes.

Public Members

std::string url

URL to fetch the data from. Can be absolute or relative. If id is absent, this must uniquely identify the data.

std::optional<std::string> id

Identifier for the data source. If present, must be unique. If absent, the URL is used as the identifier.

std::vector<Topic> topics

Topics present in the data.

std::vector<Schema> schemas

Schemas present in the data.

std::string start_time

Earliest timestamp of any message in the data source (ISO 8601).

You can provide a lower bound if this is not known exactly. This determines the start time of the seek bar in the Foxglove app.

std::string end_time

Latest timestamp of any message in the data (ISO 8601).