mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00

The proper signature of the function should return an RTCError, but due to all the classes in external projects implementing it with this signature, we need a many steps process to update this. - Add an implementation for the pure virtual method - Update projects not to override it - Update the function signature - Update projects to override it with the right signature - Remove the dummy implementation from the interface Bug: webrtc:9777 Change-Id: Idf99216792b4ad13339e4e8be6f7b735bb6b64e7 Reviewed-on: https://webrtc-review.googlesource.com/101564 Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24807}
31 lines
939 B
C++
31 lines
939 B
C++
/*
|
|
* Copyright 2018 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.
|
|
*/
|
|
|
|
#include "api/rtptransceiverinterface.h"
|
|
|
|
namespace webrtc {
|
|
|
|
RtpTransceiverInit::RtpTransceiverInit() = default;
|
|
|
|
RtpTransceiverInit::RtpTransceiverInit(const RtpTransceiverInit& rhs) = default;
|
|
|
|
RtpTransceiverInit::~RtpTransceiverInit() = default;
|
|
|
|
absl::optional<RtpTransceiverDirection>
|
|
RtpTransceiverInterface::fired_direction() const {
|
|
return absl::nullopt;
|
|
}
|
|
|
|
void RtpTransceiverInterface::SetCodecPreferences(
|
|
rtc::ArrayView<RtpCodecCapability>) {
|
|
RTC_NOTREACHED() << "Not implemented";
|
|
}
|
|
|
|
} // namespace webrtc
|