| Index: webrtc/pc/mediasession.h
|
| diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
|
| index 06815ecba319970c117318a64d4c6d8f4ea6c3a4..4711ba065bb1da221c26ae91cabf817a323c63fd 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
|
|
|