blob: 2b27b7489c227e44d2d469d6bbd1f2cb51c56b1c [file] [log] [blame]
Benjamin Wrightd81ac952018-08-29 17:02:10 -07001/*
2 * Copyright 2018 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
Steve Anton10542f22019-01-11 09:11:00 -080011#include "api/rtp_sender_interface.h"
Benjamin Wrightd81ac952018-08-29 17:02:10 -070012
13namespace webrtc {
14
15void RtpSenderInterface::SetFrameEncryptor(
16 rtc::scoped_refptr<FrameEncryptorInterface> frame_encryptor) {}
17
18rtc::scoped_refptr<FrameEncryptorInterface>
19RtpSenderInterface::GetFrameEncryptor() const {
20 return nullptr;
21}
22
Florent Castelli892acf02018-10-01 22:47:20 +020023std::vector<RtpEncodingParameters> RtpSenderInterface::init_send_encodings()
24 const {
25 return {};
26}
27
Harald Alvestrand4a7b3ac2019-01-17 10:39:40 +010028rtc::scoped_refptr<DtlsTransportInterface> RtpSenderInterface::dtls_transport()
29 const {
30 return nullptr;
31}
32
Amit Hilbuch2297d332019-02-19 12:49:22 -080033// TODO(amithi): Fix downstream dependencies and make GetParameters pure
34// virtual.
35RtpParameters RtpSenderInterface::GetParameters() {
36 const RtpSenderInterface* interface = this;
37 return interface->GetParameters();
38}
39
40RtpParameters RtpSenderInterface::GetParameters() const {
41 RtpSenderInterface* interface = const_cast<RtpSenderInterface*>(this);
42 return interface->GetParameters();
43}
44
Benjamin Wrightd81ac952018-08-29 17:02:10 -070045} // namespace webrtc