Function ouster::sdk::pcap::get_stream_info(const std::string&, int)

Function Documentation

std::shared_ptr<StreamInfo> ouster::sdk::pcap::get_stream_info(const std::string &file, int packets_to_process = -1)

Return the information about network streams in a pcap file.

Parameters:
  • file[in] – The pcap file to read.

  • packets_to_process[in] – Number of packets to process < 0 for all of them

Returns:

A pointer to the resulting stream_info