mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Remove pointless Set*Encryptor functions
These functions had dummy implementations, but were not virtual. The need for those functions seems to be lost in time. Bug: None Change-Id: I66dcac4a92f9993d82031f943f2f9ae767156b8a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/330422 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41336}
This commit is contained in:
parent
223334933f
commit
b54bf8a9af
2 changed files with 0 additions and 34 deletions
|
@ -71,18 +71,6 @@ int MediaChannelUtil::GetRtpSendTimeExtnId() const {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MediaChannelUtil::SetFrameEncryptor(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<FrameEncryptorInterface> frame_encryptor) {
|
|
||||||
// Placeholder should be pure virtual once internal supports it.
|
|
||||||
}
|
|
||||||
|
|
||||||
void MediaChannelUtil::SetFrameDecryptor(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<FrameDecryptorInterface> frame_decryptor) {
|
|
||||||
// Placeholder should be pure virtual once internal supports it.
|
|
||||||
}
|
|
||||||
|
|
||||||
bool MediaChannelUtil::SendPacket(rtc::CopyOnWriteBuffer* packet,
|
bool MediaChannelUtil::SendPacket(rtc::CopyOnWriteBuffer* packet,
|
||||||
const rtc::PacketOptions& options) {
|
const rtc::PacketOptions& options) {
|
||||||
return transport_.DoSendPacket(packet, false, options);
|
return transport_.DoSendPacket(packet, false, options);
|
||||||
|
@ -115,14 +103,6 @@ bool MediaChannelUtil::HasNetworkInterface() const {
|
||||||
return transport_.HasNetworkInterface();
|
return transport_.HasNetworkInterface();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MediaChannelUtil::SetEncoderToPacketizerFrameTransformer(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer) {}
|
|
||||||
|
|
||||||
void MediaChannelUtil::SetDepacketizerToDecoderFrameTransformer(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer) {}
|
|
||||||
|
|
||||||
bool MediaChannelUtil::DscpEnabled() const {
|
bool MediaChannelUtil::DscpEnabled() const {
|
||||||
return transport_.DscpEnabled();
|
return transport_.DscpEnabled();
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,20 +106,6 @@ class MediaChannelUtil {
|
||||||
// Must be called on the network thread.
|
// Must be called on the network thread.
|
||||||
bool HasNetworkInterface() const;
|
bool HasNetworkInterface() const;
|
||||||
|
|
||||||
void SetFrameEncryptor(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<webrtc::FrameEncryptorInterface> frame_encryptor);
|
|
||||||
void SetFrameDecryptor(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<webrtc::FrameDecryptorInterface> frame_decryptor);
|
|
||||||
|
|
||||||
void SetEncoderToPacketizerFrameTransformer(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<webrtc::FrameTransformerInterface> frame_transformer);
|
|
||||||
void SetDepacketizerToDecoderFrameTransformer(
|
|
||||||
uint32_t ssrc,
|
|
||||||
rtc::scoped_refptr<webrtc::FrameTransformerInterface> frame_transformer);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool DscpEnabled() const;
|
bool DscpEnabled() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue