Changeset 214209 in webkit
- Timestamp:
- Mar 20, 2017 8:16:57 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r214195 r214209 1 2017-03-20 Jon Lee <jonlee@apple.com> 2 3 Add iceCandidatePoolSize to RTCConfiguration 4 https://bugs.webkit.org/show_bug.cgi?id=169866 5 6 Reviewed by Youenn Fablet. 7 8 * webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt: Added. 9 * webrtc/rtcconfiguration-icecandidatepoolsize.html: Added. 10 1 11 2017-03-20 Chris Dumez <cdumez@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r214207 r214209 1 2017-03-20 Jon Lee <jonlee@apple.com> 2 3 Add iceCandidatePoolSize to RTCConfiguration 4 https://bugs.webkit.org/show_bug.cgi?id=169866 5 6 Reviewed by Youenn Fablet. 7 8 Test: webrtc/rtcconfiguration-icecandidatepoolsize.html 9 10 * Modules/mediastream/RTCConfiguration.h: 11 * Modules/mediastream/RTCConfiguration.idl: Add iceCandidatePoolSize. 12 * Modules/mediastream/RTCPeerConnection.cpp: 13 (WebCore::RTCPeerConnection::setConfiguration): 14 * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: 15 (WebCore::configurationFromMediaEndpointConfiguration): Set the size in libwebrtc. 16 * platform/mediastream/MediaEndpointConfiguration.cpp: 17 (WebCore::MediaEndpointConfiguration::MediaEndpointConfiguration): 18 * platform/mediastream/MediaEndpointConfiguration.h: 19 1 20 2017-03-20 Jon Lee <jonlee@apple.com> 2 21 -
trunk/Source/WebCore/Modules/mediastream/RTCConfiguration.h
r214030 r214209 43 43 RTCIceTransportPolicy iceTransportPolicy; 44 44 RTCBundlePolicy bundlePolicy; 45 unsigned short iceCandidatePoolSize; 45 46 }; 46 47 -
trunk/Source/WebCore/Modules/mediastream/RTCConfiguration.idl
r214030 r214209 54 54 // FIXME 169662: missing peerIdentity 55 55 // FIXME 169662: missing certificates 56 // FIXME 169662: missing iceCandidatePoolSize56 [EnforceRange] octet iceCandidatePoolSize = 0; 57 57 }; -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
r214030 r214209 327 327 } 328 328 329 m_backend->setConfiguration({ WTFMove(servers), configuration.iceTransportPolicy, configuration.bundlePolicy });329 m_backend->setConfiguration({ WTFMove(servers), configuration.iceTransportPolicy, configuration.bundlePolicy, configuration.iceCandidatePoolSize }); 330 330 m_configuration = WTFMove(configuration); 331 331 return { }; -
trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
r214134 r214209 93 93 } 94 94 95 rtcConfiguration.ice_candidate_pool_size = configuration.iceCandidatePoolSize; 96 95 97 return rtcConfiguration; 96 98 } -
trunk/Source/WebCore/platform/mediastream/MediaEndpointConfiguration.cpp
r214030 r214209 37 37 namespace WebCore { 38 38 39 MediaEndpointConfiguration::MediaEndpointConfiguration(Vector<IceServerInfo>&& iceServers, RTCIceTransportPolicy iceTransportPolicy, RTCBundlePolicy bundlePolicy )39 MediaEndpointConfiguration::MediaEndpointConfiguration(Vector<IceServerInfo>&& iceServers, RTCIceTransportPolicy iceTransportPolicy, RTCBundlePolicy bundlePolicy, unsigned short iceCandidatePoolSize) 40 40 : iceServers(WTFMove(iceServers)) 41 41 , iceTransportPolicy(iceTransportPolicy) 42 42 , bundlePolicy(bundlePolicy) 43 , iceCandidatePoolSize(iceCandidatePoolSize) 43 44 { 44 45 } -
trunk/Source/WebCore/platform/mediastream/MediaEndpointConfiguration.h
r214030 r214209 51 51 }; 52 52 53 MediaEndpointConfiguration(Vector<IceServerInfo>&&, RTCIceTransportPolicy, RTCBundlePolicy );53 MediaEndpointConfiguration(Vector<IceServerInfo>&&, RTCIceTransportPolicy, RTCBundlePolicy, unsigned short); 54 54 55 55 Vector<IceServerInfo> iceServers; 56 56 RTCIceTransportPolicy iceTransportPolicy; 57 57 RTCBundlePolicy bundlePolicy; 58 unsigned short iceCandidatePoolSize; 58 59 }; 59 60
Note: See TracChangeset
for help on using the changeset viewer.