Add iceCandidatePoolSize to RTCConfiguration
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Mar 2017 03:16:57 +0000 (03:16 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Mar 2017 03:16:57 +0000 (03:16 +0000)
commit1728546eda85a98cefe601f210af50da7ca226af
treec3c4056c3fb2181dcec9548dc1f6f67c0f76d2ce
parente4ad4a4eea8a2b87f5b2a811bfc01fb260f51556
Add iceCandidatePoolSize to RTCConfiguration
https://bugs.webkit.org/show_bug.cgi?id=169866

Reviewed by Youenn Fablet.

Source/WebCore:

Test: webrtc/rtcconfiguration-icecandidatepoolsize.html

* Modules/mediastream/RTCConfiguration.h:
* Modules/mediastream/RTCConfiguration.idl: Add iceCandidatePoolSize.
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::setConfiguration):
* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
(WebCore::configurationFromMediaEndpointConfiguration): Set the size in libwebrtc.
* platform/mediastream/MediaEndpointConfiguration.cpp:
(WebCore::MediaEndpointConfiguration::MediaEndpointConfiguration):
* platform/mediastream/MediaEndpointConfiguration.h:

LayoutTests:

* webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt: Added.
* webrtc/rtcconfiguration-icecandidatepoolsize.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize-expected.txt [new file with mode: 0644]
LayoutTests/webrtc/rtcconfiguration-icecandidatepoolsize.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/RTCConfiguration.h
Source/WebCore/Modules/mediastream/RTCConfiguration.idl
Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
Source/WebCore/platform/mediastream/MediaEndpointConfiguration.cpp
Source/WebCore/platform/mediastream/MediaEndpointConfiguration.h