Skip to content

Commit

Permalink
udp->rtc
Browse files Browse the repository at this point in the history
  • Loading branch information
baranovmv committed Dec 3, 2024
1 parent ee7cfea commit 212c322
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/internal_modules/roc_rtcp/communicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ status::StatusCode Communicator::process_packet(const packet::PacketPtr& packet,
roc_panic_if_msg(!packet, "rtcp communicator: null packet");
roc_panic_if_msg(!packet->udp(), "rtcp communicator: non-udp packet");
roc_panic_if_msg(!packet->rtcp(), "rtcp communicator: non-rtcp packet");
roc_panic_if_msg(current_time <= 0, "rtcp communicator: invalid timestamp");

roc_log(LogTrace, "rtcp communicator: processing incoming packet");

Expand All @@ -89,7 +88,7 @@ status::StatusCode Communicator::process_packet(const packet::PacketPtr& packet,
}

status::StatusCode status =
reporter_.begin_processing(packet->udp()->src_addr, current_time);
reporter_.begin_processing(packet->udp()->src_addr, packet->udp()->receive_timestamp);
roc_log(LogTrace, "rtcp communicator: begin_processing(): status=%s",
status::code_to_str(status));

Expand Down

0 comments on commit 212c322

Please sign in to comment.