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

Unified Diff: webrtc/pc/mediasession.h

Issue 2714813004: Create the SrtpTransportInterface. (Closed)
Patch Set: Created 3 years, 10 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
Index: webrtc/pc/mediasession.h
diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
index f864fe99b769e10de359e9f9be4d319a35633352..a901e1d75a3e75c129f40d1b1c7694eea55ab8ae 100644
--- a/webrtc/pc/mediasession.h
+++ b/webrtc/pc/mediasession.h
@@ -92,6 +92,10 @@ struct RtpTransceiverDirection {
MediaContentDirection md);
MediaContentDirection ToMediaContentDirection() const;
+
+ RtpTransceiverDirection Reversed() const {
+ return RtpTransceiverDirection(recv, send);
+ }
};
RtpTransceiverDirection

Powered by Google App Engine
This is Rietveld 408576698