Mirko Bonadei | 79eb4dd | 2018-07-19 08:39:30 | [diff] [blame] | 1 | /* |
| 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 Anton | 10542f2 | 2019-01-11 17:11:00 | [diff] [blame] | 11 | #include "api/rtp_transceiver_interface.h" |
Mirko Bonadei | 79eb4dd | 2018-07-19 08:39:30 | [diff] [blame] | 12 | |
Yves Gerey | 988cc08 | 2018-10-23 10:03:01 | [diff] [blame] | 13 | #include "rtc_base/checks.h" |
| 14 | |
Mirko Bonadei | 79eb4dd | 2018-07-19 08:39:30 | [diff] [blame] | 15 | namespace webrtc { |
| 16 | |
| 17 | RtpTransceiverInit::RtpTransceiverInit() = default; |
| 18 | |
Mirko Bonadei | 2ffed6d | 2018-07-20 09:09:32 | [diff] [blame] | 19 | RtpTransceiverInit::RtpTransceiverInit(const RtpTransceiverInit& rhs) = default; |
| 20 | |
Mirko Bonadei | 79eb4dd | 2018-07-19 08:39:30 | [diff] [blame] | 21 | RtpTransceiverInit::~RtpTransceiverInit() = default; |
| 22 | |
| 23 | absl::optional<RtpTransceiverDirection> |
| 24 | RtpTransceiverInterface::fired_direction() const { |
| 25 | return absl::nullopt; |
| 26 | } |
| 27 | |
Florent Castelli | 2d9d82e | 2019-04-23 17:25:51 | [diff] [blame] | 28 | RTCError RtpTransceiverInterface::SetCodecPreferences( |
Florent Castelli | 3807897 | 2018-09-24 17:10:40 | [diff] [blame] | 29 | rtc::ArrayView<RtpCodecCapability>) { |
| 30 | RTC_NOTREACHED() << "Not implemented"; |
Florent Castelli | 2d9d82e | 2019-04-23 17:25:51 | [diff] [blame] | 31 | return {}; |
| 32 | } |
| 33 | |
| 34 | std::vector<RtpCodecCapability> RtpTransceiverInterface::codec_preferences() |
| 35 | const { |
| 36 | return {}; |
Florent Castelli | 3807897 | 2018-09-24 17:10:40 | [diff] [blame] | 37 | } |
| 38 | |
Mirko Bonadei | 79eb4dd | 2018-07-19 08:39:30 | [diff] [blame] | 39 | } // namespace webrtc |