blob: 8683a34c9e94330a545e137c39303ad5fca07652 [file] [log] [blame]
Vojin Ilic504fc192021-05-31 12:02:281/*
2 * Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10#ifndef CALL_RTP_TRANSPORT_CONTROLLER_SEND_FACTORY_INTERFACE_H_
11#define CALL_RTP_TRANSPORT_CONTROLLER_SEND_FACTORY_INTERFACE_H_
12
13#include <memory>
14
15#include "call/rtp_transport_config.h"
16#include "call/rtp_transport_controller_send_interface.h"
Vojin Ilic504fc192021-05-31 12:02:2817
18namespace webrtc {
19// A factory used for dependency injection on the send side of the transport
20// controller.
21class RtpTransportControllerSendFactoryInterface {
22 public:
Danil Chapovalovee27f382023-12-18 12:09:1223 virtual ~RtpTransportControllerSendFactoryInterface() = default;
Vojin Ilic504fc192021-05-31 12:02:2824
Danil Chapovalovee27f382023-12-18 12:09:1225 virtual std::unique_ptr<RtpTransportControllerSendInterface> Create(
26 const RtpTransportConfig& config) = 0;
Vojin Ilic504fc192021-05-31 12:02:2827};
28} // namespace webrtc
29#endif // CALL_RTP_TRANSPORT_CONTROLLER_SEND_FACTORY_INTERFACE_H_