Removing non-const RtpSenderInterface::GetParameters().
This removes the temporary non-const method that was kept in the code to enable backwards compatibility while we fix downstream project dependencies. Bug: webrtc:10251 Change-Id: Ie221af1d3b0f19112449d61e0f357a833f7a8b18 Reviewed-on: https://webrtc-review.googlesource.com/c/123561 Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Amit Hilbuch <amithi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26824}
This commit is contained in:
@ -30,16 +30,4 @@ rtc::scoped_refptr<DtlsTransportInterface> RtpSenderInterface::dtls_transport()
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// TODO(amithi): Fix downstream dependencies and make GetParameters pure
|
||||
// virtual.
|
||||
RtpParameters RtpSenderInterface::GetParameters() {
|
||||
const RtpSenderInterface* interface = this;
|
||||
return interface->GetParameters();
|
||||
}
|
||||
|
||||
RtpParameters RtpSenderInterface::GetParameters() const {
|
||||
RtpSenderInterface* interface = const_cast<RtpSenderInterface*>(this);
|
||||
return interface->GetParameters();
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user