Index: Source/platform/mediastream/RTCConfiguration.h |
diff --git a/Source/platform/mediastream/RTCConfiguration.h b/Source/platform/mediastream/RTCConfiguration.h |
index e64b7f40a7995e18667ee795ae849f4706ed6522..1e1a3007539693d4efa3101771f37b733410d70a 100644 |
--- a/Source/platform/mediastream/RTCConfiguration.h |
+++ b/Source/platform/mediastream/RTCConfiguration.h |
@@ -95,6 +95,8 @@ public: |
RTCBundlePolicy bundlePolicy() { return m_bundlePolicy; } |
void setRtcpMuxPolicy(RTCRtcpMuxPolicy rtcpMuxPolicy) { m_rtcpMuxPolicy = rtcpMuxPolicy; } |
RTCRtcpMuxPolicy rtcpMuxPolicy() { return m_rtcpMuxPolicy; } |
+ bool enableLocalhostCandidate() { return m_enableLocalhostCandidate; } |
+ void setEnableLocalhostCandidate(bool enableLocalhostCandidate) { m_enableLocalhostCandidate = enableLocalhostCandidate; } |
DEFINE_INLINE_TRACE() { visitor->trace(m_servers); } |
@@ -102,12 +104,14 @@ private: |
RTCConfiguration() : |
m_iceTransports(RTCIceTransportsAll), |
m_bundlePolicy(RTCBundlePolicyBalanced), |
- m_rtcpMuxPolicy(RTCRtcpMuxPolicyNegotiate) { } |
+ m_rtcpMuxPolicy(RTCRtcpMuxPolicyNegotiate), |
+ m_enableLocalhostCandidate(false) { } |
HeapVector<Member<RTCIceServer>> m_servers; |
juberti
2015/08/28 00:34:58
Could this be a pointer instead? Then, if undefine
guoweis_left_chromium
2015/08/28 04:53:58
since we're not going to expose m_servers public,
|
RTCIceTransports m_iceTransports; |
RTCBundlePolicy m_bundlePolicy; |
RTCRtcpMuxPolicy m_rtcpMuxPolicy; |
+ bool m_enableLocalhostCandidate; |
}; |
} // namespace blink |