/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_PACING_PACKET_ROUTER_H_ #define MODULES_PACING_PACKET_ROUTER_H_ #include <stddef.h> #include <stdint.h> #include <cstdint> #include <list> #include <memory> #include <set> #include <unordered_map> #include <utility> #include <vector> #include "absl/functional/any_invocable.h" #include "api/sequence_checker.h" #include "api/transport/network_types.h" #include "modules/pacing/pacing_controller.h" #include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "modules/rtp_rtcp/source/rtcp_packet.h" #include "modules/rtp_rtcp/source/rtp_packet_to_send.h" #include "rtc_base/thread_annotations.h" namespace webrtc { class RtpRtcpInterface; // PacketRouter keeps track of rtp send modules to support the pacer. // In addition, it handles feedback messages, which are sent on a send // module if possible (sender report), otherwise on receive module // (receiver report). For the latter case, we also keep track of the // receive modules. class PacketRouter : public PacingController::PacketSender { … }; } // namespace webrtc #endif // MODULES_PACING_PACKET_ROUTER_H_