@@ -199,7 +199,7 @@ packet::IWriter& ReceiverEndpoint::inbound_writer() {
199
199
return *this ;
200
200
}
201
201
202
- status::StatusCode ReceiverEndpoint::pull_packets (core:: nanoseconds_t current_time ) {
202
+ status::StatusCode ReceiverEndpoint::pull_packets () {
203
203
roc_panic_if (init_status_ != status::StatusOK);
204
204
205
205
roc_panic_if (!parser_);
@@ -209,7 +209,7 @@ status::StatusCode ReceiverEndpoint::pull_packets(core::nanoseconds_t current_ti
209
209
// queue were added in a very short time or are being added currently. It's
210
210
// acceptable to consider such packets late and pull them next time.
211
211
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);
213
213
state_tracker_.unregister_packet ();
214
214
215
215
if (code != status::StatusOK) {
@@ -220,14 +220,13 @@ status::StatusCode ReceiverEndpoint::pull_packets(core::nanoseconds_t current_ti
220
220
return status::StatusOK;
221
221
}
222
222
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) {
225
224
if (!parser_->parse (*packet, packet->buffer ())) {
226
225
roc_log (LogDebug, " receiver endpoint: dropping bad packet: can't parse" );
227
226
return status::StatusOK;
228
227
}
229
228
230
- const status::StatusCode code = session_group_.route_packet (packet, current_time );
229
+ const status::StatusCode code = session_group_.route_packet (packet);
231
230
232
231
if (code == status::StatusNoRoute) {
233
232
roc_log (LogDebug, " receiver endpoint: dropping bad packet: can't route" );
0 commit comments