Function ouster::sdk::pcap::record_initialize

Function Documentation

std::shared_ptr<RecordHandle> ouster::sdk::pcap::record_initialize(const std::string &file, int frag_size, bool use_sll_encapsulation = false)

Initialize the record handle for recording multi sensor pcap files.

Source and destination IPs must be provided with each packet.

Parameters:
  • file[in] – The file path to the target pcap to record to.

  • frag_size[in] – The size of the fragments for packet fragmentation.

  • use_sll_encapsulation[in] – Whether to use sll encapsulation.

Returns:

RecordHandle A handle to the initialized record.