summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/src/hiperf.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc
index e10907ccc..6f605aab9 100644
--- a/utils/src/hiperf.cc
+++ b/utils/src/hiperf.cc
@@ -533,7 +533,7 @@ class HIperfServer {
if (!ec) {
auto payload =
content_objects_[content_objects_index_++ & mask_]->getPayload();
- producer_socket_->produce(payload.data(), payload.length());
+ producer_socket_->produce(payload->data(), payload->length());
rtc_timer_.expires_from_now(
configuration_.production_rate_.getMicrosecondsForPacket(
configuration_.payload_size_));
@@ -625,7 +625,8 @@ void usage() {
"the suffix to 0."
<< std::endl;
std::cerr << "-B\t<bitrate>\t\t\t"
- << "Bitrate for RTC producer, to be used with the -R option." << std::endl;
+ << "Bitrate for RTC producer, to be used with the -R option."
+ << std::endl;
std::cerr << std::endl;
std::cerr << "Client specific:" << std::endl;
std::cerr << "-b\t<beta_parameter>\t\t"