Revert "rtpsender interface: make pure virtual again"
This reverts commit 021512b76a872b04e803d61f46c740ed363d641b. Reason for revert: Breaks upstream project. It relies on the default implementation. The CL will be relanded after the migration is done. We will make sure to do it shortly. Original change's description: > rtpsender interface: make pure virtual again > > after providing default implementations in Chromium tests > > BUG=None > > Change-Id: I53bf26b3a99416f4005e7df75b9b86dfbf2489cb > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273100 > Commit-Queue: Philipp Hancke <phancke@microsoft.com> > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#37941} Bug: None Change-Id: I40f27c36819365fadae32032521f7e11184bee62 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273484 Owners-Override: Andrey Logvin <landrey@google.com> Commit-Queue: Andrey Logvin <landrey@google.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Andrey Logvin <landrey@google.com> Cr-Commit-Position: refs/heads/main@{#37947}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
9a0a6a198e
commit
fbb7ce8a93
36
api/rtp_sender_interface.cc
Normal file
36
api/rtp_sender_interface.cc
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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/rtp_sender_interface.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
void RtpSenderInterface::SetFrameEncryptor(
|
||||
rtc::scoped_refptr<FrameEncryptorInterface> frame_encryptor) {}
|
||||
|
||||
rtc::scoped_refptr<FrameEncryptorInterface>
|
||||
RtpSenderInterface::GetFrameEncryptor() const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<RtpEncodingParameters> RtpSenderInterface::init_send_encodings()
|
||||
const {
|
||||
return {};
|
||||
}
|
||||
|
||||
rtc::scoped_refptr<DtlsTransportInterface> RtpSenderInterface::dtls_transport()
|
||||
const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void RtpSenderInterface::SetEncoderToPacketizerFrameTransformer(
|
||||
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer) {}
|
||||
|
||||
} // namespace webrtc
|
||||
Reference in New Issue
Block a user