24 #include "cheetah/exporters/SpCclSpeadStreamerConfig.h" 31 SpCclSpeadStreamerConfig::SpCclSpeadStreamerConfig()
32 : BaseT(
"sps_spead_stream")
33 , _endpoint_config(
"ip")
37 _endpoint_config.address(ska::panda::IpAddress(9027,
"127.0.0.1"));
38 add(_endpoint_config);
42 SpCclSpeadStreamerConfig::~SpCclSpeadStreamerConfig()
46 void SpCclSpeadStreamerConfig::add_options(OptionsDescriptionEasyInit& add_options)
49 (
"packet_size",boost::program_options::value<unsigned>(&_packet_size)->default_value(_packet_size),
"size of the UDP packet")
50 (
"rate_limit",boost::program_options::value<float>(&_send_rate)->default_value(_send_rate),
"limit the UDP send rate to avoid dropped packets (0.0=nlimited)");
58 panda::IpAddress
const& SpCclSpeadStreamerConfig::send_address()
const 60 return _endpoint_config.address();
65 return _window_config;
float send_rate_limit() const
Limit the data send rate in bytes per-second.
unsigned packet_size() const
: the size of UDP packet to send
data::CandidateWindowConfig const & window_config() const
: Getter for window config
Some limits and constants for FLDO.
Config Module for initialising a CandidateWindow object.
data::CandidateWindowConfig const & window_config() const
: Getter for window config