• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
11 #include "api/rtp_transceiver_interface.h"
12 
13 #include "rtc_base/checks.h"
14 
15 namespace webrtc {
16 
17 RtpTransceiverInit::RtpTransceiverInit() = default;
18 
19 RtpTransceiverInit::RtpTransceiverInit(const RtpTransceiverInit& rhs) = default;
20 
21 RtpTransceiverInit::~RtpTransceiverInit() = default;
22 
23 absl::optional<RtpTransceiverDirection>
fired_direction() const24 RtpTransceiverInterface::fired_direction() const {
25   return absl::nullopt;
26 }
27 
SetCodecPreferences(rtc::ArrayView<RtpCodecCapability>)28 RTCError RtpTransceiverInterface::SetCodecPreferences(
29     rtc::ArrayView<RtpCodecCapability>) {
30   RTC_NOTREACHED() << "Not implemented";
31   return {};
32 }
33 
codec_preferences() const34 std::vector<RtpCodecCapability> RtpTransceiverInterface::codec_preferences()
35     const {
36   return {};
37 }
38 
39 std::vector<RtpHeaderExtensionCapability>
HeaderExtensionsToOffer() const40 RtpTransceiverInterface::HeaderExtensionsToOffer() const {
41   return {};
42 }
43 
SetOfferedRtpHeaderExtensions(rtc::ArrayView<const RtpHeaderExtensionCapability> header_extensions_to_offer)44 webrtc::RTCError RtpTransceiverInterface::SetOfferedRtpHeaderExtensions(
45     rtc::ArrayView<const RtpHeaderExtensionCapability>
46         header_extensions_to_offer) {
47   return webrtc::RTCError(webrtc::RTCErrorType::UNSUPPORTED_OPERATION);
48 }
49 
50 }  // namespace webrtc
51