Chromium Code Reviews| Index: webrtc/pc/mediasession.h |
| diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h |
| index a901e1d75a3e75c129f40d1b1c7694eea55ab8ae..5eba6f366f0a353f4f92a52270444b2907217c76 100644 |
| --- a/webrtc/pc/mediasession.h |
| +++ b/webrtc/pc/mediasession.h |
| @@ -309,6 +309,14 @@ class MediaContentDescription : public ContentDescription { |
| } |
| int buffered_mode_latency() const { return buffered_mode_latency_; } |
| + // https://tools.ietf.org/html/rfc4566#section-5.7 |
| + // Media level connection address. If this is specified in the SDP, it will |
| + // overwrite the session level address. |
|
Taylor Brandstetter
2017/03/15 17:57:20
This comment could be updated. Something like "May
Zhi Huang
2017/03/16 19:47:26
Done.
|
| + void set_connection_addr(const rtc::SocketAddress& addr) { |
|
Taylor Brandstetter
2017/03/15 17:57:20
nit: I'd prefer spelling out "connection_address"
Zhi Huang
2017/03/16 19:47:26
Done.
|
| + connection_addr_ = addr; |
| + } |
| + const rtc::SocketAddress& connection_addr() const { return connection_addr_; } |
| + |
| protected: |
| bool rtcp_mux_ = false; |
| bool rtcp_reduced_size_ = false; |
| @@ -324,6 +332,7 @@ class MediaContentDescription : public ContentDescription { |
| bool partial_ = false; |
| int buffered_mode_latency_ = kBufferedModeDisabled; |
| MediaContentDirection direction_ = MD_SENDRECV; |
| + rtc::SocketAddress connection_addr_; |
| }; |
| template <class C> |