| 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
|
|
|