Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: webrtc/pc/mediasession.h

Issue 2024153002: Add RtpHeaderExtension to avoid client breakage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed nits Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/mediasession.h
diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
index 0a04bcf93f575587d2a82184400e574be41c9e80..272775e6b501c4af9f38251f5670d50f3a396a99 100644
--- a/webrtc/pc/mediasession.h
+++ b/webrtc/pc/mediasession.h
@@ -209,6 +209,13 @@ class MediaContentDescription : public ContentDescription {
rtp_header_extensions_.push_back(ext);
rtp_header_extensions_set_ = true;
}
+ 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;
+ }
void ClearRtpHeaderExtensions() {
rtp_header_extensions_.clear();
rtp_header_extensions_set_ = true;
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698