@@ -199,7 +199,7 @@ packet::IWriter& ReceiverEndpoint::inbound_writer() {
199199 return *this ;
200200}
201201
202- status::StatusCode ReceiverEndpoint::pull_packets (core:: nanoseconds_t current_time ) {
202+ status::StatusCode ReceiverEndpoint::pull_packets () {
203203 roc_panic_if (init_status_ != status::StatusOK);
204204
205205 roc_panic_if (!parser_);
@@ -209,7 +209,7 @@ status::StatusCode ReceiverEndpoint::pull_packets(core::nanoseconds_t current_ti
209209 // queue were added in a very short time or are being added currently. It's
210210 // acceptable to consider such packets late and pull them next time.
211211 while (packet::PacketPtr packet = inbound_queue_.try_pop_front_exclusive ()) {
212- const status::StatusCode code = handle_packet_ (packet, current_time );
212+ const status::StatusCode code = handle_packet_ (packet);
213213 state_tracker_.unregister_packet ();
214214
215215 if (code != status::StatusOK) {
@@ -220,14 +220,13 @@ status::StatusCode ReceiverEndpoint::pull_packets(core::nanoseconds_t current_ti
220220 return status::StatusOK;
221221}
222222
223- status::StatusCode ReceiverEndpoint::handle_packet_ (const packet::PacketPtr& packet,
224- core::nanoseconds_t current_time) {
223+ status::StatusCode ReceiverEndpoint::handle_packet_ (const packet::PacketPtr& packet) {
225224 if (!parser_->parse (*packet, packet->buffer ())) {
226225 roc_log (LogDebug, " receiver endpoint: dropping bad packet: can't parse" );
227226 return status::StatusOK;
228227 }
229228
230- const status::StatusCode code = session_group_.route_packet (packet, current_time );
229+ const status::StatusCode code = session_group_.route_packet (packet);
231230
232231 if (code == status::StatusNoRoute) {
233232 roc_log (LogDebug, " receiver endpoint: dropping bad packet: can't route" );
0 commit comments