Function ouster::sdk::pcap::next_packet_info

Function Documentation

bool ouster::sdk::pcap::next_packet_info(PlaybackHandle &handle, PacketInfo &info)

Return the information on the next packet avaliable in the PlaybackHandle.

This must be called BEFORE calling the read_next_packet function.

Parameters:
  • handle[in] – The playback handle.

  • info[out] – The returned information on the next packet.

Returns:

The status on whether there is a new packet or not.