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

Unified Diff: webrtc/media/base/mediachannel.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/fakemediaengine.h ('k') | webrtc/pc/mediasession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/mediachannel.h
diff --git a/webrtc/media/base/mediachannel.h b/webrtc/media/base/mediachannel.h
index 61e450d4e18e5b0b8cea9e71ea89074463061a10..ee431537b965fd7558728cf9bb6134ff3ac7ab7b 100644
--- a/webrtc/media/base/mediachannel.h
+++ b/webrtc/media/base/mediachannel.h
@@ -320,6 +320,24 @@ 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 {
+ std::ostringstream ost;
+ ost << "{";
+ ost << "uri: " << uri;
+ ost << ", id: " << id;
+ ost << "}";
+ return ost.str();
+ }
+
+ std::string uri;
+ int id;
+};
+
class MediaChannel : public sigslot::has_slots<> {
public:
class NetworkInterface {
« no previous file with comments | « webrtc/media/base/fakemediaengine.h ('k') | webrtc/pc/mediasession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698