Delete legacy cricket::RtpHeaderExtension struct as unused

Bug: None
Change-Id: I8529475578a91173ca2e89e0bbbf186fc9d39472
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/179222
Reviewed-by: Taylor <deadbeef@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31722}
This commit is contained in:
Danil Chapovalov 2020-07-13 18:02:05 +02:00 committed by Commit Bot
parent 47f87abccb
commit 84bb634238
2 changed files with 0 additions and 25 deletions

View File

@ -155,24 +155,6 @@ struct VideoOptions {
}
};
// TODO(isheriff): Remove this once client usage is fixed to use RtpExtension.
struct RtpHeaderExtension {
RtpHeaderExtension() : id(0) {}
RtpHeaderExtension(const std::string& uri, int id) : uri(uri), id(id) {}
std::string ToString() const {
rtc::StringBuilder ost;
ost << "{";
ost << "uri: " << uri;
ost << ", id: " << id;
ost << "}";
return ost.Release();
}
std::string uri;
int id;
};
class MediaChannel : public sigslot::has_slots<> {
public:
class NetworkInterface {

View File

@ -147,13 +147,6 @@ class MediaContentDescription {
rtp_header_extensions_.push_back(ext);
rtp_header_extensions_set_ = true;
}
virtual void AddRtpHeaderExtension(const cricket::RtpHeaderExtension& ext) {
webrtc::RtpExtension webrtc_extension;
webrtc_extension.uri = ext.uri;
webrtc_extension.id = ext.id;
rtp_header_extensions_.push_back(webrtc_extension);
rtp_header_extensions_set_ = true;
}
virtual void ClearRtpHeaderExtensions() {
rtp_header_extensions_.clear();
rtp_header_extensions_set_ = true;