7d88b16d0346a0ecbd11d11d0d36e358952b1d49
[WebKit-https.git] / Source / ThirdParty / libwebrtc / ChangeLog
1 2018-03-23  Youenn Fablet  <youenn@apple.com>
2
3         Use libwebrtc ObjectiveC H264 encoder and decoder
4         https://bugs.webkit.org/show_bug.cgi?id=183912
5
6         Reviewed by Eric Carlson.
7
8         Add utilities inside libwebrtc to be used by WebKit:
9         - Create ObjectiveC encoder/decoder factories
10         - Notify of application status to invalidate encoders/decoders when in background
11         Implement RTCUIApplicationStatusObserver as a simple boolean that is set by WebCore.
12         This allows limiting the changes made to libwebrtc codec implementations.
13
14         Minor modifications done to libwebrtc to fix compilation.
15         Add Block_copy/Block_release to codec callbacks.
16
17         * Configurations/libwebrtc.iOS.exp:
18         * Configurations/libwebrtc.iOSsim.exp:
19         * Configurations/libwebrtc.mac.exp:
20         * Source/webrtc/sdk/WebKit/WebKitUtilities.h: Added.
21         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: Added.
22         (+[RTCUIApplicationStatusObserver sharedInstance]):
23         (+[RTCUIApplicationStatusObserver prepareForUse]):
24         (-[RTCUIApplicationStatusObserver setActive]):
25         (-[RTCUIApplicationStatusObserver setInactive]):
26         (-[RTCUIApplicationStatusObserver isApplicationActive]):
27         (webrtc::setApplicationStatus):
28         (webrtc::createVideoToolboxEncoderFactory):
29         (webrtc::createVideoToolboxDecoderFactory):
30         (webrtc::setH264HardwareEncoderAllowed):
31         (webrtc::isH264HardwareEncoderAllowed):
32         (webrtc::pixelBufferFromFrame):
33         * Source/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm:
34         (-[RTCCVPixelBuffer dealloc]):
35         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm:
36         (-[RTCVideoDecoderH264 dealloc]):
37         (-[RTCVideoDecoderH264 setCallback:]):
38         (-[RTCVideoDecoderH264 releaseDecoder]):
39         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:
40         (-[RTCVideoEncoderH264 dealloc]):
41         (-[RTCVideoEncoderH264 setCallback:]):
42         (-[RTCVideoEncoderH264 releaseEncoder]):
43         (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
44         * WebKit/0001-Adapting-libwebrtc-H264-codec.patch: Added.
45         * libwebrtc.xcodeproj/project.pbxproj:
46
47 2018-03-22  Commit Queue  <commit-queue@webkit.org>
48
49         Unreviewed, rolling out r229876.
50         https://bugs.webkit.org/show_bug.cgi?id=183929
51
52         Some webrtc tests are timing out on iOS simulator (Requested
53         by youenn on #webkit).
54
55         Reverted changeset:
56
57         "Use libwebrtc ObjectiveC H264 encoder and decoder"
58         https://bugs.webkit.org/show_bug.cgi?id=183912
59         https://trac.webkit.org/changeset/229876
60
61 2018-03-22  Youenn Fablet  <youenn@apple.com>
62
63         Use libwebrtc ObjectiveC H264 encoder and decoder
64         https://bugs.webkit.org/show_bug.cgi?id=183912
65
66         Reviewed by Eric Carlson.
67
68         Add utilities inside libwebrtc to be used by WebKit:
69         - Create ObjectiveC encoder/decoder factories
70         - Notify of application status to invalidate encoders/decoders when in background
71         Implement RTCUIApplicationStatusObserver as a simple boolean that is set by WebCore.
72         This allows limiting the changes made to libwebrtc codec implementations.
73
74         Minor modifications done to libwebrtc to fix compilation.
75         Add Block_copy/Block_release to codec callbacks.
76
77         * Configurations/libwebrtc.iOS.exp:
78         * Configurations/libwebrtc.iOSsim.exp:
79         * Configurations/libwebrtc.mac.exp:
80         * Source/webrtc/sdk/WebKit/WebKitUtilities.h: Added.
81         * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: Added.
82         (+[RTCUIApplicationStatusObserver sharedInstance]):
83         (+[RTCUIApplicationStatusObserver prepareForUse]):
84         (-[RTCUIApplicationStatusObserver setActive]):
85         (-[RTCUIApplicationStatusObserver setInactive]):
86         (-[RTCUIApplicationStatusObserver isApplicationActive]):
87         (webrtc::setApplicationStatus):
88         (webrtc::createVideoToolboxEncoderFactory):
89         (webrtc::createVideoToolboxDecoderFactory):
90         (webrtc::setH264HardwareEncoderAllowed):
91         (webrtc::isH264HardwareEncoderAllowed):
92         (webrtc::pixelBufferFromFrame):
93         * Source/webrtc/sdk/objc/Framework/Classes/Video/RTCCVPixelBuffer.mm:
94         (-[RTCCVPixelBuffer dealloc]):
95         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm:
96         (-[RTCVideoDecoderH264 dealloc]):
97         (-[RTCVideoDecoderH264 setCallback:]):
98         (-[RTCVideoDecoderH264 releaseDecoder]):
99         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:
100         (-[RTCVideoEncoderH264 dealloc]):
101         (-[RTCVideoEncoderH264 setCallback:]):
102         (-[RTCVideoEncoderH264 releaseEncoder]):
103         (-[RTCVideoEncoderH264 resetCompressionSessionWithPixelFormat:]):
104         * WebKit/0001-Adapting-libwebrtc-H264-codec.patch: Added.
105         * libwebrtc.xcodeproj/project.pbxproj:
106
107 2018-03-14  Youenn Fablet  <youenn@apple.com>
108
109         Update libwebrtc up to 36af4e9614f707f733eb2340fae66d6325aaac5b
110         https://bugs.webkit.org/show_bug.cgi?id=183481
111
112         Reviewed by Eric Carlson.
113
114         * Configurations/libwebrtc.iOS.exp:
115         * Configurations/libwebrtc.iOSsim.exp:
116         * Configurations/libwebrtc.mac.exp:
117         * Source/webrtc/: refreshed
118         * libwebrtc.xcodeproj/project.pbxproj:
119
120 2018-03-12  Tim Horton  <timothy_horton@apple.com>
121
122         Stop using SDK conditionals to control feature definitions
123         https://bugs.webkit.org/show_bug.cgi?id=183430
124         <rdar://problem/38251619>
125
126         Reviewed by Dan Bernstein.
127
128         * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
129         * Configurations/opus.xcconfig:
130
131 2018-03-12  Youenn Fablet  <youenn@apple.com>
132
133         Remove empty cpp files in Source/ThirdParty/libwebrtc
134         https://bugs.webkit.org/show_bug.cgi?id=183529
135
136         Unreviewed.
137         Removing further empty files.
138
139         * Source/webrtc/modules/audio_conference_mixer/BUILD.gn: Removed.
140         * Source/webrtc/modules/audio_conference_mixer/DEPS: Removed.
141         * Source/webrtc/modules/audio_conference_mixer/OWNERS: Removed.
142         * Source/webrtc/modules/video_coding/codecs/OWNERS: Removed.
143         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.mm: Removed.
144         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm: Removed.
145         * Source/webrtc/sdk/objc/Framework/UnitTests/RTCMTLVideoViewTests.mm: Removed.
146
147 2018-03-12  youenn fablet  <youenn@apple.com>
148
149         Remove empty cpp files in Source/ThirdParty/libwebrtc
150         https://bugs.webkit.org/show_bug.cgi?id=183529
151
152         Unreviewed.
153
154         * libwebrtc.xcodeproj/project.pbxproj: fix the build.
155
156 2018-03-09  Youenn Fablet  <youenn@apple.com>
157
158         Remove empty cpp files in Source/ThirdParty/libwebrtc
159         https://bugs.webkit.org/show_bug.cgi?id=183529
160
161         Reviewed by Eric Carlson.
162
163         * Source/third_party/boringssl/boringssl_unittest.cc: Removed.
164         * Source/third_party/boringssl/src/ssl/ssl_privkey_cc.cc: Removed.
165         * Source/webrtc/common_audio/fir_filter.cc: Removed.
166         * Source/webrtc/config.cc: Removed.
167         * Source/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc: Removed.
168         * Source/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.cc: Removed.
169         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.cc: Removed.
170         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.cc: Removed.
171         * Source/webrtc/modules/audio_coding/codecs/ilbc/test/empty.cc: Removed.
172         * Source/webrtc/modules/audio_coding/codecs/isac/empty.cc: Removed.
173         * Source/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc: Removed.
174         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.cc: Removed.
175         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc: Removed.
176         * Source/webrtc/modules/audio_coding/neteq/test/RTPchange.cc: Removed.
177         * Source/webrtc/modules/audio_coding/neteq/test/RTPencode.cc: Removed.
178         * Source/webrtc/modules/audio_coding/neteq/test/RTPjitter.cc: Removed.
179         * Source/webrtc/modules/audio_coding/neteq/test/RTPtimeshift.cc: Removed.
180         * Source/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc: Removed.
181         * Source/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc: Removed.
182         * Source/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc: Removed.
183         * Source/webrtc/modules/audio_conference_mixer/test/audio_conference_mixer_unittest.cc: Removed.
184         * Source/webrtc/modules/audio_device/test/audio_device_test_api.cc: Removed.
185         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4.cc: Removed.
186         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc: Removed.
187         * Source/webrtc/modules/audio_processing/agc2/digital_gain_applier.cc: Removed.
188         * Source/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc: Removed.
189         * Source/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc: Removed.
190         * Source/webrtc/modules/congestion_controller/congestion_controller.cc: Removed.
191         * Source/webrtc/modules/congestion_controller/congestion_controller_unittest.cc: Removed.
192         * Source/webrtc/modules/desktop_capture/resolution_change_detector.cc: Removed.
193         * Source/webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc: Removed.
194         * Source/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc: Removed.
195         * Source/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc: Removed.
196         * Source/webrtc/modules/video_coding/sequence_number_util_unittest.cc: Removed.
197         * Source/webrtc/p2p/base/dtlstransportchannel.cc: Removed.
198         * Source/webrtc/p2p/base/dtlstransportchannel_unittest.cc: Removed.
199         * Source/webrtc/p2p/base/transportcontroller.cc: Removed.
200         * Source/webrtc/p2p/base/transportcontroller_unittest.cc: Removed.
201         * Source/webrtc/p2p/quic/quicconnectionhelper.cc: Removed.
202         * Source/webrtc/p2p/quic/quicconnectionhelper_unittest.cc: Removed.
203         * Source/webrtc/p2p/quic/quicsession.cc: Removed.
204         * Source/webrtc/p2p/quic/quicsession_unittest.cc: Removed.
205         * Source/webrtc/p2p/quic/quictransport.cc: Removed.
206         * Source/webrtc/p2p/quic/quictransport_unittest.cc: Removed.
207         * Source/webrtc/p2p/quic/quictransportchannel.cc: Removed.
208         * Source/webrtc/p2p/quic/quictransportchannel_unittest.cc: Removed.
209         * Source/webrtc/p2p/quic/reliablequicstream.cc: Removed.
210         * Source/webrtc/p2p/quic/reliablequicstream_unittest.cc: Removed.
211         * Source/webrtc/pc/quicdatachannel.cc: Removed.
212         * Source/webrtc/pc/quicdatachannel_unittest.cc: Removed.
213         * Source/webrtc/pc/quicdatatransport.cc: Removed.
214         * Source/webrtc/pc/quicdatatransport_unittest.cc: Removed.
215         * Source/webrtc/pc/webrtcsession.cc: Removed.
216         * Source/webrtc/pc/webrtcsession_unittest.cc: Removed.
217         * Source/webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc: Removed.
218         * Source/webrtc/sdk/android/src/jni/audio_jni.cc: Removed.
219         * Source/webrtc/sdk/android/src/jni/filevideocapturer_jni.cc: Removed.
220         * Source/webrtc/sdk/android/src/jni/media_jni.cc: Removed.
221         * Source/webrtc/sdk/android/src/jni/native_handle_impl.cc: Removed.
222         * Source/webrtc/sdk/android/src/jni/null_audio_jni.cc: Removed.
223         * Source/webrtc/sdk/android/src/jni/null_media_jni.cc: Removed.
224         * Source/webrtc/sdk/android/src/jni/null_video_jni.cc: Removed.
225         * Source/webrtc/sdk/android/src/jni/ownedfactoryandthreads.cc: Removed.
226         * Source/webrtc/sdk/android/src/jni/peerconnection_jni.cc: Removed.
227         * Source/webrtc/sdk/android/src/jni/rtcstatscollectorcallbackwrapper.cc: Removed.
228         * Source/webrtc/sdk/android/src/jni/video_jni.cc: Removed.
229         * Source/webrtc/system_wrappers/source/atomic32_darwin.cc: Removed.
230         * Source/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc: Removed.
231         * Source/webrtc/system_wrappers/source/atomic32_win.cc: Removed.
232         * Source/webrtc/system_wrappers/source/logcat_trace_context.cc: Removed.
233         * Source/webrtc/system_wrappers/source/trace_impl.cc: Removed.
234         * Source/webrtc/system_wrappers/source/trace_posix.cc: Removed.
235         * Source/webrtc/system_wrappers/source/trace_win.cc: Removed.
236         * Source/webrtc/test/testsupport/isolated_output.cc: Removed.
237         * Source/webrtc/test/testsupport/isolated_output_unittest.cc: Removed.
238         * Source/webrtc/test/testsupport/trace_to_stderr.cc: Removed.
239         * Source/webrtc/tools/agc/activity_metric.cc: Removed.
240         * Source/webrtc/tools/converter/converter.cc: Removed.
241         * Source/webrtc/tools/converter/rgba_to_i420_converter.cc: Removed.
242         * Source/webrtc/tools/event_log_visualizer/analyzer.cc: Removed.
243         * Source/webrtc/tools/event_log_visualizer/main.cc: Removed.
244         * Source/webrtc/tools/event_log_visualizer/plot_base.cc: Removed.
245         * Source/webrtc/tools/event_log_visualizer/plot_protobuf.cc: Removed.
246         * Source/webrtc/tools/event_log_visualizer/plot_python.cc: Removed.
247         * Source/webrtc/tools/force_mic_volume_max/force_mic_volume_max.cc: Removed.
248         * Source/webrtc/tools/frame_analyzer/frame_analyzer.cc: Removed.
249         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis.cc: Removed.
250         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_lib.cc: Removed.
251         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_unittest.cc: Removed.
252         * Source/webrtc/tools/frame_analyzer/video_quality_analysis.cc: Removed.
253         * Source/webrtc/tools/frame_analyzer/video_quality_analysis_unittest.cc: Removed.
254         * Source/webrtc/tools/frame_editing/frame_editing.cc: Removed.
255         * Source/webrtc/tools/frame_editing/frame_editing_lib.cc: Removed.
256         * Source/webrtc/tools/frame_editing/frame_editing_unittest.cc: Removed.
257         * Source/webrtc/tools/network_tester/config_reader.cc: Removed.
258         * Source/webrtc/tools/network_tester/network_tester_unittest.cc: Removed.
259         * Source/webrtc/tools/network_tester/packet_logger.cc: Removed.
260         * Source/webrtc/tools/network_tester/packet_sender.cc: Removed.
261         * Source/webrtc/tools/network_tester/server.cc: Removed.
262         * Source/webrtc/tools/network_tester/test_controller.cc: Removed.
263         * Source/webrtc/tools/psnr_ssim_analyzer/psnr_ssim_analyzer.cc: Removed.
264         * Source/webrtc/tools/simple_command_line_parser.cc: Removed.
265         * Source/webrtc/tools/simple_command_line_parser_unittest.cc: Removed.
266         * Source/webrtc/video/vie_encoder.cc: Removed.
267         * Source/webrtc/video/vie_encoder_unittest.cc: Removed.
268         * Source/webrtc/voice_engine/coder.cc: Removed.
269         * Source/webrtc/voice_engine/file_player.cc: Removed.
270         * Source/webrtc/voice_engine/file_player_unittests.cc: Removed.
271         * Source/webrtc/voice_engine/file_recorder.cc: Removed.
272         * Source/webrtc/voice_engine/output_mixer.cc: Removed.
273         * Source/webrtc/voice_engine/statistics.cc: Removed.
274         * Source/webrtc/voice_engine/test/auto_test/automated_mode.cc: Removed.
275         * Source/webrtc/voice_engine/test/auto_test/fakes/conference_transport.cc: Removed.
276         * Source/webrtc/voice_engine/test/auto_test/fakes/loudest_filter.cc: Removed.
277         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_initialization_fixture.cc: Removed.
278         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.cc: Removed.
279         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc: Removed.
280         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc: Removed.
281         * Source/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc: Removed.
282         * Source/webrtc/voice_engine/test/auto_test/standard/codec_test.cc: Removed.
283         * Source/webrtc/voice_engine/test/auto_test/standard/dtmf_test.cc: Removed.
284         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_before_streaming_test.cc: Removed.
285         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_extensions.cc: Removed.
286         * Source/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc: Removed.
287         * Source/webrtc/voice_engine/test/auto_test/voe_conference_test.cc: Removed.
288         * Source/webrtc/voice_engine/test/auto_test/voe_standard_test.cc: Removed.
289         * Source/webrtc/voice_engine/voe_codec_impl.cc: Removed.
290         * Source/webrtc/voice_engine/voe_codec_unittest.cc: Removed.
291         * Source/webrtc/voice_engine/voe_file_impl.cc: Removed.
292         * Source/webrtc/voice_engine/voe_network_impl.cc: Removed.
293         * Source/webrtc/voice_engine/voe_network_unittest.cc: Removed.
294         * Source/webrtc/voice_engine/voe_rtp_rtcp_impl.cc: Removed.
295         * Source/webrtc/voice_engine/voice_engine_fixture.cc: Removed.
296
297 2018-03-07  Youenn Fablet  <youenn@apple.com>
298
299         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
300         https://bugs.webkit.org/show_bug.cgi?id=180843
301
302         Unreviewed.
303         Removed empty unused files.
304
305         * Source/webrtc/audio/test/low_bandwidth_audio_test.h: Removed.
306         * Source/webrtc/config.h: Removed.
307         * Source/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.h: Removed.
308         * Source/webrtc/media/engine/webrtccommon.h: Removed.
309         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.h: Removed.
310         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.h: Removed.
311         * Source/webrtc/modules/audio_coding/neteq/audio_decoder_impl.h: Removed.
312         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.h: Removed.
313         * Source/webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h: Removed.
314         * Source/webrtc/modules/audio_coding/neteq/test/PayloadTypes.h: Removed.
315         * Source/webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h: Removed.
316         * Source/webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_defines.h: Removed.
317         * Source/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h: Removed.
318         * Source/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h: Removed.
319         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool.h: Removed.
320         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h: Removed.
321         * Source/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h: Removed.
322         * Source/webrtc/modules/audio_conference_mixer/source/time_scheduler.h: Removed.
323         * Source/webrtc/modules/audio_device/test/audio_device_test_defines.h: Removed.
324         * Source/webrtc/modules/audio_processing/aec3/decimator_by_4.h: Removed.
325         * Source/webrtc/modules/audio_processing/agc2/digital_gain_applier.h: Removed.
326         * Source/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h: Removed.
327         * Source/webrtc/modules/congestion_controller/include/congestion_controller.h: Removed.
328         * Source/webrtc/modules/desktop_capture/resolution_change_detector.h: Removed.
329         * Source/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h: Removed.
330         * Source/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.h: Removed.
331         * Source/webrtc/modules/video_coding/sequence_number_util.h: Removed.
332         * Source/webrtc/p2p/base/candidate.h: Removed.
333         * Source/webrtc/p2p/base/dtlstransportchannel.h: Removed.
334         * Source/webrtc/p2p/base/faketransportcontroller.h: Removed.
335         * Source/webrtc/p2p/base/transportcontroller.h: Removed.
336         * Source/webrtc/p2p/quic/quicconnectionhelper.h: Removed.
337         * Source/webrtc/p2p/quic/quicsession.h: Removed.
338         * Source/webrtc/p2p/quic/quictransport.h: Removed.
339         * Source/webrtc/p2p/quic/quictransportchannel.h: Removed.
340         * Source/webrtc/p2p/quic/reliablequicstream.h: Removed.
341         * Source/webrtc/pc/quicdatachannel.h: Removed.
342         * Source/webrtc/pc/quicdatatransport.h: Removed.
343         * Source/webrtc/pc/test/mock_webrtcsession.h: Removed.
344         * Source/webrtc/pc/webrtcsession.h: Removed.
345         * Source/webrtc/sdk/android/src/jni/audio_jni.h: Removed.
346         * Source/webrtc/sdk/android/src/jni/media_jni.h: Removed.
347         * Source/webrtc/sdk/android/src/jni/native_handle_impl.h: Removed.
348         * Source/webrtc/sdk/android/src/jni/ownedfactoryandthreads.h: Removed.
349         * Source/webrtc/sdk/android/src/jni/rtcstatscollectorcallbackwrapper.h: Removed.
350         * Source/webrtc/sdk/android/src/jni/video_jni.h: Removed.
351         * Source/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h: Removed.
352         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h: Removed.
353         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h: Removed.
354         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h: Removed.
355         * Source/webrtc/system_wrappers/include/fix_interlocked_exchange_pointer_win.h: Removed.
356         * Source/webrtc/system_wrappers/include/logcat_trace_context.h: Removed.
357         * Source/webrtc/system_wrappers/include/static_instance.h: Removed.
358         * Source/webrtc/system_wrappers/include/trace.h: Removed.
359         * Source/webrtc/system_wrappers/source/trace_impl.h: Removed.
360         * Source/webrtc/system_wrappers/source/trace_posix.h: Removed.
361         * Source/webrtc/system_wrappers/source/trace_win.h: Removed.
362         * Source/webrtc/test/testsupport/isolated_output.h: Removed.
363         * Source/webrtc/test/testsupport/mock/mock_frame_writer.h: Removed.
364         * Source/webrtc/test/testsupport/trace_to_stderr.h: Removed.
365         * Source/webrtc/tools/converter/converter.h: Removed.
366         * Source/webrtc/tools/event_log_visualizer/analyzer.h: Removed.
367         * Source/webrtc/tools/event_log_visualizer/plot_base.h: Removed.
368         * Source/webrtc/tools/event_log_visualizer/plot_protobuf.h: Removed.
369         * Source/webrtc/tools/event_log_visualizer/plot_python.h: Removed.
370         * Source/webrtc/tools/frame_analyzer/reference_less_video_analysis_lib.h: Removed.
371         * Source/webrtc/tools/frame_analyzer/video_quality_analysis.h: Removed.
372         * Source/webrtc/tools/frame_editing/frame_editing_lib.h: Removed.
373         * Source/webrtc/tools/network_tester/config_reader.h: Removed.
374         * Source/webrtc/tools/network_tester/packet_logger.h: Removed.
375         * Source/webrtc/tools/network_tester/packet_sender.h: Removed.
376         * Source/webrtc/tools/network_tester/test_controller.h: Removed.
377         * Source/webrtc/tools/simple_command_line_parser.h: Removed.
378         * Source/webrtc/video/vie_encoder.h: Removed.
379         * Source/webrtc/video_receive_stream.h: Removed.
380         * Source/webrtc/video_send_stream.h: Removed.
381         * Source/webrtc/voice_engine/coder.h: Removed.
382         * Source/webrtc/voice_engine/file_player.h: Removed.
383         * Source/webrtc/voice_engine/file_recorder.h: Removed.
384         * Source/webrtc/voice_engine/include/voe_codec.h: Removed.
385         * Source/webrtc/voice_engine/include/voe_file.h: Removed.
386         * Source/webrtc/voice_engine/include/voe_network.h: Removed.
387         * Source/webrtc/voice_engine/include/voe_rtp_rtcp.h: Removed.
388         * Source/webrtc/voice_engine/mock/mock_voe_observer.h: Removed.
389         * Source/webrtc/voice_engine/monitor_module.h: Removed.
390         * Source/webrtc/voice_engine/output_mixer.h: Removed.
391         * Source/webrtc/voice_engine/statistics.h: Removed.
392         * Source/webrtc/voice_engine/test/auto_test/automated_mode.h: Removed.
393         * Source/webrtc/voice_engine/test/auto_test/fakes/conference_transport.h: Removed.
394         * Source/webrtc/voice_engine/test/auto_test/fakes/loudest_filter.h: Removed.
395         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_initialization_fixture.h: Removed.
396         * Source/webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h: Removed.
397         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h: Removed.
398         * Source/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h: Removed.
399         * Source/webrtc/voice_engine/test/auto_test/voe_standard_test.h: Removed.
400         * Source/webrtc/voice_engine/test/auto_test/voe_test_common.h: Removed.
401         * Source/webrtc/voice_engine/test/auto_test/voe_test_defines.h: Removed.
402         * Source/webrtc/voice_engine/voe_codec_impl.h: Removed.
403         * Source/webrtc/voice_engine/voe_file_impl.h: Removed.
404         * Source/webrtc/voice_engine/voe_network_impl.h: Removed.
405         * Source/webrtc/voice_engine/voe_rtp_rtcp_impl.h: Removed.
406         * Source/webrtc/voice_engine/voice_engine_fixture.h: Removed.
407
408 2018-03-07  Youenn Fablet  <youenn@apple.com>
409
410         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
411         https://bugs.webkit.org/show_bug.cgi?id=180843
412
413         Unreviewed.
414         Removed folder as it is now unused.
415
416         * Source/webrtc/base: Removed.
417
418 2017-12-18  Youenn Fablet  <youenn@apple.com>
419
420         Update to libwebrtc revision 4e70a72571dd26b85c2385e9c618e343428df5d3
421         https://bugs.webkit.org/show_bug.cgi?id=180843
422
423         Reviewed by Eric Carlson.
424
425         Updated libwebrtc as follows:
426         - Boringssl
427             - https://boringssl.googlesource.com/boringssl/
428             - fc9c67599d9bdeb2e0467085133b81a8e28f77a4
429         - Libwebrtc
430             - https://webrtc.googlesource.com/src
431             - 4e70a72571dd26b85c2385e9c618e343428df5d3
432             - Libsrtp
433                 - 1d45b8e599dc2db6ea3ae22dbc94a8c504652423
434                 - https://chromium.googlesource.com/chromium/deps/libsrtp.git
435             - Libyuv
436                 - 12c904a97c81c3ef4cab0fc8fb1f0485b4ec4e8c
437                 - https://chromium.googlesource.com/libyuv/libyuv.git
438             - Usrsctp
439                 - f4819e1b177f7bfdd761c147f5a649b9f1a78c06
440                 - https://github.com/sctplab/usrsctp.git
441
442         Below files have been modified to adapt for WebKit.
443         Patches for various parts are kept in WebKit folder.
444         In addition to these changes, VTB codecs and factories used by WebKit
445         are now added inside libwebrtc in webrtc/sdk/WebKit.
446         Future refactoring should consolidate these files.
447
448         Not updated the following folders that are not used right now:
449         - Source/third_party/boringssl/linux-x86_64
450         - Source/third_party/boringssl/mac-x86
451         - Source/webrtc/data
452         - Source/third_party/boringssl/src/fuzz
453
454         * Configurations/libwebrtc.iOS.exp:
455         * Configurations/libwebrtc.iOSsim.exp:
456         * Configurations/libwebrtc.mac.exp:
457         * Configurations/libwebrtc.xcconfig:
458         * Configurations/libwebrtcpcrtc.xcconfig:
459         * Source/third_party/boringssl/src/crypto/fipsmodule/aes/aes.c:
460         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_input.c:
461         (sctp_process_cookie_existing):
462         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_output.c:
463         * Source/third_party/usrsctp/usrsctplib/netinet/sctp_pcb.c:
464         * Source/third_party/usrsctp/usrsctplib/user_atomic.h:
465         * Source/webrtc/api/array_view.h:
466         (rtc::impl::ArrayViewBase::ArrayViewBase):
467         * Source/webrtc/api/audio_codecs/ilbc/audio_encoder_ilbc.cc:
468         * Source/webrtc/api/datachannelinterface.h:
469         (webrtc::DataChannelObserver::OnBufferedAmountChange):
470         * Source/webrtc/api/jsep.h:
471         (webrtc::SessionDescriptionInterface::RemoveCandidates):
472         * Source/webrtc/api/mediastreaminterface.h:
473         (webrtc::VideoTrackInterface::set_content_hint):
474         (webrtc::AudioSourceInterface::SetVolume):
475         (webrtc::AudioSourceInterface::RegisterAudioObserver):
476         (webrtc::AudioSourceInterface::UnregisterAudioObserver):
477         (webrtc::AudioSourceInterface::AddSink):
478         (webrtc::AudioSourceInterface::RemoveSink):
479         (webrtc::AudioTrackInterface::GetSignalLevel):
480         * Source/webrtc/api/mediatypes.cc:
481         * Source/webrtc/api/peerconnectioninterface.h:
482         (webrtc::PeerConnectionInterface::AddTransceiver):
483         (webrtc::PeerConnectionInterface::CreateSender):
484         (webrtc::PeerConnectionInterface::GetStats):
485         (webrtc::PeerConnectionInterface::CreateOffer):
486         (webrtc::PeerConnectionInterface::CreateAnswer):
487         (webrtc::PeerConnectionInterface::SetRemoteDescription):
488         (webrtc::PeerConnectionInterface::UpdateIce):
489         (webrtc::PeerConnectionInterface::SetConfiguration):
490         (webrtc::PeerConnectionInterface::RemoveIceCandidates):
491         (webrtc::PeerConnectionInterface::SetBitrateAllocationStrategy):
492         (webrtc::PeerConnectionInterface::SetAudioPlayout):
493         (webrtc::PeerConnectionInterface::SetAudioRecording):
494         (webrtc::PeerConnectionInterface::StartRtcEventLog):
495         (webrtc::PeerConnectionObserver::OnIceCandidatesRemoved):
496         (webrtc::PeerConnectionObserver::OnIceConnectionReceivingChange):
497         (webrtc::PeerConnectionObserver::OnAddTrack):
498         (webrtc::PeerConnectionObserver::OnRemoveTrack):
499         (webrtc::PeerConnectionFactoryInterface::CreateVideoSource):
500         * Source/webrtc/api/umametrics.h:
501         (webrtc::MetricsObserverInterface::IncrementEnumCounter):
502         * Source/webrtc/api/video_codecs/video_decoder.h:
503         (webrtc::DecodedImageCallback::Decoded):
504         (webrtc::DecodedImageCallback::ReceivedDecodedReferenceFrame):
505         (webrtc::DecodedImageCallback::ReceivedDecodedFrame):
506         * Source/webrtc/api/video_codecs/video_encoder.h:
507         (webrtc::EncodedImageCallback::OnDroppedFrame):
508         * Source/webrtc/common_video/include/frame_callback.h:
509         (webrtc::EncodedFrameObserver::OnEncodeTiming):
510         * Source/webrtc/common_video/video_frame_buffer.cc:
511         * Source/webrtc/logging/rtc_event_log/rtc_event_log.h:
512         (webrtc::RtcEventLog::Create):
513         * Source/webrtc/media/base/mediachannel.h:
514         (cricket::DataMediaChannel::GetStats):
515         (cricket::DataMediaChannel::OnNetworkRouteChanged):
516         * Source/webrtc/media/engine/internaldecoderfactory.cc:
517         * Source/webrtc/media/engine/internalencoderfactory.cc:
518         * Source/webrtc/modules/audio_coding/acm2/audio_coding_module.cc:
519         * Source/webrtc/modules/audio_coding/acm2/rent_a_codec.cc:
520         * Source/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc:
521         * Source/webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc:
522         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:
523         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc:
524         * Source/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc:
525         * Source/webrtc/modules/audio_device/android/audio_device_template.h:
526         * Source/webrtc/modules/audio_device/android/audio_record_jni.cc:
527         * Source/webrtc/modules/audio_device/include/audio_device.h:
528         (webrtc::AudioDeviceModule::SetRecordingChannel):
529         (webrtc::AudioDeviceModule::RecordingChannel const):
530         (webrtc::AudioDeviceModule::SetRecordingSampleRate):
531         (webrtc::AudioDeviceModule::RecordingSampleRate const):
532         (webrtc::AudioDeviceModule::SetPlayoutSampleRate):
533         (webrtc::AudioDeviceModule::PlayoutSampleRate const):
534         (webrtc::AudioDeviceModule::SetLoudspeakerStatus):
535         (webrtc::AudioDeviceModule::GetLoudspeakerStatus const):
536         * Source/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/fake_polqa.cc:
537         * Source/webrtc/modules/audio_processing/test/wav_based_simulator.cc:
538         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:
539         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h:
540         (webrtc::DefaultTemporalLayersChecker::BufferState::BufferState):
541         * Source/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc:
542         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8.h:
543         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h:
544         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h:
545         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc:
546         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h:
547         * Source/webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc:
548         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc:
549         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h:
550         * Source/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc:
551         * Source/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:
552         (webrtc::TemporalLayers::FrameConfig::operator== const):
553         (webrtc::TemporalLayers::FrameConfig::operator!= const):
554         (webrtc::TemporalLayersChecker::~TemporalLayersChecker):
555         (webrtc::TemporalLayersChecker::BufferState::BufferState):
556         * Source/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc:
557         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:
558         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h:
559         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_noop.cc:
560         * Source/webrtc/modules/video_coding/qp_parser.cc:
561         * Source/webrtc/modules/video_coding/video_codec_initializer.cc:
562         * Source/webrtc/ortc/ortcfactory.cc:
563         * Source/webrtc/ortc/rtpparametersconversion.cc:
564         * Source/webrtc/p2p/base/icetransportinternal.h:
565         (cricket::IceTransportInternal::SetIceProtocolType):
566         * Source/webrtc/p2p/base/port.h:
567         (cricket::Port::HandleConnectionDestroyed):
568         * Source/webrtc/p2p/base/stun.h:
569         (cricket::StunAttribute::SetOwner):
570         * Source/webrtc/p2p/base/stunrequest.h:
571         (cricket::StunRequest::Prepare):
572         (cricket::StunRequest::OnResponse):
573         (cricket::StunRequest::OnErrorResponse):
574         * Source/webrtc/rtc_base/checks.h:
575         * Source/webrtc/rtc_base/flags.cc:
576         * Source/webrtc/rtc_base/location.h:
577         * Source/webrtc/rtc_base/messagehandler.h:
578         (rtc::FunctorMessageHandler::OnMessage):
579         * Source/webrtc/rtc_base/network.h:
580         (rtc::NetworkManager::GetAnyAddressNetworks):
581         * Source/webrtc/rtc_base/numerics/safe_conversions.h:
582         (rtc::saturated_cast):
583         * Source/webrtc/rtc_base/numerics/safe_conversions_impl.h:
584         * Source/webrtc/rtc_base/opensslidentity.cc:
585         * Source/webrtc/rtc_base/sanitizer.h:
586         (rtc_AsanPoison):
587         (rtc_AsanUnpoison):
588         (rtc_MsanMarkUninitialized):
589         (rtc_MsanCheckInitialized):
590         * Source/webrtc/rtc_base/socketserver.h:
591         (rtc::SocketServer::SetMessageQueue):
592         * Source/webrtc/rtc_base/stream.h:
593         (rtc::StreamInterface::ConsumeReadData):
594         (rtc::StreamInterface::ConsumeWriteBuffer):
595         * Source/webrtc/rtc_base/stringize_macros.h:
596         * Source/webrtc/sdk/WebKit/VideoToolBoxDecoderFactory.cpp: Added.
597         (webrtc::VideoToolboxVideoDecoderFactory::~VideoToolboxVideoDecoderFactory):
598         (webrtc::VideoToolboxVideoDecoderFactory::Add):
599         (webrtc::VideoToolboxVideoDecoderFactory::Remove):
600         (webrtc::VideoToolboxVideoDecoderFactory::SetActive):
601         (webrtc::VideoToolboxVideoDecoderFactory::CreateVideoDecoder):
602         (webrtc::CreateH264Format):
603         (webrtc::VideoToolboxVideoDecoderFactory::GetSupportedFormats const):
604         * Source/webrtc/sdk/WebKit/VideoToolBoxDecoderFactory.h: Renamed from Source/WebCore/platform/mediastream/libwebrtc/VideoToolBoxDecoderFactory.h.
605         * Source/webrtc/sdk/WebKit/VideoToolBoxEncoderFactory.cpp: Added.
606         (webrtc::VideoToolboxVideoEncoderFactory::~VideoToolboxVideoEncoderFactory):
607         (webrtc::VideoToolboxVideoEncoderFactory::Add):
608         (webrtc::VideoToolboxVideoEncoderFactory::Remove):
609         (webrtc::VideoToolboxVideoEncoderFactory::SetActive):
610         (webrtc::CreateH264Format):
611         (webrtc::VideoToolboxVideoEncoderFactory::GetSupportedFormats const):
612         (webrtc::VideoToolboxVideoEncoderFactory::QueryVideoEncoder const):
613         (webrtc::VideoToolboxVideoEncoderFactory::CreateVideoEncoder):
614         * Source/webrtc/sdk/WebKit/VideoToolBoxEncoderFactory.h: Renamed from Source/WebCore/platform/mediastream/libwebrtc/VideoToolBoxEncoderFactory.h.
615         * Source/webrtc/sdk/WebKit/decoder.h: Added.
616         (webrtc::H264VideoToolboxDecoder::SetActive):
617         * Source/webrtc/sdk/WebKit/decoder.mm: Added.
618         (webrtc::H264VideoToolboxDecoder::H264VideoToolboxDecoder):
619         (webrtc::H264VideoToolboxDecoder::~H264VideoToolboxDecoder):
620         (webrtc::H264VideoToolboxDecoder::ClearFactory):
621         (webrtc::H264VideoToolboxDecoder::InitDecode):
622         (webrtc::H264VideoToolboxDecoder::Decode):
623         * Source/webrtc/sdk/WebKit/encoder.h: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h.
624         (webrtc::H264VideoToolboxEncoder::ClearFactory):
625         (webrtc::H264VideoToolboxEncoder::SetActive):
626         * Source/webrtc/sdk/WebKit/encoder.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm.
627         (internal::CreateCFDictionary):
628         (internal::CFStringToString):
629         (internal::SetVTSessionProperty):
630         (internal::FrameEncodeParams::FrameEncodeParams):
631         (internal::CopyVideoFrameToPixelBuffer):
632         (internal::CreatePixelBuffer):
633         (internal::VTCompressionOutputCallback):
634         (internal::ExtractProfile):
635         (webrtc::H264VideoToolboxEncoder::H264VideoToolboxEncoder):
636         (webrtc::H264VideoToolboxEncoder::~H264VideoToolboxEncoder):
637         (webrtc::H264VideoToolboxEncoder::InitEncode):
638         (webrtc::H264VideoToolboxEncoder::Encode):
639         * Source/webrtc/sdk/WebKit/encoder_vcp.h: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h.
640         (webrtc::H264VideoToolboxEncoderVCP::ClearFactory):
641         * Source/webrtc/sdk/WebKit/encoder_vcp.mm: Renamed from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm.
642         (internal::SetVTSessionProperty):
643         (internal::CopyVideoFrameToPixelBuffer):
644         (internal::CreatePixelBuffer):
645         (internal::ExtractProfile):
646         (webrtc::H264VideoToolboxEncoderVCP::H264VideoToolboxEncoderVCP):
647         (webrtc::H264VideoToolboxEncoderVCP::Encode):
648         * Source/webrtc/test/rtp_file_reader.cc:
649         * Source/webrtc/voice_engine/utility.cc:
650         * WebKit/0001-Tweaking-boringssl-include-of-internal.h.patch: Renamed from Source/ThirdParty/libwebrtc/WebKit/patch-boringssl.
651         * WebKit/0002-Fixing-usrctp-library-compilation-errors.patch: Added.
652         * WebKit/0003-Fixing-VP8-files.patch: Added.
653         * WebKit/0004-Removing-parameter-names-from-files-included-from-We.patch: Added.
654         * WebKit/0005-Fix-RTC_FATAL.patch: Added.
655         * WebKit/0006-Disabling-VP8.patch: Added.
656         * WebKit/0007-Fix-RTC_STRINGIZE.patch: Added.
657         * WebKit/0008-Fix-sanitizer.patch: Added.
658         * WebKit/patch-libwebrtc: Removed.
659         * WebKit/patch-usrsctp: Removed.
660         * libwebrtc.xcodeproj/project.pbxproj:
661
662 2018-01-27  Dan Bernstein  <mitz@apple.com>
663
664         HaveInternalSDK includes should be "#include?"
665         https://bugs.webkit.org/show_bug.cgi?id=179670
666
667         * Configurations/Base.xcconfig:
668
669 2018-01-26  Youenn Fablet  <youenn@apple.com>
670
671         Disable VCP for MacOS
672         https://bugs.webkit.org/show_bug.cgi?id=182183
673         <rdar://problem/36919791>
674
675         Reviewed by Eric Carlson.
676
677         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h:
678
679 2018-01-19  Joseph Pecoraro  <pecoraro@apple.com>
680
681         Follow-up build fix for r227206.
682
683         Unreviewed.
684
685         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h:
686         Avoid duplicate and different definitions of ALWAYS_INLINE.
687
688 2018-01-19  Youenn Fablet  <youenn@apple.com>
689
690         Softlink VideoProcessing in WebKit
691         https://bugs.webkit.org/show_bug.cgi?id=181853
692         <rdar://problem/36590005>
693
694         Reviewed by Eric Carlson.
695
696         * Configurations/libwebrtc.xcconfig:
697         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.cpp: Added.
698         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/VideoProcessingSoftLink.h: Added.
699         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h:
700         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm:
701         (internal::SetVTSessionProperty):
702         (webrtc::H264VideoToolboxEncoderVCP::Encode):
703         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
704         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
705         * libwebrtc.xcodeproj/project.pbxproj:
706
707 2018-01-18  Dan Bernstein  <mitz@apple.com>
708
709         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
710         https://bugs.webkit.org/show_bug.cgi?id=181803
711
712         Reviewed by Tim Horton.
713
714         * Configurations/Base.xcconfig: Updated.
715         * Configurations/DebugRelease.xcconfig: Ditto.
716         * Configurations/macOSTargetConditionals.xcconfig: Added. Defines helper build settings
717           useful for defining settings that depend on the target macOS version.
718         * Configurations/opus.xcconfig: Adopted macOSTargetConditionals helper.
719
720 2018-01-08  David Kilzer  <ddkilzer@apple.com>
721
722         libwebrtc: Fix 'ld: warning: cannot export hidden symbol' messages
723         <https://webkit.org/b/181378>
724
725         Reviewed by Youenn Fablet.
726
727         * Configurations/libwebrtc.iOS.exp:
728         * Configurations/libwebrtc.iOSsim.exp:
729         * Configurations/libwebrtc.mac.exp:
730         - Remove 117 symbols that are not currently exported.  These
731           warnings only appear in Release and Production builds.
732
733 2018-01-05  Youenn Fablet  <youenn@apple.com>
734
735         Close WebRTC sockets when marked as defunct
736         https://bugs.webkit.org/show_bug.cgi?id=177324
737         rdar://problem/35244931
738
739         Reviewed by Eric Carlson.
740
741         In case selected sockets return an error when trying to accept an incoming socket,
742         check whether the socket is defunct or not.
743         If so, close it properly.
744
745         * Source/webrtc/base/asynctcpsocket.cc:
746         * Source/webrtc/base/physicalsocketserver.cc:
747         * Source/webrtc/base/socket.h:
748
749 2017-12-15  Dan Bernstein  <mitz@apple.com>
750
751         libwebrtc installs an extra copy of encoder_vcp.h under /usr/local/include
752         https://bugs.webkit.org/show_bug.cgi?id=180858
753
754         Reviewed by Anders Carlsson.
755
756         * libwebrtc.xcodeproj/project.pbxproj: Demoted the header from Private to Project. A script build phase
757           copies it to the correct location under /usr/local/include/webrtc.
758
759 2017-12-14  David Kilzer  <ddkilzer@apple.com>
760
761         Enable -Wstrict-prototypes for WebKit
762         <https://webkit.org/b/180757>
763         <rdar://problem/36024132>
764
765         Rubber-stamped by Joseph Pecoraro.
766
767         * Configurations/Base.xcconfig:
768         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
769         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_socket.c:
770         (wakeup_one): Modernize function argument declarations.
771         (getsockaddr): Ditto.
772         * Source/webrtc/common_audio/signal_processing/include/signal_processing_library.h:
773         (WebRtcSpl_Init): Add 'void' to C function declaration.
774         * Source/webrtc/common_audio/vad/include/webrtc_vad.h:
775         (WebRtcVad_Create): Ditto.
776         * Source/webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h:
777         (WebRtcIsacfix_InitTransform): Ditto.
778         * Source/webrtc/modules/audio_processing/agc/legacy/gain_control.h:
779         (WebRtcAgc_Create): Ditto.
780         * Source/webrtc/modules/audio_processing/ns/noise_suppression.h:
781         (WebRtcNs_Create): Ditto.
782         (WebRtcNs_num_freq): Ditto.
783         * Source/webrtc/modules/audio_processing/ns/noise_suppression_x.h:
784         (WebRtcNsx_Create): Ditto.
785         (WebRtcNsx_num_freq): Ditto.
786
787 2017-12-11  Youenn Fablet  <youenn@apple.com>
788
789         Use VCP H264 encoder for platforms supporting it
790         https://bugs.webkit.org/show_bug.cgi?id=179076
791         rdar://problem/35180773
792
793         Reviewed by Eric Carlson.
794
795         * Configurations/libwebrtc.iOS.exp:
796         * Configurations/libwebrtc.iOSsim.exp:
797         * Configurations/libwebrtc.mac.exp:
798         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
799         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
800         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
801         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
802         (internal::CFStringToString):
803         (internal::SetVTSessionProperty):
804         (internal::CopyVideoFrameToPixelBuffer):
805         (internal::CreatePixelBuffer):
806         (internal::VTCompressionOutputCallback):
807         (internal::ExtractProfile):
808         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
809         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
810         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
811         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
812         * libwebrtc.xcodeproj/project.pbxproj:
813
814 2017-12-11  Tim Horton  <timothy_horton@apple.com>
815
816         Stop using deprecated target conditional for simulator builds
817         https://bugs.webkit.org/show_bug.cgi?id=180662
818         <rdar://problem/35136156>
819
820         Reviewed by Simon Fraser.
821
822         * Source/third_party/libyuv/source/mjpeg_decoder.cc:
823         * Source/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m:
824         (-[ARDAppClient createLocalVideoTrack]):
825         * Source/webrtc/examples/objc/AppRTCMobile/tests/ARDAppClient_xctest.mm:
826         * Source/webrtc/modules/audio_device/ios/audio_device_ios.mm:
827         (webrtc::LogDeviceInfo):
828
829 2017-11-06  Commit Queue  <commit-queue@webkit.org>
830
831         Unreviewed, rolling out r224497.
832         https://bugs.webkit.org/show_bug.cgi?id=179335
833
834         It is breaking internal builds (Requested by youenn on
835         #webkit).
836
837         Reverted changeset:
838
839         "Use VCP H264 encoder for platforms supporting it"
840         https://bugs.webkit.org/show_bug.cgi?id=179076
841         https://trac.webkit.org/changeset/224497
842
843 2017-11-06  Youenn Fablet  <youenn@apple.com>
844
845         Use VCP H264 encoder for platforms supporting it
846         https://bugs.webkit.org/show_bug.cgi?id=179076
847         rdar://problem/35180773
848
849         Reviewed by Eric Carlson.
850
851         * Configurations/libwebrtc.iOS.exp:
852         * Configurations/libwebrtc.iOSsim.exp:
853         * Configurations/libwebrtc.mac.exp:
854         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
855         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
856         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
857         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
858         (internal::CFStringToString):
859         (internal::SetVTSessionProperty):
860         (internal::CopyVideoFrameToPixelBuffer):
861         (internal::CreatePixelBuffer):
862         (internal::VTCompressionOutputCallback):
863         (internal::ExtractProfile):
864         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
865         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
866         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
867         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
868         * libwebrtc.xcodeproj/project.pbxproj:
869
870 2017-11-03  Commit Queue  <commit-queue@webkit.org>
871
872         Unreviewed, rolling out r224428, r224435, and r224440.
873         https://bugs.webkit.org/show_bug.cgi?id=179274
874
875         Broke iOS and internal builds (Requested by ryanhaddad on
876         #webkit).
877
878         Reverted changesets:
879
880         "Use VCP H264 encoder for platforms supporting it"
881         https://bugs.webkit.org/show_bug.cgi?id=179076
882         https://trac.webkit.org/changeset/224428
883
884         "Use VCP H264 encoder for platforms supporting it"
885         https://bugs.webkit.org/show_bug.cgi?id=179076
886         https://trac.webkit.org/changeset/224435
887
888         "Use VCP H264 encoder for platforms supporting it"
889         https://bugs.webkit.org/show_bug.cgi?id=179076
890         https://trac.webkit.org/changeset/224440
891
892 2017-11-03  Youenn Fablet  <youenn@apple.com>
893
894         Use VCP H264 encoder for platforms supporting it
895         https://bugs.webkit.org/show_bug.cgi?id=179076
896         rdar://problem/35180773
897
898         Unreviewed.
899
900         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: build fix for iOS.
901
902 2017-11-03  Youenn Fablet  <youenn@apple.com>
903
904         Use VCP H264 encoder for platforms supporting it
905         https://bugs.webkit.org/show_bug.cgi?id=179076
906         rdar://problem/35180773
907
908         Unreviewed.
909
910         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: build fix.
911
912 2017-11-03  Youenn Fablet  <youenn@apple.com>
913
914         Use VCP H264 encoder for platforms supporting it
915         https://bugs.webkit.org/show_bug.cgi?id=179076
916         rdar://problem/35180773
917
918         Reviewed by Eric Carlson.
919
920         * Configurations/libwebrtc.iOS.exp:
921         * Configurations/libwebrtc.iOSsim.exp:
922         * Configurations/libwebrtc.mac.exp:
923         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.h: Added.
924         (webrtc::H264VideoToolboxEncoderVCP::SetActive):
925         * Source/webrtc/sdk/objc/Framework/Classes/VideoProcessing/encoder_vcp.mm: Copied from Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm.
926         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
927         (internal::CFStringToString):
928         (internal::SetVTSessionProperty):
929         (internal::CopyVideoFrameToPixelBuffer):
930         (internal::CreatePixelBuffer):
931         (internal::VTCompressionOutputCallback):
932         (internal::ExtractProfile):
933         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
934         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm:
935         (webrtc::VideoToolboxVideoEncoderFactory::VideoToolboxVideoEncoderFactory):
936         (webrtc::VideoToolboxVideoEncoderFactory::CreateSupportedVideoEncoder):
937         * libwebrtc.xcodeproj/project.pbxproj:
938
939 2017-10-04  Commit Queue  <commit-queue@webkit.org>
940
941         Unreviewed, rolling out r222775.
942         https://bugs.webkit.org/show_bug.cgi?id=177890
943
944         Significantly increased the WebKit build time (Requested by
945         rniwa on #webkit).
946
947         Reverted changeset:
948
949         "Build libwebrtc unit tests executables"
950         https://bugs.webkit.org/show_bug.cgi?id=177211
951         http://trac.webkit.org/changeset/222775
952
953 2017-10-03  Youenn Fablet  <youenn@apple.com>
954
955         Remove no longer needed WebRTC build infrastructure
956         https://bugs.webkit.org/show_bug.cgi?id=177756
957
958         Reviewed by Alejandro G. Castro.
959
960         * WebKit/project.json: Removed.
961         * WebKit/rtc_sdk_framework_objc_info_plist.plist: Removed.
962
963 2017-10-03  Youenn Fablet  <youenn@apple.com>
964
965         Build libwebrtc unit tests executables
966         https://bugs.webkit.org/show_bug.cgi?id=177211
967
968         Reviewed by Alex Christensen.
969
970         Adding support for a new target called unittests that will be several executables.
971         Each executable run unit tests dedicated to a part of libwebrtc.
972
973         Adding one target/executable per unit test suite.
974         Adding one composite target to build all unit test targets.
975         Adding a target to build a static libwebrtctest library.
976         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
977
978         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
979         This ends up making some tests crashing.
980         An additional work should follow to execute only the meaningful subset of tests.
981
982         * Configurations/libwebrtc-base.xcconfig: Added.
983         * Configurations/libwebrtc-test-static.xcconfig: Added.
984         * Configurations/rtc_pc_unittests.xcconfig: Added.
985         * Source/third_party/gflags/gen/posix/include/private/config.h:
986         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
987         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
988         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
989         * Source/webrtc/test/gtest.h: Ditto.
990         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
991         * libwebrtc.xcodeproj/project.pbxproj:
992
993 2017-09-29  Matt Lewis  <jlewis3@apple.com>
994
995         Unreviewed, rolling out r222652.
996
997         This broke an internal build.
998
999         Reverted changeset:
1000
1001         "Build libwebrtc unit tests executables"
1002         https://bugs.webkit.org/show_bug.cgi?id=177211
1003         http://trac.webkit.org/changeset/222652
1004
1005 2017-09-29  Youenn Fablet  <youenn@apple.com>
1006
1007         Build libwebrtc unit tests executables
1008         https://bugs.webkit.org/show_bug.cgi?id=177211
1009
1010         Reviewed by Alex Christensen.
1011
1012         Adding support for a new target called unittests that will be several executables.
1013         Each executable run unit tests dedicated to a part of libwebrtc.
1014
1015         Adding one target/executable per unit test suite.
1016         Adding one composite target to build all unit test targets.
1017         Adding a target to build a static libwebrtctest library.
1018         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
1019
1020         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
1021         This ends up making some tests crashing.
1022         An additional work should follow to execute only the meaningful subset of tests.
1023
1024         * Configurations/libwebrtc-base.xcconfig: Added.
1025         * Configurations/libwebrtc-test-static.xcconfig: Added.
1026         * Configurations/rtc_pc_unittests.xcconfig: Added.
1027         * Source/third_party/gflags/gen/posix/include/private/config.h:
1028         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
1029         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
1030         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
1031         * Source/webrtc/test/gtest.h: Ditto.
1032         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
1033         * libwebrtc.xcodeproj/project.pbxproj:
1034
1035 2017-09-27  Ryan Haddad  <ryanhaddad@apple.com>
1036
1037         Unreviewed, rolling out r222537.
1038
1039         This change broke internal builds.
1040
1041         Reverted changeset:
1042
1043         "Build libwebrtc unit tests executables"
1044         https://bugs.webkit.org/show_bug.cgi?id=177211
1045         http://trac.webkit.org/changeset/222537
1046
1047 2017-09-26  Youenn Fablet  <youenn@apple.com>
1048
1049         Build libwebrtc unit tests executables
1050         https://bugs.webkit.org/show_bug.cgi?id=177211
1051
1052         Reviewed by Alex Christensen.
1053
1054         Adding support for a new target called unittests that will be several executables.
1055         Each executable run unit tests dedicated to a part of libwebrtc.
1056
1057         Adding one target/executable per unit test suite.
1058         Adding one composite target to build all unit test targets.
1059         Adding a target to build a static libwebrtctest library.
1060         The static libwebrtctest library is then linked to each unit test executable which is also linked to libwebrtc dylib.
1061
1062         Some unit tests require a default codec (VP8) that is disabled in libwebrtc.
1063         This ends up making some tests crashing.
1064         An additional work should follow to execute only the meaningful subset of tests.
1065
1066         * Configurations/libwebrtc-base.xcconfig: Added.
1067         * Configurations/libwebrtc-test-static.xcconfig: Added.
1068         * Configurations/rtc_pc_unittests.xcconfig: Added.
1069         * Source/third_party/gflags/gen/posix/include/private/config.h:
1070         * Source/webrtc/modules/audio_coding/neteq/tools/neteq_test.cc: Replacing FATAL by RTC_FATAL.
1071         * Source/webrtc/sdk/objc/Framework/Classes/Common/helpers.mm: Removing UIKit dependency.
1072         * Source/webrtc/test/gmock.h: Using googletest version instead of checking in testing folder.
1073         * Source/webrtc/test/gtest.h: Ditto.
1074         * Source/webrtc/test/rtp_file_reader.cc: Replacing FATAL by RTC_FATAL.
1075         * libwebrtc.xcodeproj/project.pbxproj:
1076
1077 2017-09-26  Youenn Fablet  <youenn@apple.com>
1078
1079         Remove unnecessary libwebrtc dependencies
1080         https://bugs.webkit.org/show_bug.cgi?id=177494
1081
1082         Reviewed by Alex Christensen.
1083
1084         * libwebrtc.xcodeproj/project.pbxproj:
1085
1086 2017-09-25  Youenn Fablet  <youenn@apple.com>
1087
1088         WebRTC video does not resume receiving when switching back to Safari 11 on iOS
1089         https://bugs.webkit.org/show_bug.cgi?id=175472
1090         <rdar://problem/33860863>
1091
1092         Reviewed by Darin Adler.
1093
1094         Adding a method to disable any decoding/encoding task.
1095         When reenabling the decoder, the decoder will request an I frame after failing the first initial decoding task.
1096
1097         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h:
1098         (webrtc::H264VideoToolboxDecoder::SetActive):
1099         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.mm:
1100         (webrtc::H264VideoToolboxDecoder::Decode):
1101         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1102         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
1103         (webrtc::H264VideoToolboxEncoder::Encode):
1104
1105 2017-09-25  Youenn Fablet  <youenn@apple.com>
1106
1107         Adding per-platform libwebrtc export files
1108         https://bugs.webkit.org/show_bug.cgi?id=177465
1109
1110         Reviewed by Alex Christensen.
1111
1112         Using per platform export symbol files for libwebrtc.dylib.
1113         This allows exporting platform-specific symbols that are used by libwebrtc unit tests.
1114
1115         * Configurations/libwebrtc.iOS.exp: Added.
1116         * Configurations/libwebrtc.iOSsim.exp: Added.
1117         * Configurations/libwebrtc.mac.exp: Added.
1118         * Configurations/libwebrtc.exp: Removed.
1119         * Configurations/libwebrtc.xcconfig:
1120         * libwebrtc.xcodeproj/project.pbxproj: Adding ISAC/fix codec files used for
1121         by audio codec unit tests to libwebrtc.dylib. This files will allow us to add support to the ISAC/fix codec.
1122
1123 2017-09-23  Youenn Fablet  <youenn@apple.com>
1124
1125         Export libwebrtc symbols through an export file
1126         https://bugs.webkit.org/show_bug.cgi?id=177344
1127
1128         Reviewed by Darin Adler.
1129
1130         Removing export changes made to libwebrtc.
1131         Exporting based on libwebrtc.exp file.
1132
1133         * Configurations/Base.xcconfig:
1134         * Configurations/libwebrtc.exp: Added.
1135         * Configurations/libwebrtc.xcconfig:
1136         * Source/webrtc/api/jsep.h:
1137         (): Deleted.
1138         * Source/webrtc/api/mediatypes.h:
1139         * Source/webrtc/api/peerconnectioninterface.h:
1140         * Source/webrtc/api/rtcerror.h:
1141         * Source/webrtc/api/stats/rtcstats.h:
1142         * Source/webrtc/api/stats/rtcstatsreport.h:
1143         (): Deleted.
1144         * Source/webrtc/api/video/i420_buffer.h:
1145         * Source/webrtc/api/video/video_frame.h:
1146         (): Deleted.
1147         * Source/webrtc/api/video/video_frame_buffer.h:
1148         * Source/webrtc/base/asyncpacketsocket.h:
1149         * Source/webrtc/base/asyncresolverinterface.h:
1150         (): Deleted.
1151         * Source/webrtc/base/checks.h:
1152         (): Deleted.
1153         * Source/webrtc/base/copyonwritebuffer.h:
1154         (): Deleted.
1155         * Source/webrtc/base/event.h:
1156         (): Deleted.
1157         * Source/webrtc/base/export.h: Removed.
1158         * Source/webrtc/base/helpers.h:
1159         * Source/webrtc/base/ipaddress.h:
1160         * Source/webrtc/base/location.h:
1161         (): Deleted.
1162         * Source/webrtc/base/logging.h:
1163         * Source/webrtc/base/messagehandler.h:
1164         * Source/webrtc/base/network.h:
1165         * Source/webrtc/base/proxyinfo.h:
1166         * Source/webrtc/base/socketaddress.h:
1167         (): Deleted.
1168         * Source/webrtc/base/thread.h:
1169         * Source/webrtc/common_video/include/i420_buffer_pool.h:
1170         (): Deleted.
1171         * Source/webrtc/common_video/include/video_frame_buffer.h:
1172         (): Deleted.
1173         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
1174         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h:
1175         (): Deleted.
1176         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
1177         (): Deleted.
1178         * Source/webrtc/p2p/client/basicportallocator.h:
1179         * Source/webrtc/pc/mediastream.h:
1180         * Source/webrtc/sdk/objc/Framework/Classes/Video/corevideo_frame_buffer.h:
1181         (): Deleted.
1182         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1183         (): Deleted.
1184         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h:
1185         (): Deleted.
1186         * libwebrtc.xcodeproj/project.pbxproj:
1187
1188 2017-09-20  Youenn Fablet  <youenn@apple.com>
1189
1190         Upstream googletest framework
1191         https://bugs.webkit.org/show_bug.cgi?id=177252
1192
1193         Reviewed by Alex Christensen.
1194
1195         This is used by libwebrtc.
1196
1197         * Source/third_party/googletest: Added.
1198  
1199 2017-09-15  Alicia Boya García  <aboya@igalia.com>
1200
1201         Normalize line terminators in jsoncpp Visual Studio files
1202         https://bugs.webkit.org/show_bug.cgi?id=176991
1203
1204         Reviewed by Konstantin Tokarev.
1205
1206         * Source/third_party/jsoncpp/source/makefiles/vs71/jsoncpp.sln:
1207         * Source/third_party/jsoncpp/source/makefiles/vs71/jsontest.vcproj:
1208         * Source/third_party/jsoncpp/source/makefiles/vs71/lib_json.vcproj:
1209         * Source/third_party/jsoncpp/source/makefiles/vs71/test_lib_json.vcproj:
1210
1211 2017-07-18  Andy Estes  <aestes@apple.com>
1212
1213         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
1214         https://bugs.webkit.org/show_bug.cgi?id=174631
1215
1216         Reviewed by Sam Weinig.
1217
1218         * Configurations/Base.xcconfig:
1219
1220 2017-07-18  Andy Estes  <aestes@apple.com>
1221
1222         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
1223         https://bugs.webkit.org/show_bug.cgi?id=174631
1224
1225         Reviewed by Dan Bernstein.
1226
1227         * Configurations/Base.xcconfig:
1228
1229 2017-07-18  Andy Estes  <aestes@apple.com>
1230
1231         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
1232         https://bugs.webkit.org/show_bug.cgi?id=174631
1233
1234         Reviewed by Darin Adler.
1235
1236         * Configurations/Base.xcconfig:
1237
1238 2017-07-03  Andy Estes  <aestes@apple.com>
1239
1240         [Xcode] Add an experimental setting to build with ccache
1241         https://bugs.webkit.org/show_bug.cgi?id=173875
1242
1243         Reviewed by Tim Horton.
1244
1245         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
1246
1247 2017-07-01  Dan Bernstein  <mitz@apple.com>
1248
1249         [macOS] Remove code only needed when building for OS X Yosemite
1250         https://bugs.webkit.org/show_bug.cgi?id=174067
1251
1252         Reviewed by Tim Horton.
1253
1254         * Configurations/Base.xcconfig:
1255         * Configurations/DebugRelease.xcconfig:
1256
1257 2017-06-27  Youenn Fablet  <youenn@apple.com>
1258
1259         Update boringssl to c8ff30cbe716c72279a6f6a9d7d7d0d4091220fa
1260         https://bugs.webkit.org/show_bug.cgi?id=173676
1261
1262         Reviewed by Alex Christensen.
1263
1264         * Configurations/boringssl.xcconfig: Enabling ASM.
1265         * Source/third_party/boringssl/BUILD.generated.gni:
1266         * Source/third_party/boringssl: Updated folder according new revision.
1267         * WebKit/patch-boringssl: Added, needed to fix some files to disable warnings.
1268         * libwebrtc.xcodeproj/project.pbxproj:
1269
1270 2017-06-27  Youenn Fablet  <youenn@apple.com>
1271
1272         Refresh usrsctp to Source/ThirdParty/libwebrtc/WebKit/patch-usrsctp and libsrtp to ccf84786f8ef803cb9c75e919e5a3976b9f5a67
1273         https://bugs.webkit.org/show_bug.cgi?id=173673
1274
1275         Reviewed by Sam Weinig.
1276
1277         * Source/third_party/libsrtp/README.chromium:
1278         * Source/third_party/libsrtp/srtp/srtp.c:
1279         (srtp_stream_init_keys):
1280         (srtp_calc_aead_iv_srtcp):
1281         (srtp_protect_rtcp_aead):
1282         (srtp_unprotect_rtcp_aead):
1283         * Source/third_party/libsrtp/test/srtp_driver.c:
1284         (srtp_validate_encrypted_extensions_headers_gcm):
1285         * Source/third_party/usrsctp/usrsctplib/.gitignore: Added.
1286         * Source/third_party/usrsctp/usrsctplib/CMakeLists.txt:
1287         * Source/third_party/usrsctp/usrsctplib/Makefile.am:
1288         * Source/third_party/usrsctp/usrsctplib/README.md:
1289         * Source/third_party/usrsctp/usrsctplib/configure.ac:
1290         * Source/third_party/usrsctp/usrsctplib/programs/CMakeLists.txt:
1291         * Source/third_party/usrsctp/usrsctplib/programs/Makefile.am:
1292         * Source/third_party/usrsctp/usrsctplib/programs/client.c:
1293         (main):
1294         * Source/third_party/usrsctp/usrsctplib/programs/datachan_serv.c:
1295         (main):
1296         * Source/third_party/usrsctp/usrsctplib/programs/ekr_loop_offload.c: Added.
1297         (handle_packets):
1298         * Source/third_party/usrsctp/usrsctplib/programs/test_timer.c: Added.
1299         (main):
1300         * Source/third_party/usrsctp/usrsctplib/usrsctp.pc.in: Added.
1301         * Source/third_party/usrsctp/usrsctplib/usrsctplib/CMakeLists.txt:
1302         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.c:
1303         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_asconf.h:
1304         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.c:
1305         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_auth.h:
1306         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.c:
1307         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_bsd_addr.h:
1308         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_cc_functions.c:
1309         (sctp_cwnd_update_after_fr):
1310         (sctp_hs_cwnd_update_after_fr):
1311         (sctp_htcp_cwnd_update_after_fr):
1312         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_constants.h:
1313         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.c:
1314         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h:
1315         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_header.h:
1316         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.c:
1317         (sctp_build_readq_entry):
1318         (sctp_place_control_in_stream):
1319         (sctp_abort_in_reasm):
1320         (sctp_queue_data_to_stream):
1321         (sctp_build_readq_entry_from_ctl):
1322         (sctp_handle_old_unordered_data):
1323         (sctp_inject_old_unordered_data):
1324         (sctp_deliver_reasm_check):
1325         (sctp_add_chk_to_control):
1326         (sctp_queue_data_for_reasm):
1327         (sctp_find_reasm_entry):
1328         (sctp_process_a_data_chunk):
1329         (sctp_sack_check):
1330         (sctp_process_segment_range):
1331         (sctp_check_for_revoked):
1332         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_indata.h:
1333         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
1334         (sctp_process_init):
1335         (sctp_process_cookie_existing):
1336         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.h:
1337         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
1338         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.h:
1339         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
1340         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.h:
1341         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_peeloff.h:
1342         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_ss_functions.c:
1343         (sctp_ss_rr_add):
1344         (sctp_ss_fcfs_select):
1345         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_structs.h:
1346         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sysctl.c:
1347         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_timer.c:
1348         (sctp_recover_sent_list):
1349         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_uio.h:
1350         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_usrreq.c:
1351         (sctp_init):
1352         (sctp_pathmtu_adjustment):
1353         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_var.h:
1354         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.c:
1355         (sctp_log_strm_del):
1356         (sctp_init_asoc):
1357         (sctp_notify_send_failed):
1358         (sctp_notify_send_failed2):
1359         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctputil.h:
1360         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_usrreq.c:
1361         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet6/sctp6_var.h:
1362         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.c:
1363         (m_get):
1364         (mbuf_initialize):
1365         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_mbuf.h:
1366         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_socket.c:
1367         * Source/third_party/usrsctp/usrsctplib/usrsctplib/usrsctp.h:
1368         * WebKit/patch-usrsctp: Added.
1369
1370 2017-06-22  Youenn Fablet  <youenn@apple.com>
1371
1372         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
1373         https://bugs.webkit.org/show_bug.cgi?id=172602
1374         <rdar://problem/32407693>
1375
1376         Reviewed by Eric Carlson.
1377
1378         Adding a parameter to disable hardware encoder.
1379
1380         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:
1381         * Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:
1382         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
1383
1384 2017-06-21  Youenn Fablet  <youenn@apple.com>
1385
1386         Update libyuv to 8cab2e31d76246263206318f3568d452e7f3ff3e
1387         https://bugs.webkit.org/show_bug.cgi?id=173675
1388
1389         Reviewed by Sam Weinig.
1390
1391         * Source/third_party/libyuv/.clang-format: Added.
1392         * Source/third_party/libyuv/.gitignore: Added.
1393         * Source/third_party/libyuv/Android.mk:
1394         * Source/third_party/libyuv/BUILD.gn:
1395         * Source/third_party/libyuv/CM_linux_packages.cmake: Added.
1396         * Source/third_party/libyuv/CMakeLists.txt:
1397         * Source/third_party/libyuv/DEPS:
1398         * Source/third_party/libyuv/PRESUBMIT.py:
1399         (_RunPythonTests):
1400         (_RunPythonTests.join):
1401         (_CommonChecks):
1402         (CheckChangeOnUpload):
1403         (CheckChangeOnCommit):
1404         * Source/third_party/libyuv/README.chromium:
1405         * Source/third_party/libyuv/build_overrides/build.gni:
1406         * Source/third_party/libyuv/chromium/.gclient: Removed.
1407         * Source/third_party/libyuv/chromium/README: Removed.
1408         * Source/third_party/libyuv/cleanup_links.py: Added.
1409         (WebRTCLinkSetup):
1410         (WebRTCLinkSetup.__init__):
1411         (WebRTCLinkSetup.CleanupLinks):
1412         (_initialize_database):
1413         (main):
1414         * Source/third_party/libyuv/codereview.settings:
1415         * Source/third_party/libyuv/docs/deprecated_builds.md:
1416         * Source/third_party/libyuv/docs/getting_started.md:
1417         * Source/third_party/libyuv/gyp_libyuv.py:
1418         * Source/third_party/libyuv/include/libyuv/basic_types.h:
1419         * Source/third_party/libyuv/include/libyuv/compare.h:
1420         * Source/third_party/libyuv/include/libyuv/compare_row.h:
1421         * Source/third_party/libyuv/include/libyuv/convert.h:
1422         * Source/third_party/libyuv/include/libyuv/convert_argb.h:
1423         * Source/third_party/libyuv/include/libyuv/convert_from.h:
1424         * Source/third_party/libyuv/include/libyuv/convert_from_argb.h:
1425         * Source/third_party/libyuv/include/libyuv/cpu_id.h:
1426         * Source/third_party/libyuv/include/libyuv/macros_msa.h:
1427         * Source/third_party/libyuv/include/libyuv/mjpeg_decoder.h:
1428         * Source/third_party/libyuv/include/libyuv/planar_functions.h:
1429         * Source/third_party/libyuv/include/libyuv/rotate.h:
1430         * Source/third_party/libyuv/include/libyuv/rotate_argb.h:
1431         * Source/third_party/libyuv/include/libyuv/rotate_row.h:
1432         * Source/third_party/libyuv/include/libyuv/row.h:
1433         * Source/third_party/libyuv/include/libyuv/scale.h:
1434         * Source/third_party/libyuv/include/libyuv/scale_argb.h:
1435         * Source/third_party/libyuv/include/libyuv/scale_row.h:
1436         * Source/third_party/libyuv/include/libyuv/version.h:
1437         * Source/third_party/libyuv/include/libyuv/video_common.h:
1438         * Source/third_party/libyuv/infra/config/OWNERS: Added.
1439         * Source/third_party/libyuv/infra/config/README.md: Added.
1440         * Source/third_party/libyuv/infra/config/cq.cfg: Added.
1441         * Source/third_party/libyuv/libyuv.gyp:
1442         * Source/third_party/libyuv/libyuv.gypi:
1443         * Source/third_party/libyuv/libyuv_test.gyp:
1444         * Source/third_party/libyuv/linux.mk:
1445         * Source/third_party/libyuv/pylintrc: Added.
1446         * Source/third_party/libyuv/setup_links.py: Removed.
1447         * Source/third_party/libyuv/source/compare.cc:
1448         * Source/third_party/libyuv/source/compare_common.cc:
1449         * Source/third_party/libyuv/source/compare_gcc.cc:
1450         * Source/third_party/libyuv/source/compare_neon.cc:
1451         * Source/third_party/libyuv/source/compare_neon64.cc:
1452         * Source/third_party/libyuv/source/compare_win.cc:
1453         * Source/third_party/libyuv/source/convert.cc:
1454         * Source/third_party/libyuv/source/convert_argb.cc:
1455         * Source/third_party/libyuv/source/convert_from.cc:
1456         * Source/third_party/libyuv/source/convert_from_argb.cc:
1457         * Source/third_party/libyuv/source/convert_jpeg.cc:
1458         * Source/third_party/libyuv/source/convert_to_argb.cc:
1459         * Source/third_party/libyuv/source/convert_to_i420.cc:
1460         * Source/third_party/libyuv/source/cpu_id.cc:
1461         * Source/third_party/libyuv/source/mjpeg_decoder.cc:
1462         * Source/third_party/libyuv/source/mjpeg_validate.cc:
1463         * Source/third_party/libyuv/source/planar_functions.cc:
1464         * Source/third_party/libyuv/source/rotate.cc:
1465         * Source/third_party/libyuv/source/rotate_any.cc:
1466         * Source/third_party/libyuv/source/rotate_argb.cc:
1467         * Source/third_party/libyuv/source/rotate_common.cc:
1468         * Source/third_party/libyuv/source/rotate_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/rotate_mips.cc.
1469         * Source/third_party/libyuv/source/rotate_gcc.cc:
1470         * Source/third_party/libyuv/source/rotate_msa.cc: Added.
1471         * Source/third_party/libyuv/source/rotate_neon.cc:
1472         * Source/third_party/libyuv/source/rotate_neon64.cc:
1473         * Source/third_party/libyuv/source/rotate_win.cc:
1474         * Source/third_party/libyuv/source/row_any.cc:
1475         * Source/third_party/libyuv/source/row_common.cc:
1476         * Source/third_party/libyuv/source/row_dspr2.cc: Added.
1477         * Source/third_party/libyuv/source/row_gcc.cc:
1478         * Source/third_party/libyuv/source/row_mips.cc: Removed.
1479         * Source/third_party/libyuv/source/row_msa.cc:
1480         * Source/third_party/libyuv/source/row_neon.cc:
1481         * Source/third_party/libyuv/source/row_neon64.cc:
1482         * Source/third_party/libyuv/source/row_win.cc:
1483         * Source/third_party/libyuv/source/scale.cc:
1484         * Source/third_party/libyuv/source/scale_any.cc:
1485         * Source/third_party/libyuv/source/scale_argb.cc:
1486         * Source/third_party/libyuv/source/scale_common.cc:
1487         * Source/third_party/libyuv/source/scale_dspr2.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/source/scale_mips.cc.
1488         * Source/third_party/libyuv/source/scale_gcc.cc:
1489         * Source/third_party/libyuv/source/scale_msa.cc: Added.
1490         * Source/third_party/libyuv/source/scale_neon.cc:
1491         * Source/third_party/libyuv/source/scale_neon64.cc:
1492         * Source/third_party/libyuv/source/scale_win.cc:
1493         * Source/third_party/libyuv/source/video_common.cc:
1494         * Source/third_party/libyuv/sync_chromium.py: Removed.
1495         * Source/third_party/libyuv/third_party/gflags/BUILD.gn: Removed.
1496         * Source/third_party/libyuv/third_party/gflags/LICENSE: Removed.
1497         * Source/third_party/libyuv/third_party/gflags/README.libyuv: Removed.
1498         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags.h: Removed.
1499         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_completions.h: Removed.
1500         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_declare.h: Removed.
1501         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/gflags/gflags_gflags.h: Removed.
1502         * Source/third_party/libyuv/third_party/gflags/gen/posix/include/private/config.h: Removed.
1503         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags.h: Removed.
1504         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_completions.h: Removed.
1505         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_declare.h: Removed.
1506         * Source/third_party/libyuv/third_party/gflags/gen/win/include/gflags/gflags_gflags.h: Removed.
1507         * Source/third_party/libyuv/third_party/gflags/gen/win/include/private/config.h: Removed.
1508         * Source/third_party/libyuv/third_party/gflags/gflags.gyp: Removed.
1509         * Source/third_party/libyuv/tools/gritsettings/README: Removed.
1510         * Source/third_party/libyuv/tools/gritsettings/resource_ids: Removed.
1511         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/OWNERS: Removed.
1512         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/PRESUBMIT.py: Removed.
1513         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions.txt: Removed.
1514         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_mac.txt: Removed.
1515         * Source/third_party/libyuv/tools/valgrind-libyuv/tsan/suppressions_win32.txt: Removed.
1516         * Source/third_party/libyuv/tools_libyuv/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/OWNERS.
1517         * Source/third_party/libyuv/tools_libyuv/autoroller/roll_deps.py: Added.
1518         (RollError):
1519         (ParseDepsDict):
1520         (ParseLocalDepsFile):
1521         (ParseRemoteCrDepsFile):
1522         (ParseCommitPosition):
1523         (_RunCommand):
1524         (_GetBranches):
1525         (_ReadGitilesContent):
1526         (ReadRemoteCrFile):
1527         (ReadRemoteCrCommit):
1528         (ReadUrlContent):
1529         (GetMatchingDepsEntries):
1530         (BuildDepsentryDict):
1531         (BuildDepsentryDict.AddDepsEntries):
1532         (CalculateChangedDeps):
1533         (CalculateChangedClang):
1534         (CalculateChangedClang.GetClangRev):
1535         (GenerateCommitMessage):
1536         (UpdateDepsFile):
1537         (_IsTreeClean):
1538         (_EnsureUpdatedMasterBranch):
1539         (_CreateRollBranch):
1540         (_RemovePreviousRollBranch):
1541         (_LocalCommit):
1542         (_UploadCL):
1543         (_SendToCQ):
1544         (main):
1545         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/roll_deps_test.py: Added.
1546         (TestError):
1547         (FakeCmd):
1548         (FakeCmd.__init__):
1549         (FakeCmd.add_expectation):
1550         (FakeCmd.__call__):
1551         (TestRollChromiumRevision):
1552         (TestRollChromiumRevision.setUp):
1553         (TestRollChromiumRevision.tearDown):
1554         (TestRollChromiumRevision.testUpdateDepsFile):
1555         (TestRollChromiumRevision.testParseDepsDict):
1556         (TestRollChromiumRevision.testParseDepsDict.assertVar):
1557         (TestRollChromiumRevision.testGetMatchingDepsEntriesReturnsPathInSimpleCase):
1558         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesSimilarStartingPaths):
1559         (TestRollChromiumRevision.testGetMatchingDepsEntriesHandlesTwoPathsWithIdenticalFirstParts):
1560         (TestRollChromiumRevision.testCalculateChangedDeps):
1561         (_SetupGitLsRemoteCall):
1562         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS: Added.
1563         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.new: Added.
1564         * Source/third_party/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old: Added.
1565         * Source/third_party/libyuv/tools_libyuv/get_landmines.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/get_landmines.py.
1566         * Source/third_party/libyuv/tools_libyuv/msan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/OWNERS.
1567         * Source/third_party/libyuv/tools_libyuv/msan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/msan/blacklist.txt.
1568         * Source/third_party/libyuv/tools_libyuv/ubsan/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/OWNERS.
1569         * Source/third_party/libyuv/tools_libyuv/ubsan/blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/blacklist.txt.
1570         * Source/third_party/libyuv/tools_libyuv/ubsan/vptr_blacklist.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/ubsan/vptr_blacklist.txt.
1571         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.bat: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.bat.
1572         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.py.
1573         (LibyuvTest._DefaultCommand):
1574         * Source/third_party/libyuv/tools_libyuv/valgrind/libyuv_tests.sh: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/libyuv_tests.sh.
1575         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/OWNERS: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/OWNERS.
1576         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/PRESUBMIT.py: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/PRESUBMIT.py.
1577         (CheckChange):
1578         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions.txt.
1579         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions_mac.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions_mac.txt.
1580         * Source/third_party/libyuv/tools_libyuv/valgrind/memcheck/suppressions_win32.txt: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt.
1581         * Source/third_party/libyuv/unit_test/color_test.cc:
1582         * Source/third_party/libyuv/unit_test/compare_test.cc:
1583         * Source/third_party/libyuv/unit_test/convert_test.cc:
1584         * Source/third_party/libyuv/unit_test/cpu_test.cc:
1585         * Source/third_party/libyuv/unit_test/cpu_thread_test.cc: Added.
1586         * Source/third_party/libyuv/unit_test/math_test.cc:
1587         * Source/third_party/libyuv/unit_test/planar_test.cc:
1588         * Source/third_party/libyuv/unit_test/rotate_argb_test.cc:
1589         * Source/third_party/libyuv/unit_test/rotate_test.cc:
1590         * Source/third_party/libyuv/unit_test/scale_argb_test.cc:
1591         * Source/third_party/libyuv/unit_test/scale_test.cc:
1592         * Source/third_party/libyuv/unit_test/unit_test.cc:
1593         * Source/third_party/libyuv/unit_test/unit_test.h:
1594         (SizeValid):
1595         * Source/third_party/libyuv/unit_test/video_common_test.cc:
1596         * Source/third_party/libyuv/util/compare.cc:
1597         * Source/third_party/libyuv/util/cpuid.c:
1598         (main):
1599         * Source/third_party/libyuv/util/psnr.cc:
1600         * Source/third_party/libyuv/util/psnr_main.cc:
1601         * Source/third_party/libyuv/util/ssim.cc:
1602         * Source/third_party/libyuv/util/ssim.h:
1603         * Source/third_party/libyuv/util/yuvconvert.cc: Renamed from Source/ThirdParty/libwebrtc/Source/third_party/libyuv/util/convert.cc.
1604
1605 2017-06-21  Youenn Fablet  <youenn@apple.com>
1606
1607         Fix build after r218645
1608         https://bugs.webkit.org/show_bug.cgi?id=173668
1609
1610         Unreviewed.
1611
1612         * Source/webrtc/base/sigslottester.h: Removing executable right.
1613         * Source/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h:
1614         (webrtc::TemporalLayersFactory::Create): Inline a default implementation.
1615         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removing executable right.
1616
1617 2017-06-21  Youenn Fablet  <youenn@apple.com>
1618
1619         Remove expat source code from Source/ThirdParty/libwebrtc
1620         https://bugs.webkit.org/show_bug.cgi?id=173656
1621
1622         Reviewed by Brent Fulgham.
1623
1624         * Source/third_party/expat/BUILD.gn: Removed.
1625         * Source/third_party/expat/OWNERS: Removed.
1626         * Source/third_party/expat/README.chromium: Removed.
1627         * Source/third_party/expat/files/COPYING: Removed.
1628         * Source/third_party/expat/files/Changes: Removed.
1629         * Source/third_party/expat/files/MANIFEST: Removed.
1630         * Source/third_party/expat/files/README: Removed.
1631         * Source/third_party/expat/files/lib/amigaconfig.h: Removed.
1632         * Source/third_party/expat/files/lib/ascii.h: Removed.
1633         * Source/third_party/expat/files/lib/asciitab.h: Removed.
1634         * Source/third_party/expat/files/lib/expat.h: Removed.
1635         * Source/third_party/expat/files/lib/expat_config.h: Removed.
1636         * Source/third_party/expat/files/lib/expat_external.h: Removed.
1637         * Source/third_party/expat/files/lib/iasciitab.h: Removed.
1638         * Source/third_party/expat/files/lib/internal.h: Removed.
1639         * Source/third_party/expat/files/lib/latin1tab.h: Removed.
1640         * Source/third_party/expat/files/lib/libexpat.def: Removed.
1641         * Source/third_party/expat/files/lib/libexpatw.def: Removed.
1642         * Source/third_party/expat/files/lib/macconfig.h: Removed.
1643         * Source/third_party/expat/files/lib/nametab.h: Removed.
1644         * Source/third_party/expat/files/lib/utf8tab.h: Removed.
1645         * Source/third_party/expat/files/lib/winconfig.h: Removed.
1646         * Source/third_party/expat/files/lib/winconfig.h.original: Removed.
1647         * Source/third_party/expat/files/lib/xmlparse.c: Removed.
1648         * Source/third_party/expat/files/lib/xmlparse.c.original: Removed.
1649         * Source/third_party/expat/files/lib/xmlrole.c: Removed.
1650         * Source/third_party/expat/files/lib/xmlrole.h: Removed.
1651         * Source/third_party/expat/files/lib/xmltok.c: Removed.
1652         * Source/third_party/expat/files/lib/xmltok.h: Removed.
1653         * Source/third_party/expat/files/lib/xmltok_impl.c: Removed.
1654         * Source/third_party/expat/files/lib/xmltok_impl.c.original: Removed.
1655         * Source/third_party/expat/files/lib/xmltok_impl.h: Removed.
1656         * Source/third_party/expat/files/lib/xmltok_ns.c: Removed.
1657         * Source/third_party/expat/fuzz/OWNERS: Removed.
1658         * Source/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc: Removed.
1659
1660 2017-06-21  Youenn Fablet  <youenn@apple.com>
1661
1662         Refresh libwebrtc code up to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae
1663         https://bugs.webkit.org/show_bug.cgi?id=173602
1664
1665         Reviewed by Eric Carlson.
1666
1667         * Configurations/libwebrtc.xcconfig:
1668         * Source: Updated to a87675d4a160e2c49c3e754cd9ca291d6c8f36ae and reapplied WebKit specific changes.
1669         * WebKit/patch-libwebrtc:
1670         * libwebrtc.xcodeproj/project.pbxproj:
1671
1672 2017-06-19  Commit Queue  <commit-queue@webkit.org>
1673
1674         Unreviewed, rolling out r218505.
1675         https://bugs.webkit.org/show_bug.cgi?id=173563
1676
1677         "It would break internal builds" (Requested by youenn on
1678         #webkit).
1679
1680         Reverted changeset:
1681
1682         "[WebRTC] Prevent capturing at unconventional resolutions when
1683         using the SW encoder on Mac"
1684         https://bugs.webkit.org/show_bug.cgi?id=172602
1685         http://trac.webkit.org/changeset/218505
1686
1687 2017-06-19  Youenn Fablet  <youenn@apple.com>
1688
1689         [WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
1690         https://bugs.webkit.org/show_bug.cgi?id=172602
1691         <rdar://problem/32407693>
1692
1693         Reviewed by Eric Carlson.
1694
1695         Adding a parameter to disable hardware encoder.
1696
1697         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
1698         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1699         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession):
1700
1701 2017-06-10  Dan Bernstein  <mitz@apple.com>
1702
1703         Reverted r218056 because it made the IDE reindex constantly.
1704
1705         * Configurations/DebugRelease.xcconfig:
1706
1707 2017-06-10  Dan Bernstein  <mitz@apple.com>
1708
1709         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
1710         https://bugs.webkit.org/show_bug.cgi?id=173223
1711
1712         Reviewed by Sam Weinig.
1713
1714         The rebuilds were happening due to a difference in the compiler options that the IDE and
1715         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
1716         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
1717         specify an appropriate path in CLANG_INDEX_STORE_PATH.
1718
1719         * Configurations/DebugRelease.xcconfig:
1720
1721 2017-06-07  Youenn Fablet  <youenn@apple.com>
1722
1723         Add WebRTC stats logging
1724         https://bugs.webkit.org/show_bug.cgi?id=173045
1725
1726         Reviewed by Eric Carlson.
1727
1728         * Source/webrtc/api/stats/rtcstats.h: Exporting RTCStats ToString.
1729
1730 2017-05-28  Dan Bernstein  <mitz@apple.com>
1731
1732         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
1733         https://bugs.webkit.org/show_bug.cgi?id=172691
1734
1735         Reviewed by Tim Horton.
1736
1737         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
1738
1739 2017-05-16  Youenn Fablet  <youenn@apple.com>
1740
1741         RealtimeOutgoingVideoSource should support sinkWants for rotation
1742         https://bugs.webkit.org/show_bug.cgi?id=172123
1743         <rdar://problem/32200017>
1744
1745         Reviewed by Eric Carlson.
1746
1747         * Source/webrtc/api/video/i420_buffer.h: Exporting rotate routine.
1748
1749 2017-05-08  Youenn Fablet  <youenn@apple.com>
1750
1751         TURNS gathering is not working properly
1752         https://bugs.webkit.org/show_bug.cgi?id=171747
1753
1754         Reviewed by Eric Carlson.
1755
1756         * Source/webrtc/base/openssladapter.cc: Adding support for SNI in case of TLS ice candidate gathering.
1757
1758 2017-04-29  Dan Bernstein  <mitz@apple.com>
1759
1760         [Xcode] libwebrtc SRCROOT includes examples
1761         https://bugs.webkit.org/show_bug.cgi?id=171478
1762
1763         Reviewed by Tim Horton.
1764
1765         * Configurations/Base.xcconfig: Exclude the Source/webrtc/examples subdirectory from
1766           installsrc. Its contents are not used for building any of the targets in the project.
1767
1768 2017-04-19  Youenn Fablet  <youenn@apple.com>
1769
1770         [Mac] Allow customizing H264 encoder
1771         https://bugs.webkit.org/show_bug.cgi?id=170829
1772
1773         Reviewed by Alex Christensen.
1774
1775         * Configurations/libwebrtc.xcconfig:
1776         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
1777         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1778         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
1779         (webrtc::H264VideoToolboxEncoder::CreateCompressionSession): Default implementation, fixing memory leak for dictionary.
1780         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
1781
1782 2017-04-18  Youenn Fablet  <youenn@apple.com>
1783
1784         Add NDEBUG and CodeStripping to libwebrtc build system
1785         https://bugs.webkit.org/show_bug.cgi?id=170954
1786
1787         Reviewed by Alex Christensen.
1788
1789         This optimizes libwebrtc library size and efficiency.
1790         This allows allocating libwebrtc objects in WebCore without issues.
1791
1792         * Configurations/Base.xcconfig:
1793         * Configurations/boringssl.xcconfig:
1794         * Configurations/libsrtp.xcconfig:
1795         * Configurations/libwebrtc.xcconfig:
1796         * Configurations/libwebrtcpcrtc.xcconfig:
1797         * Configurations/opus.xcconfig:
1798         * Configurations/usrsctp.xcconfig:
1799
1800 2017-04-17  Youenn Fablet  <youenn@apple.com>
1801
1802         Add an external libwebrtc encoder factory in WebCore
1803         https://bugs.webkit.org/show_bug.cgi?id=170883
1804
1805         Reviewed by Alex Christensen.
1806
1807         Exporting some symbols.
1808         Allowing to customize the creation of the H264 encoder.
1809
1810         * Source/webrtc/media/base/codec.h:
1811         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h
1812         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
1813         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
1814         * Source/webrtc/video_decoder.h
1815         * Source/webrtc/video_encoder.h
1816
1817 2017-04-14  Mark Lam  <mark.lam@apple.com>
1818
1819         Update architectures in xcconfig files.
1820         https://bugs.webkit.org/show_bug.cgi?id=170867
1821         <rdar://problem/31628104>
1822
1823         Reviewed by Joseph Pecoraro.
1824
1825         * Configurations/opus.xcconfig:
1826
1827 2017-04-12  Dan Bernstein  <mitz@apple.com>
1828
1829         [Mac] Future-proof .xcconfig files
1830         https://bugs.webkit.org/show_bug.cgi?id=170802
1831
1832         Reviewed by Tim Horton.
1833
1834         * Configurations/Base.xcconfig:
1835         * Configurations/DebugRelease.xcconfig:
1836         * Configurations/opus.xcconfig:
1837
1838 2017-04-07  Alex Christensen  <achristensen@webkit.org>
1839
1840         Enable SSE4 and NEON optimizations of libopus where available
1841         https://bugs.webkit.org/show_bug.cgi?id=170592
1842
1843         Reviewed by Youenn Fablet.
1844
1845         * Configurations/opus.xcconfig:
1846         * libwebrtc.xcodeproj/project.pbxproj:
1847
1848 2017-04-06  Youenn Fablet  <youenn@apple.com>
1849
1850         WebRTC aborts when trying to sleep on a wrong thread
1851         https://bugs.webkit.org/show_bug.cgi?id=170492
1852         <rdar://problem/31446377>
1853
1854         Reviewed by Eric Carlson.
1855
1856         Libwebrtc network thread is set up so that it does not accept blocking calls to other threads.
1857         as per ChannelManager::Init() in channelmanager.cc.
1858         But rtc::Thread::SleepMs expects to block it.
1859         Marking thread as blockable before calling SleepMs and resetting the value if needed afterwards.
1860         * Source/webrtc/media/sctp/sctptransport.cc:
1861
1862 2017-03-27  Alejandro G. Castro  <alex@igalia.com>
1863
1864         Fixes for libwebrtc logging after r214288
1865         https://bugs.webkit.org/show_bug.cgi?id=170116
1866
1867         Reviewed by Youenn Fablet.
1868
1869         * Source/webrtc/base/logging.cc: Added the critical section
1870         requirement and the call to the new getter for g_log_crit.
1871
1872 2017-03-27  Alex Christensen  <achristensen@webkit.org>
1873
1874         Build libwebrtc with even more warnings
1875         https://bugs.webkit.org/show_bug.cgi?id=169997
1876
1877         Reviewed by Tim Horton.
1878
1879         There are still OSAtomic* functions I don't want to worry about right now,
1880         so I'm keeping a few -Wno-deprecated-declarations, but everything else can go.
1881
1882         * Configurations/libsrtp.xcconfig:
1883         * Configurations/libwebrtc.xcconfig:
1884         * Configurations/libwebrtcpcrtc.xcconfig:
1885
1886 2017-03-27  Youenn Fablet  <youenn@apple.com>
1887
1888         Add support for RTCRtpReceiver/RTCRtpSender getParameters
1889         https://bugs.webkit.org/show_bug.cgi?id=170057
1890
1891         Reviewed by Alex Christensen.
1892
1893         * Source/webrtc/api/mediatypes.h:
1894
1895 2017-03-22  Alex Christensen  <achristensen@webkit.org>
1896
1897         Fix warnings in libwebrtc
1898         https://bugs.webkit.org/show_bug.cgi?id=169973
1899
1900         Reviewed by Geoffrey Garen.
1901
1902         * Configurations/boringssl.xcconfig:
1903         * Configurations/libsrtp.xcconfig:
1904         * Configurations/libwebrtc.xcconfig:
1905         * Configurations/libwebrtcpcrtc.xcconfig:
1906         * Configurations/libyuv.xcconfig:
1907         * Configurations/opus.xcconfig:
1908         * Configurations/usrsctp.xcconfig:
1909         Build with more warnings.
1910         opus still needs some incompatible pointer warnings disabled because it converts 
1911         const opus_int16 * to const opus_val16 * and opus_int32 * to opus_val32 *
1912         and that's ok because its a codec and that's what codecs do.
1913         * Source/webrtc/base/logging.cc:
1914         * Source/webrtc/base/logging.h:
1915         * Source/webrtc/base/neverdestroyed.h: Added.
1916         (webrtc::NeverDestroyed::NeverDestroyed):
1917         (webrtc::NeverDestroyed::operator T&):
1918         (webrtc::NeverDestroyed::get):
1919         (webrtc::NeverDestroyed::operator&):
1920         (webrtc::NeverDestroyed::asPtr):
1921         Added webrtc::NeverDestroyed which may or may not be based on WTF::NeverDestroyed.
1922         This allows us to avoid exit time destructors, which would slow down program termination for no reason.
1923         * Source/webrtc/base/virtualsocketserver.cc:
1924         * Source/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.cc:
1925         Adopt NeverDestroyed in function scope so we don't have global constructors or destructors.
1926         * Source/webrtc/modules/audio_processing/beamformer/array_util.h:
1927         (webrtc::DegreesToRadians):
1928         (webrtc::RadiansToDegrees):
1929         Add constexpr so we can calculate values at compile time instead of launch time.
1930         * Source/webrtc/modules/rtp_rtcp/source/rtp_utility.cc:
1931         * Source/webrtc/system_wrappers/source/clock.cc:
1932         * libwebrtc.xcodeproj/project.pbxproj:
1933         Don't compile ssl_test.cc.  We don't need it.
1934
1935 2017-03-10  Youenn Fablet  <youenn@apple.com>
1936
1937         Move libwebrtc backend to using tracks
1938         https://bugs.webkit.org/show_bug.cgi?id=169472
1939
1940         Reviewed by Alex Christensen.
1941
1942         * Source/webrtc/pc/rtcstatscollector.cc: Moving from using media stream to tracks.
1943
1944 2017-03-08  Youenn Fablet  <youenn@apple.com>
1945
1946         Use H264 hardware encoder for Mac libwebrtc
1947         https://bugs.webkit.org/show_bug.cgi?id=169383
1948
1949         Reviewed by Alex Christensen.
1950
1951         Switching to H264 hardware encoder if available for Mac.
1952         Adding logs in case hardware encoder cannot be used.
1953
1954         * Configurations/libwebrtc.xcconfig:
1955         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
1956         (webrtc::H264VideoToolboxEncoder::ResetCompressionSession):
1957         (webrtc::H264VideoToolboxEncoder::ConfigureCompressionSession):
1958
1959 2017-03-07  Youenn Fablet  <youenn@apple.com>
1960
1961         TurnPort::OnSocketConnect is crashing
1962         https://bugs.webkit.org/show_bug.cgi?id=169284
1963
1964         Reviewed by Eric Carlson.
1965
1966         * Source/webrtc/p2p/base/turnport.cc: Fixing the assertion.
1967
1968 2017-03-06  Youenn Fablet  <youenn@apple.com>
1969
1970         Bring back WebKit specific changes to disable temporarily libwebrtc video adaptation
1971         https://bugs.webkit.org/show_bug.cgi?id=169229
1972
1973         Reviewed by Alex Christensen.
1974
1975         * Source/webrtc/modules/video_coding/video_sender.cc: disabling frame dropping.
1976         * Source/webrtc/video/vie_encoder.cc: disabling resolution decrease based on CPU overuse.
1977
1978 2017-03-06  Alex Christensen  <achristensen@webkit.org>
1979
1980         Fix Production libwebrtc build after r213418
1981         https://bugs.webkit.org/show_bug.cgi?id=169217
1982         <rdar://problem/30876775>
1983
1984         Reviewed by Tim Horton.
1985
1986         * Source/webrtc/base/checks.h:
1987         * libwebrtc.xcodeproj/project.pbxproj:
1988         MakeCheckOpString was a weak export, and it wasn't needed.
1989         There is an internal build that checks for weak exports and fails if there is one.
1990         Run the check-for-weak-vtables-and-externals script for libwebrtc.dylib like we do for the other frameworks.
1991
1992 2017-03-04  Dan Bernstein  <mitz@apple.com>
1993
1994         [Cocoa] libwebrtc.dylib’s current version is fixed at 1.0.0
1995         https://bugs.webkit.org/show_bug.cgi?id=169170
1996
1997         Reviewed by Alex Christensen.
1998
1999         * Configurations/Version.xcconfig: Copied from Source/JavaScriptCore/Configurations/Version.xcconfig.
2000           This defines DYLIB_CURRENT_VERSION.
2001         * Configurations/libwebrtc.xcconfig: Include Version.xcconfig.
2002
2003 2017-03-04  Alex Christensen  <achristensen@webkit.org>
2004
2005         Cleanup after r213418
2006         https://bugs.webkit.org/show_bug.cgi?id=169165
2007
2008         Reviewed by Youenn Fablet.
2009
2010         * WebKit/patch-libwebrtc:
2011         I made another change after the last patch I uploaded to stop crashing.
2012         This should be reflected in our patch.
2013
2014 2017-03-03  Youenn Fablet  <youenn@apple.com>
2015
2016         [WebRTC] Update libwebrtc source code
2017         https://bugs.webkit.org/show_bug.cgi?id=168599
2018
2019         Reviewed by Alex Christensen.
2020
2021         Very long list of file changes omitted.
2022
2023         We updated to git commit 716e726ef0b322e8317b749613691da043bfc61c
2024         of https://chromium.googlesource.com/external/webrtc and applied
2025         the changes that are now in WebKit/patch-libwebrtc
2026
2027 2017-03-03  Alex Christensen  <achristensen@webkit.org>
2028
2029         Remove empty build directories.
2030
2031         * build: Removed.
2032         * build/Debug: Removed.
2033
2034 2017-03-01  Joseph Pecoraro  <pecoraro@apple.com>
2035
2036         [WebRTC] Install libwebrtc.dylib inside of WebCore.framework
2037         https://bugs.webkit.org/show_bug.cgi?id=168859
2038
2039         Reviewed by Dan Bernstein.
2040
2041         * Configurations/Base.xcconfig:
2042         Define some general configuration variables.
2043
2044         * Configurations/DebugRelease.xcconfig:
2045         Define WK_RELOCATABLE_FRAMEWORKS for Debug/Release builds.
2046
2047         * Configurations/libwebrtc.xcconfig:
2048         Set INSTALL_PATH to be inside WebCore.framework's sub-Frameworks directory
2049         unless WK_USE_OVERRIDE_FRAMEWORKS_DIR. Set the install name of the dylib to
2050         be relative to WebCore / WebKit when frameworks are relocatable, such as
2051         WK_USE_OVERRIDE_FRAMEWORKS_DIR or WK_RELOCATABLE_FRAMEWORKS.
2052
2053 2017-02-28  Youenn Fablet  <youenn@apple.com>
2054
2055         [WebRTC] CPU Overuse libwebrtc detector is decreasing the quality of the video
2056         https://bugs.webkit.org/show_bug.cgi?id=168990
2057
2058         Reviewed by Eric Carlson.
2059
2060         * Source/webrtc/video/vie_encoder.cc: Disabling temporarily overuse detector.
2061
2062 2017-02-28  Alex Christensen  <achristensen@webkit.org>
2063
2064         [WebRTC] Fix an internal production build
2065         https://bugs.webkit.org/show_bug.cgi?id=168992
2066
2067         Reviewed by Youenn Fablet.
2068
2069         * libwebrtc.xcodeproj/project.pbxproj:
2070         Link with Foundation and CoreFoundation frameworks.
2071
2072 2017-02-28  Youenn Fablet  <youenn@apple.com>
2073
2074         [WebRTC] LibWebRTC frame dropper is not working consistently
2075         https://bugs.webkit.org/show_bug.cgi?id=168973
2076
2077         Reviewed by Eric Carlson.
2078
2079         * Source/webrtc/modules/video_coding/video_sender.cc: Disable temporarily the frame dropper as it is sometimes
2080         dropping too many frames.
2081
2082 2017-02-27  Youenn Fablet  <youenn@apple.com>
2083
2084         [WebRTC] RealtimOutgoingVideoSource should not need to do image conversion
2085         https://bugs.webkit.org/show_bug.cgi?id=168802
2086
2087         Reviewed by Jon Lee.
2088
2089         Exporting new symbols.
2090         Including headers in the project file.
2091
2092         * Source/webrtc/common_video/include/corevideo_frame_buffer.h:
2093         * Source/webrtc/common_video/include/i420_buffer_pool.h:
2094         * Source/webrtc/common_video/include/video_frame_buffer.h:
2095         * libwebrtc.xcodeproj/project.pbxproj:
2096
2097 2017-02-24  Alex Christensen  <achristensen@webkit.org>
2098
2099         Remove unneeded protobuf tests directory.
2100         
2101         Rubber-stamped by Joe Pecoraro.
2102         
2103         This directory contained a swift file that was causing problems in an internal verification step.
2104
2105         * Source/third_party/protobuf/objectivec/Tests: Removed.
2106         (And everything in this subdirectory)
2107
2108 2017-02-22  Youenn Fablet  <youenn@apple.com>
2109
2110         [WebRTC] Disable libwebrtc stderr logging in release mode
2111         https://bugs.webkit.org/show_bug.cgi?id=168734
2112
2113         Reviewed by Tim Horton.
2114
2115         * Source/webrtc/base/logging.h:
2116
2117 2017-02-21  Youenn Fablet  <youenn@apple.com>
2118
2119         [WebRTC][Mac] Activate libwebrtc
2120         https://bugs.webkit.org/show_bug.cgi?id=167293
2121         <rdar://problem/30401864>
2122
2123         Reviewed by Alex Christensen.
2124
2125         Doing some clean-up.
2126
2127         * Configurations/libwebrtc.xcconfig:
2128         * Source/webrtc/base/checks.h:
2129         * libwebrtc.xcodeproj/project.pbxproj:
2130
2131 2017-02-21  Alex Christensen  <achristensen@webkit.org>
2132
2133         Don't build libwebrtc on 32-bit architectures
2134         https://bugs.webkit.org/show_bug.cgi?id=168692
2135
2136         Reviewed by Dan Bernstein.
2137
2138         * Configurations/Base.xcconfig:
2139
2140 2017-02-21  Youenn Fablet  <youenn@apple.com>
2141
2142         [Xcode] libwebrtc installhdrs doesn’t install any of the headers
2143         https://bugs.webkit.org/show_bug.cgi?id=168634
2144
2145         Reviewed by Alex Christensen.
2146
2147         * Configurations/libwebrtc.xcconfig:
2148         * libwebrtc.xcodeproj/project.pbxproj:
2149
2150 2017-02-21  Alex Christensen  <achristensen@webkit.org>
2151
2152         Unreviewed, rolling out r212699.
2153
2154         Internal build not ready
2155
2156         Reverted changeset:
2157
2158         "[WebRTC][Mac] Activate libwebrtc"
2159         https://bugs.webkit.org/show_bug.cgi?id=167293
2160         http://trac.webkit.org/changeset/212699
2161
2162 2017-02-20  Youenn Fablet  <youenn@apple.com>
2163
2164         [WebRTC][Mac] Activate libwebrtc
2165         https://bugs.webkit.org/show_bug.cgi?id=167293
2166         <rdar://problem/30401864>
2167
2168         Reviewed by Alex Christensen.
2169
2170         Doing some clean-up.
2171
2172         * Configurations/libwebrtc.xcconfig:
2173         * Source/webrtc/base/checks.h:
2174         * libwebrtc.xcodeproj/project.pbxproj:
2175
2176 2017-02-17  Alex Christensen  <achristensen@webkit.org>
2177
2178         Fix iOS ASAN build after r212401
2179         https://bugs.webkit.org/show_bug.cgi?id=168398
2180
2181         * libwebrtc.xcodeproj/project.pbxproj:
2182         libwebrtc.dylib needs some symbols from CFNetwork,
2183         like CFNetworkCopySystemProxySettings
2184
2185 2017-02-16  Youenn Fablet  <youenn@apple.com>
2186
2187         [WebRTC] Fix some missing exports after r212401
2188         https://bugs.webkit.org/show_bug.cgi?id=168449
2189
2190         Reviewed by Alex Christensen.
2191
2192         * Source/webrtc/api/jsep.h:
2193         * Source/webrtc/base/checks.h:
2194
2195 2017-02-15  Alex Christensen  <achristensen@webkit.org>
2196
2197         Fix ASAN build after r212401
2198         https://bugs.webkit.org/show_bug.cgi?id=168398
2199
2200         * Source/webrtc/media/engine/webrtcvideocapturer.cc:
2201         * libwebrtc.xcodeproj/project.pbxproj:
2202
2203 2017-02-15  Alex Christensen  <achristensen@webkit.org>
2204
2205         Make libwebrtc.dylib
2206         https://bugs.webkit.org/show_bug.cgi?id=168335
2207
2208         Reviewed by Dan Bernstein.
2209
2210         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
2211         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
2212         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
2213
2214         * Configurations/libwebrtc.xcconfig:
2215         * Source/webrtc/api/jsep.h:
2216         * Source/webrtc/api/mediastream.h:
2217         * Source/webrtc/api/notifier.h:
2218         (webrtc::Notifier::Notifier): Deleted.
2219         (webrtc::Notifier::RegisterObserver): Deleted.
2220         (webrtc::Notifier::UnregisterObserver): Deleted.
2221         (webrtc::Notifier::FireOnChanged): Deleted.
2222         * Source/webrtc/api/peerconnectioninterface.h:
2223         * Source/webrtc/base/asyncpacketsocket.h:
2224         * Source/webrtc/base/asyncresolverinterface.h:
2225         (rtc::AsyncResolverInterface::address): Deleted.
2226         * Source/webrtc/base/copyonwritebuffer.h:
2227         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
2228         (rtc::CopyOnWriteBuffer::data): Deleted.
2229         (rtc::CopyOnWriteBuffer::cdata): Deleted.
2230         (rtc::CopyOnWriteBuffer::size): Deleted.
2231         (rtc::CopyOnWriteBuffer::capacity): Deleted.
2232         (rtc::CopyOnWriteBuffer::operator=): Deleted.
2233         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
2234         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
2235         (rtc::CopyOnWriteBuffer::SetData): Deleted.
2236         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
2237         (rtc::CopyOnWriteBuffer::swap): Deleted.
2238         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
2239         * Source/webrtc/base/event.h:
2240         * Source/webrtc/base/export.h: Added.
2241         * Source/webrtc/base/helpers.h:
2242         * Source/webrtc/base/ipaddress.h:
2243         (rtc::IPAddress::IPAddress): Deleted.
2244         (rtc::IPAddress::~IPAddress): Deleted.
2245         (rtc::IPAddress::operator=): Deleted.
2246         (rtc::IPAddress::family): Deleted.
2247         * Source/webrtc/base/location.h:
2248         (rtc::Location::function_name): Deleted.
2249         (rtc::Location::file_and_line): Deleted.
2250         * Source/webrtc/base/messagehandler.h:
2251         (rtc::MessageHandler::MessageHandler): Deleted.
2252         * Source/webrtc/base/network.h:
2253         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
2254         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
2255         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
2256         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
2257         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
2258         (rtc::BasicNetworkManager::started): Deleted.
2259         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
2260         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
2261         (rtc::Network::default_local_address_provider): Deleted.
2262         (rtc::Network::set_default_local_address_provider): Deleted.
2263         (rtc::Network::name): Deleted.
2264         (rtc::Network::description): Deleted.
2265         (rtc::Network::prefix): Deleted.
2266         (rtc::Network::prefix_length): Deleted.
2267         (rtc::Network::key): Deleted.
2268         (rtc::Network::ip): Deleted.
2269         (rtc::Network::AddIP): Deleted.
2270         (rtc::Network::GetIPs): Deleted.
2271         (rtc::Network::ClearIPs): Deleted.
2272         (rtc::Network::scope_id): Deleted.
2273         (rtc::Network::set_scope_id): Deleted.
2274         (rtc::Network::ignored): Deleted.
2275         (rtc::Network::set_ignored): Deleted.
2276         (rtc::Network::type): Deleted.
2277         (rtc::Network::set_type): Deleted.
2278         (rtc::Network::GetCost): Deleted.
2279         (rtc::Network::id): Deleted.
2280         (rtc::Network::set_id): Deleted.
2281         (rtc::Network::preference): Deleted.
2282         (rtc::Network::set_preference): Deleted.
2283         (rtc::Network::active): Deleted.
2284         (rtc::Network::set_active): Deleted.
2285         * Source/webrtc/base/proxyinfo.h:
2286         * Source/webrtc/base/refcountedobject.h:
2287         (rtc::RefCountedObject::RefCountedObject): Deleted.
2288         (rtc::RefCountedObject::AddRef): Deleted.
2289         (rtc::RefCountedObject::Release): Deleted.
2290         (rtc::RefCountedObject::HasOneRef): Deleted.
2291         (rtc::RefCountedObject::~RefCountedObject): Deleted.
2292         * Source/webrtc/base/socketaddress.h:
2293         (rtc::SocketAddress::hostname): Deleted.
2294         (rtc::SocketAddress::family): Deleted.
2295         (rtc::SocketAddress::scope_id): Deleted.
2296         (rtc::SocketAddress::SetScopeID): Deleted.
2297         (rtc::SocketAddress::operator !=): Deleted.
2298         * Source/webrtc/base/thread.h:
2299         * Source/webrtc/common_types.h:
2300         * Source/webrtc/common_video/include/video_frame_buffer.h:
2301         (webrtc::I420Buffer::Copy): Deleted.
2302         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
2303         (webrtc::I420Buffer::ScaleFrom): Deleted.
2304         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
2305         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
2306         * Source/webrtc/p2p/client/basicportallocator.h:
2307         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
2308         (cricket::BasicPortAllocator::network_manager): Deleted.
2309         (cricket::BasicPortAllocator::socket_factory): Deleted.
2310         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
2311         (RTCFileName):
2312         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
2313         * Source/webrtc/video_frame.h:
2314         (webrtc::VideoFrame::timestamp_us): Deleted.
2315         (webrtc::VideoFrame::set_timestamp_us): Deleted.
2316         (webrtc::VideoFrame::set_timestamp): Deleted.
2317         (webrtc::VideoFrame::timestamp): Deleted.
2318         (webrtc::VideoFrame::transport_frame_id): Deleted.
2319         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
2320         (webrtc::VideoFrame::ntp_time_ms): Deleted.
2321         (webrtc::VideoFrame::rotation): Deleted.
2322         (webrtc::VideoFrame::set_rotation): Deleted.
2323         (webrtc::VideoFrame::set_render_time_ms): Deleted.
2324         (webrtc::VideoFrame::render_time_ms): Deleted.
2325         (webrtc::VideoFrame::is_texture): Deleted.
2326         * build: Added.
2327         * build/Debug: Added.
2328         * libwebrtc.xcodeproj/project.pbxproj:
2329
2330 2017-02-15  Youenn Fablet  <youenn@apple.com>
2331
2332         [WebRTC] Remove libwebrtc ObjectiveC files that use UIKit
2333         https://bugs.webkit.org/show_bug.cgi?id=168392
2334
2335         Reviewed by Alex Christensen.
2336
2337         Removing default AudioDeviceModule as WebKit is providing its own.
2338         Removing checks for active application in H264 codec as WebKit should be made responsible for that.
2339         Removing no longer needed ObjectiveC files.
2340
2341         * Configurations/libwebrtc.xcconfig:
2342         * Configurations/libwebrtcpcrtc.xcconfig:
2343         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc:
2344         * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:
2345         (webrtc::H264VideoToolboxEncoder::Encode):
2346         * libwebrtc.xcodeproj/project.pbxproj:
2347
2348 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
2349
2350         Unreviewed, rolling out r212326.
2351
2352         This change broke certain build configurations.
2353
2354         Reverted changeset:
2355
2356         "Make libwebrtc.dylib"
2357         https://bugs.webkit.org/show_bug.cgi?id=168335
2358         http://trac.webkit.org/changeset/212326
2359
2360 2017-02-14  Alex Christensen  <achristensen@webkit.org>
2361
2362         Make libwebrtc.dylib
2363         https://bugs.webkit.org/show_bug.cgi?id=168335
2364
2365         Reviewed by Dan Bernstein.
2366
2367         We were building libwebrtc as a static library, which would prevent us from weak linking with it.
2368         We need to explicitly export what we use from WebCore or WebKit2, and RTCLogging.mm now needs to
2369         be built on Mac, so we make it not automatically reference counted to make it work on 32-bit El Capitan.
2370
2371         * Configurations/libwebrtc.xcconfig:
2372         * Source/webrtc/api/jsep.h:
2373         * Source/webrtc/api/mediastream.h:
2374         * Source/webrtc/api/notifier.h:
2375         (webrtc::Notifier::Notifier): Deleted.
2376         (webrtc::Notifier::RegisterObserver): Deleted.
2377         (webrtc::Notifier::UnregisterObserver): Deleted.
2378         (webrtc::Notifier::FireOnChanged): Deleted.
2379         * Source/webrtc/api/peerconnectioninterface.h:
2380         * Source/webrtc/base/asyncpacketsocket.h:
2381         * Source/webrtc/base/asyncresolverinterface.h:
2382         (rtc::AsyncResolverInterface::address): Deleted.
2383         * Source/webrtc/base/copyonwritebuffer.h:
2384         (rtc::CopyOnWriteBuffer::CopyOnWriteBuffer): Deleted.
2385         (rtc::CopyOnWriteBuffer::data): Deleted.
2386         (rtc::CopyOnWriteBuffer::cdata): Deleted.
2387         (rtc::CopyOnWriteBuffer::size): Deleted.
2388         (rtc::CopyOnWriteBuffer::capacity): Deleted.
2389         (rtc::CopyOnWriteBuffer::operator=): Deleted.
2390         (rtc::CopyOnWriteBuffer::operator!=): Deleted.
2391         (rtc::CopyOnWriteBuffer::operator[]): Deleted.
2392         (rtc::CopyOnWriteBuffer::SetData): Deleted.
2393         (rtc::CopyOnWriteBuffer::AppendData): Deleted.
2394         (rtc::CopyOnWriteBuffer::swap): Deleted.
2395         (rtc::CopyOnWriteBuffer::IsConsistent): Deleted.
2396         * Source/webrtc/base/event.h:
2397         * Source/webrtc/base/export.h: Added.
2398         * Source/webrtc/base/helpers.h:
2399         * Source/webrtc/base/ipaddress.h:
2400         (rtc::IPAddress::IPAddress): Deleted.
2401         (rtc::IPAddress::~IPAddress): Deleted.
2402         (rtc::IPAddress::operator=): Deleted.
2403         (rtc::IPAddress::family): Deleted.
2404         * Source/webrtc/base/location.h:
2405         (rtc::Location::function_name): Deleted.
2406         (rtc::Location::file_and_line): Deleted.
2407         * Source/webrtc/base/messagehandler.h:
2408         (rtc::MessageHandler::MessageHandler): Deleted.
2409         * Source/webrtc/base/network.h:
2410         (rtc::NetworkManagerBase::ipv6_enabled): Deleted.
2411         (rtc::NetworkManagerBase::set_ipv6_enabled): Deleted.
2412         (rtc::NetworkManagerBase::set_max_ipv6_networks): Deleted.
2413         (rtc::NetworkManagerBase::max_ipv6_networks): Deleted.
2414         (rtc::NetworkManagerBase::set_enumeration_permission): Deleted.
2415         (rtc::BasicNetworkManager::started): Deleted.
2416         (rtc::BasicNetworkManager::set_network_ignore_list): Deleted.
2417         (rtc::BasicNetworkManager::set_ignore_non_default_routes): Deleted.
2418         (rtc::Network::default_local_address_provider): Deleted.
2419         (rtc::Network::set_default_local_address_provider): Deleted.
2420         (rtc::Network::name): Deleted.
2421         (rtc::Network::description): Deleted.
2422         (rtc::Network::prefix): Deleted.
2423         (rtc::Network::prefix_length): Deleted.
2424         (rtc::Network::key): Deleted.
2425         (rtc::Network::ip): Deleted.
2426         (rtc::Network::AddIP): Deleted.
2427         (rtc::Network::GetIPs): Deleted.
2428         (rtc::Network::ClearIPs): Deleted.
2429         (rtc::Network::scope_id): Deleted.
2430         (rtc::Network::set_scope_id): Deleted.
2431         (rtc::Network::ignored): Deleted.
2432         (rtc::Network::set_ignored): Deleted.
2433         (rtc::Network::type): Deleted.
2434         (rtc::Network::set_type): Deleted.
2435         (rtc::Network::GetCost): Deleted.
2436         (rtc::Network::id): Deleted.
2437         (rtc::Network::set_id): Deleted.
2438         (rtc::Network::preference): Deleted.
2439         (rtc::Network::set_preference): Deleted.
2440         (rtc::Network::active): Deleted.
2441         (rtc::Network::set_active): Deleted.
2442         * Source/webrtc/base/proxyinfo.h:
2443         * Source/webrtc/base/refcountedobject.h:
2444         (rtc::RefCountedObject::RefCountedObject): Deleted.
2445         (rtc::RefCountedObject::AddRef): Deleted.
2446         (rtc::RefCountedObject::Release): Deleted.
2447         (rtc::RefCountedObject::HasOneRef): Deleted.
2448         (rtc::RefCountedObject::~RefCountedObject): Deleted.
2449         * Source/webrtc/base/socketaddress.h:
2450         (rtc::SocketAddress::hostname): Deleted.
2451         (rtc::SocketAddress::family): Deleted.
2452         (rtc::SocketAddress::scope_id): Deleted.
2453         (rtc::SocketAddress::SetScopeID): Deleted.
2454         (rtc::SocketAddress::operator !=): Deleted.
2455         * Source/webrtc/base/thread.h:
2456         * Source/webrtc/common_types.h:
2457         * Source/webrtc/common_video/include/video_frame_buffer.h:
2458         (webrtc::I420Buffer::Copy): Deleted.
2459         (webrtc::I420Buffer::CropAndScaleFrom): Deleted.
2460         (webrtc::I420Buffer::ScaleFrom): Deleted.
2461         * Source/webrtc/common_video/libyuv/include/webrtc_libyuv.h:
2462         * Source/webrtc/p2p/base/basicpacketsocketfactory.h:
2463         * Source/webrtc/p2p/client/basicportallocator.h:
2464         (cricket::BasicPortAllocator::network_ignore_mask): Deleted.
2465         (cricket::BasicPortAllocator::network_manager): Deleted.
2466         (cricket::BasicPortAllocator::socket_factory): Deleted.
2467         * Source/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm:
2468         (RTCFileName):
2469         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h:
2470         * Source/webrtc/video_frame.h:
2471         (webrtc::VideoFrame::timestamp_us): Deleted.
2472         (webrtc::VideoFrame::set_timestamp_us): Deleted.
2473         (webrtc::VideoFrame::set_timestamp): Deleted.
2474         (webrtc::VideoFrame::timestamp): Deleted.
2475         (webrtc::VideoFrame::transport_frame_id): Deleted.
2476         (webrtc::VideoFrame::set_ntp_time_ms): Deleted.
2477         (webrtc::VideoFrame::ntp_time_ms): Deleted.
2478         (webrtc::VideoFrame::rotation): Deleted.
2479         (webrtc::VideoFrame::set_rotation): Deleted.
2480         (webrtc::VideoFrame::set_render_time_ms): Deleted.
2481         (webrtc::VideoFrame::render_time_ms): Deleted.
2482         (webrtc::VideoFrame::is_texture): Deleted.
2483         * build: Added.
2484         * build/Debug: Added.
2485         * libwebrtc.xcodeproj/project.pbxproj:
2486
2487 2017-02-14  Alex Christensen  <achristensen@webkit.org>
2488
2489         Remove android-specific files from ThirdParty/libwebrtc
2490         https://bugs.webkit.org/show_bug.cgi?id=168272
2491
2492         Reviewed by Brady Eidson.
2493
2494         * Source/third_party/boringssl/src/third_party/android-cmake: Removed.
2495         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkGdb.cmake: Removed.
2496         * Source/third_party/boringssl/src/third_party/android-cmake/AndroidNdkModules.cmake: Removed.
2497         * Source/third_party/boringssl/src/third_party/android-cmake/LICENSE: Removed.
2498         * Source/third_party/boringssl/src/third_party/android-cmake/METADATA: Removed.
2499         * Source/third_party/boringssl/src/third_party/android-cmake/README.md: Removed.
2500         * Source/third_party/boringssl/src/third_party/android-cmake/android.toolchain.cmake: Removed.
2501         * Source/third_party/boringssl/src/third_party/android-cmake/ndk_links.md: Removed.
2502         * Source/third_party/boringssl/src/util/run_android_tests.go: Removed.
2503         * Source/third_party/libyuv/util/android: Removed.
2504         * Source/third_party/libyuv/util/android/test_runner.py: Removed.
2505         * Source/webrtc/androidjunit: Removed.
2506         * Source/webrtc/androidjunit/OWNERS: Removed.
2507         * Source/webrtc/androidjunit/src: Removed.
2508         * Source/webrtc/androidjunit/src/org: Removed.
2509         * Source/webrtc/androidjunit/src/org/webrtc: Removed.
2510         * Source/webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java: Removed.
2511         * Source/webrtc/api/android: Removed.
2512         * Source/webrtc/api/android/PRESUBMIT.py: Removed.
2513         * Source/webrtc/api/android/README: Removed.
2514         * Source/webrtc/api/android/java: Removed.
2515         * Source/webrtc/api/android/java/src: Removed.
2516         * Source/webrtc/api/android/java/src/org: Removed.
2517         * Source/webrtc/api/android/java/src/org/webrtc: Removed.
2518         * Source/webrtc/api/android/java/src/org/webrtc/AudioSource.java: Removed.
2519         * Source/webrtc/api/android/java/src/org/webrtc/AudioTrack.java: Removed.
2520         * Source/webrtc/api/android/java/src/org/webrtc/CallSessionFileRotatingLogSink.java: Removed.
2521         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Capturer.java: Removed.
2522         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Enumerator.java: Removed.
2523         * Source/webrtc/api/android/java/src/org/webrtc/Camera1Session.java: Removed.
2524         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Capturer.java: Removed.
2525         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Enumerator.java: Removed.
2526         * Source/webrtc/api/android/java/src/org/webrtc/Camera2Session.java: Removed.
2527         * Source/webrtc/api/android/java/src/org/webrtc/CameraCapturer.java: Removed.
2528         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerationAndroid.java: Removed.
2529         * Source/webrtc/api/android/java/src/org/webrtc/CameraEnumerator.java: Removed.
2530         * Source/webrtc/api/android/java/src/org/webrtc/CameraSession.java: Removed.
2531         * Source/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java: Removed.
2532         * Source/webrtc/api/android/java/src/org/webrtc/DataChannel.java: Removed.
2533         * Source/webrtc/api/android/java/src/org/webrtc/EglBase.java: Removed.
2534         * Source/webrtc/api/android/java/src/org/webrtc/EglBase10.java: Removed.
2535         * Source/webrtc/api/android/java/src/org/webrtc/EglBase14.java: Removed.
2536         * Source/webrtc/api/android/java/src/org/webrtc/EglRenderer.java: Removed.
2537         * Source/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java: Removed.
2538         * Source/webrtc/api/android/java/src/org/webrtc/GlRectDrawer.java: Removed.
2539         * Source/webrtc/api/android/java/src/org/webrtc/GlShader.java: Removed.
2540         * Source/webrtc/api/android/java/src/org/webrtc/GlTextureFrameBuffer.java: Removed.
2541         * Source/webrtc/api/android/java/src/org/webrtc/GlUtil.java: Removed.
2542         * Source/webrtc/api/android/java/src/org/webrtc/IceCandidate.java: Removed.
2543         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoDecoder.java: Removed.
2544         * Source/webrtc/api/android/java/src/org/webrtc/MediaCodecVideoEncoder.java: Removed.
2545         * Source/webrtc/api/android/java/src/org/webrtc/MediaConstraints.java: Removed.
2546         * Source/webrtc/api/android/java/src/org/webrtc/MediaSource.java: Removed.
2547         * Source/webrtc/api/android/java/src/org/webrtc/MediaStream.java: Removed.
2548         * Source/webrtc/api/android/java/src/org/webrtc/MediaStreamTrack.java: Removed.
2549         * Source/webrtc/api/android/java/src/org/webrtc/Metrics.java: Removed.
2550         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitor.java: Removed.
2551         * Source/webrtc/api/android/java/src/org/webrtc/NetworkMonitorAutoDetect.java: Removed.
2552         * Source/webrtc/api/android/java/src/org/webrtc/OWNERS: Removed.
2553         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnection.java: Removed.
2554         * Source/webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java: Removed.
2555         * Source/webrtc/api/android/java/src/org/webrtc/RendererCommon.java: Removed.
2556         * Source/webrtc/api/android/java/src/org/webrtc/RtpParameters.java: Removed.
2557         * Source/webrtc/api/android/java/src/org/webrtc/RtpReceiver.java: Removed.
2558         * Source/webrtc/api/android/java/src/org/webrtc/RtpSender.java: Removed.
2559         * Source/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java: Removed.
2560         * Source/webrtc/api/android/java/src/org/webrtc/SdpObserver.java: Removed.
2561         * Source/webrtc/api/android/java/src/org/webrtc/SessionDescription.java: Removed.
2562         * Source/webrtc/api/android/java/src/org/webrtc/StatsObserver.java: Removed.
2563         * Source/webrtc/api/android/java/src/org/webrtc/StatsReport.java: Removed.
2564         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java: Removed.
2565         * Source/webrtc/api/android/java/src/org/webrtc/SurfaceViewRenderer.java: Removed.
2566         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java: Removed.
2567         * Source/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java: Removed.
2568         * Source/webrtc/api/android/java/src/org/webrtc/VideoFileRenderer.java: Removed.
2569         * Source/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java: Removed.
2570         * Source/webrtc/api/android/java/src/org/webrtc/VideoRendererGui.java: Removed.
2571         * Source/webrtc/api/android/java/src/org/webrtc/VideoSource.java: Removed.
2572         * Source/webrtc/api/android/java/src/org/webrtc/VideoTrack.java: Removed.
2573         * Source/webrtc/api/android/java/src/org/webrtc/YuvConverter.java: Removed.
2574         * Source/webrtc/api/android/jni: Removed.
2575         * Source/webrtc/api/android/jni/OWNERS: Removed.
2576         * Source/webrtc/api/android/jni/androidmediacodeccommon.h: Removed.
2577         * Source/webrtc/api/android/jni/androidmediadecoder_jni.cc: Removed.
2578         * Source/webrtc/api/android/jni/androidmediadecoder_jni.h: Removed.
2579         * Source/webrtc/api/android/jni/androidmediaencoder_jni.cc: Removed.
2580         * Source/webrtc/api/android/jni/androidmediaencoder_jni.h: Removed.
2581         * Source/webrtc/api/android/jni/androidmetrics_jni.cc: Removed.
2582         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.cc: Removed.
2583         * Source/webrtc/api/android/jni/androidnetworkmonitor_jni.h: Removed.
2584         * Source/webrtc/api/android/jni/androidvideotracksource_jni.cc: Removed.
2585         * Source/webrtc/api/android/jni/classreferenceholder.cc: Removed.
2586         * Source/webrtc/api/android/jni/classreferenceholder.h: Removed.
2587         * Source/webrtc/api/android/jni/jni_helpers.cc: Removed.
2588         * Source/webrtc/api/android/jni/jni_helpers.h: Removed.
2589         * Source/webrtc/api/android/jni/jni_onload.cc: Removed.
2590         * Source/webrtc/api/android/jni/native_handle_impl.cc: Removed.
2591         * Source/webrtc/api/android/jni/native_handle_impl.h: Removed.
2592         * Source/webrtc/api/android/jni/peerconnection_jni.cc: Removed.
2593         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.cc: Removed.
2594         * Source/webrtc/api/android/jni/surfacetexturehelper_jni.h: Removed.
2595         * Source/webrtc/api/androidtests: Removed.
2596         * Source/webrtc/api/androidtests/AndroidManifest.xml: Removed.
2597         * Source/webrtc/api/androidtests/OWNERS: Removed.
2598         * Source/webrtc/api/androidtests/ant.properties: Removed.
2599         * Source/webrtc/api/androidtests/build.xml: Removed.
2600         * Source/webrtc/api/androidtests/project.properties: Removed.
2601         * Source/webrtc/api/androidtests/res: Removed.
2602         * Source/webrtc/api/androidtests/res/drawable-hdpi: Removed.
2603         * Source/webrtc/api/androidtests/res/drawable-hdpi/ic_launcher.png: Removed.
2604         * Source/webrtc/api/androidtests/res/drawable-ldpi: Removed.
2605         * Source/webrtc/api/androidtests/res/drawable-ldpi/ic_launcher.png: Removed.
2606         * Source/webrtc/api/androidtests/res/drawable-mdpi: Removed.
2607         * Source/webrtc/api/androidtests/res/drawable-mdpi/ic_launcher.png: Removed.
2608         * Source/webrtc/api/androidtests/res/drawable-xhdpi: Removed.
2609         * Source/webrtc/api/androidtests/res/drawable-xhdpi/ic_launcher.png: Removed.
2610         * Source/webrtc/api/androidtests/res/values: Removed.
2611         * Source/webrtc/api/androidtests/res/values/strings.xml: Removed.
2612         * Source/webrtc/api/androidtests/src: Removed.
2613         * Source/webrtc/api/androidtests/src/org: Removed.
2614         * Source/webrtc/api/androidtests/src/org/webrtc: Removed.
2615         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.java: Removed.
2616         * Source/webrtc/api/androidtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java: Removed.
2617         * Source/webrtc/api/androidtests/src/org/webrtc/Camera2CapturerTest.java: Removed.
2618         * Source/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java: Removed.
2619         * Source/webrtc/api/androidtests/src/org/webrtc/EglRendererTest.java: Removed.
2620         * Source/webrtc/api/androidtests/src/org/webrtc/GlRectDrawerTest.java: Removed.
2621         * Source/webrtc/api/androidtests/src/org/webrtc/MediaCodecVideoEncoderTest.java: Removed.
2622         * Source/webrtc/api/androidtests/src/org/webrtc/NetworkMonitorTest.java: Removed.
2623         * Source/webrtc/api/androidtests/src/org/webrtc/PeerConnectionTest.java: Removed.
2624         * Source/webrtc/api/androidtests/src/org/webrtc/RendererCommonTest.java: Removed.
2625         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceTextureHelperTest.java: Removed.
2626         * Source/webrtc/api/androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java: Removed.
2627         * Source/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java: Removed.
2628         * Source/webrtc/api/androidvideotracksource.cc: Removed.
2629         * Source/webrtc/api/androidvideotracksource.h: Removed.
2630         * Source/webrtc/api/test/androidtestinitializer.cc: Removed.
2631         * Source/webrtc/api/test/androidtestinitializer.h: Removed.
2632         * Source/webrtc/base/ifaddrs-android.cc: Removed.
2633         * Source/webrtc/base/ifaddrs-android.h: Removed.
2634         * Source/webrtc/build/android: Removed.
2635         * Source/webrtc/build/android/AndroidManifest.xml: Removed.
2636         * Source/webrtc/build/android/suppressions.xml: Removed.
2637         * Source/webrtc/build/android/test_runner.py: Removed.
2638         * Source/webrtc/examples/androidapp: Removed.
2639         * Source/webrtc/examples/androidapp/AndroidManifest.xml: Removed.
2640         * Source/webrtc/examples/androidapp/OWNERS: Removed.
2641         * Source/webrtc/examples/androidapp/README: Removed.
2642         * Source/webrtc/examples/androidapp/ant.properties: Removed.
2643         * Source/webrtc/examples/androidapp/build.xml: Removed.
2644         * Source/webrtc/examples/androidapp/project.properties: Removed.
2645         * Source/webrtc/examples/androidapp/res: Removed.
2646         * Source/webrtc/examples/androidapp/res/drawable-hdpi: Removed.
2647         * Source/webrtc/examples/androidapp/res/drawable-hdpi/disconnect.png: Removed.
2648         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_full_screen.png: Removed.
2649         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_action_return_from_full_screen.png: Removed.
2650         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_launcher.png: Removed.
2651         * Source/webrtc/examples/androidapp/res/drawable-hdpi/ic_loopback_call.png: Removed.
2652         * Source/webrtc/examples/androidapp/res/drawable-ldpi: Removed.
2653         * Source/webrtc/examples/androidapp/res/drawable-ldpi/disconnect.png: Removed.
2654         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_full_screen.png: Removed.
2655         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_action_return_from_full_screen.png: Removed.
2656         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_launcher.png: Removed.
2657         * Source/webrtc/examples/androidapp/res/drawable-ldpi/ic_loopback_call.png: Removed.
2658         * Source/webrtc/examples/androidapp/res/drawable-mdpi: Removed.
2659         * Source/webrtc/examples/androidapp/res/drawable-mdpi/disconnect.png: Removed.
2660         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_full_screen.png: Removed.
2661         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_action_return_from_full_screen.png: Removed.
2662         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_launcher.png: Removed.
2663         * Source/webrtc/examples/androidapp/res/drawable-mdpi/ic_loopback_call.png: Removed.
2664         * Source/webrtc/examples/androidapp/res/drawable-xhdpi: Removed.
2665         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/disconnect.png: Removed.
2666         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_full_screen.png: Removed.
2667         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_action_return_from_full_screen.png: Removed.
2668         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_launcher.png: Removed.
2669         * Source/webrtc/examples/androidapp/res/drawable-xhdpi/ic_loopback_call.png: Removed.
2670         * Source/webrtc/examples/androidapp/res/layout: Removed.
2671         * Source/webrtc/examples/androidapp/res/layout/activity_call.xml: Removed.
2672         * Source/webrtc/examples/androidapp/res/layout/activity_connect.xml: Removed.
2673         * Source/webrtc/examples/androidapp/res/layout/fragment_call.xml: Removed.
2674         * Source/webrtc/examples/androidapp/res/layout/fragment_hud.xml: Removed.
2675         * Source/webrtc/examples/androidapp/res/menu: Removed.
2676         * Source/webrtc/examples/androidapp/res/menu/connect_menu.xml: Removed.
2677         * Source/webrtc/examples/androidapp/res/values: Removed.
2678         * Source/webrtc/examples/androidapp/res/values-v17: Removed.
2679         * Source/webrtc/examples/androidapp/res/values-v17/styles.xml: Removed.
2680         * Source/webrtc/examples/androidapp/res/values-v21: Removed.
2681         * Source/webrtc/examples/androidapp/res/values-v21/styles.xml: Removed.
2682         * Source/webrtc/examples/androidapp/res/values/arrays.xml: Removed.
2683         * Source/webrtc/examples/androidapp/res/values/strings.xml: Removed.
2684         * Source/webrtc/examples/androidapp/res/xml: Removed.
2685         * Source/webrtc/examples/androidapp/res/xml/preferences.xml: Removed.
2686         * Source/webrtc/examples/androidapp/src: Removed.
2687         * Source/webrtc/examples/androidapp/src/org: Removed.
2688         * Source/webrtc/examples/androidapp/src/org/appspot: Removed.
2689         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc: Removed.
2690         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java: Removed.
2691         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCClient.java: Removed.
2692         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java: Removed.
2693         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java: Removed.
2694         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CallFragment.java: Removed.
2695         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CaptureQualityController.java: Removed.
2696         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/ConnectActivity.java: Removed.
2697         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/CpuMonitor.java: Removed.
2698         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java: Removed.
2699         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/HudFragment.java: Removed.
2700         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java: Removed.
2701         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/PercentFrameLayout.java: Removed.
2702         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java: Removed.
2703         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsActivity.java: Removed.
2704         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsFragment.java: Removed.
2705         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/TCPChannelClient.java: Removed.
2706         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java: Removed.
2707         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java: Removed.
2708         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java: Removed.
2709         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util: Removed.
2710         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java: Removed.
2711         * Source/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java: Removed.
2712         * Source/webrtc/examples/androidapp/start_loopback_stubbed_camera_saved_video_out.py: Removed.
2713         * Source/webrtc/examples/androidapp/third_party: Removed.
2714         * Source/webrtc/examples/androidapp/third_party/autobanh: Removed.
2715         * Source/webrtc/examples/androidapp/third_party/autobanh/BUILD.gn: Removed.
2716         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE: Removed.
2717         * Source/webrtc/examples/androidapp/third_party/autobanh/LICENSE.md: Removed.
2718         * Source/webrtc/examples/androidapp/third_party/autobanh/NOTICE: Removed.
2719         * Source/webrtc/examples/androidapp/third_party/autobanh/lib: Removed.
2720         * Source/webrtc/examples/androidapp/third_party/autobanh/lib/autobanh.jar: Removed.
2721         * Source/webrtc/examples/androidjunit: Removed.
2722         * Source/webrtc/examples/androidjunit/README: Removed.
2723         * Source/webrtc/examples/androidjunit/src: Removed.
2724         * Source/webrtc/examples/androidjunit/src/org: Removed.
2725         * Source/webrtc/examples/androidjunit/src/org/appspot: Removed.
2726         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc: Removed.
2727         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java: Removed.
2728         * Source/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java: Removed.
2729         * Source/webrtc/examples/androidtests: Removed.
2730         * Source/webrtc/examples/androidtests/AndroidManifest.xml: Removed.
2731         * Source/webrtc/examples/androidtests/README: Removed.
2732         * Source/webrtc/examples/androidtests/ant.properties: Removed.
2733         * Source/webrtc/examples/androidtests/build.xml: Removed.
2734         * Source/webrtc/examples/androidtests/project.properties: Removed.
2735         * Source/webrtc/examples/androidtests/src: Removed.
2736         * Source/webrtc/examples/androidtests/src/org: Removed.
2737         * Source/webrtc/examples/androidtests/src/org/appspot: Removed.
2738         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc: Removed.
2739         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test: Removed.
2740         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/FileVideoCapturerTest.java: Removed.
2741         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java: Removed.
2742         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/VideoFileRendererTest.java: Removed.
2743         * Source/webrtc/examples/androidtests/src/org/appspot/apprtc/test/capturetestvideo.y4m: Removed.
2744         * Source/webrtc/modules/audio_device/android: Removed.
2745         * Source/webrtc/modules/audio_device/android/audio_common.h: Removed.
2746         * Source/webrtc/modules/audio_device/android/audio_device_template.h: Removed.
2747         * Source/webrtc/modules/audio_device/android/audio_device_unittest.cc: Removed.
2748         * Source/webrtc/modules/audio_device/android/audio_manager.cc: Removed.
2749         * Source/webrtc/modules/audio_device/android/audio_manager.h: Removed.
2750         * Source/webrtc/modules/audio_device/android/audio_manager_unittest.cc: Removed.
2751         * Source/webrtc/modules/audio_device/android/audio_record_jni.cc: Removed.
2752         * Source/webrtc/modules/audio_device/android/audio_record_jni.h: Removed.
2753         * Source/webrtc/modules/audio_device/android/audio_track_jni.cc: Removed.
2754         * Source/webrtc/modules/audio_device/android/audio_track_jni.h: Removed.
2755         * Source/webrtc/modules/audio_device/android/build_info.cc: Removed.
2756         * Source/webrtc/modules/audio_device/android/build_info.h: Removed.
2757         * Source/webrtc/modules/audio_device/android/ensure_initialized.cc: Removed.
2758         * Source/webrtc/modules/audio_device/android/ensure_initialized.h: Removed.
2759         * Source/webrtc/modules/audio_device/android/java: Removed.
2760         * Source/webrtc/modules/audio_device/android/java/src: Removed.
2761         * Source/webrtc/modules/audio_device/android/java/src/org: Removed.
2762         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc: Removed.
2763         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine: Removed.
2764         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/BuildInfo.java: Removed.
2765         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java: Removed.
2766         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java: Removed.
2767         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java: Removed.
2768         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java: Removed.
2769         * Source/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java: Removed.
2770         * Source/webrtc/modules/audio_device/android/opensles_common.cc: Removed.
2771         * Source/webrtc/modules/audio_device/android/opensles_common.h: Removed.
2772         * Source/webrtc/modules/audio_device/android/opensles_player.cc: Removed.
2773         * Source/webrtc/modules/audio_device/android/opensles_player.h: Removed.
2774         * Source/webrtc/modules/audio_device/android/opensles_recorder.cc: Removed.
2775         * Source/webrtc/modules/audio_device/android/opensles_recorder.h: Removed.
2776         * Source/webrtc/modules/audio_processing/test/android: Removed.
2777         * Source/webrtc/modules/audio_processing/test/android/apmtest: Removed.
2778         * Source/webrtc/modules/audio_processing/test/android/apmtest/AndroidManifest.xml: Removed.
2779         * Source/webrtc/modules/audio_processing/test/android/apmtest/default.properties: Removed.
2780         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni: Removed.
2781         * Source/webrtc/modules/audio_processing/test/android/apmtest/jni/main.c: Removed.
2782         * Source/webrtc/modules/audio_processing/test/android/apmtest/res: Removed.
2783         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values: Removed.
2784         * Source/webrtc/modules/audio_processing/test/android/apmtest/res/values/strings.xml: Removed.
2785         * Source/webrtc/modules/utility/include/helpers_android.h: Removed.
2786         * Source/webrtc/modules/utility/include/jvm_android.h: Removed.
2787         * Source/webrtc/modules/utility/source/helpers_android.cc: Removed.
2788         * Source/webrtc/modules/utility/source/jvm_android.cc: Removed.
2789         * Source/webrtc/system_wrappers/source/cpu_features_android.c: Removed.
2790         * libwebrtc.xcodeproj/project.pbxproj:
2791
2792 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2793
2794         Fix iOS libwebrtc build after r212127
2795         https://bugs.webkit.org/show_bug.cgi?id=168134
2796
2797         * Configurations/libwebrtc.xcconfig:
2798         * libwebrtc.xcodeproj/project.pbxproj:
2799         I got a little carried away removing ObjC sources.
2800         We still need RTCLogging.mm and RTCUIApplication.mm on iOS.
2801         Also sorted the project file.
2802
2803 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2804
2805         Fix iOS libwebrtc build after r212127
2806         https://bugs.webkit.org/show_bug.cgi?id=168134
2807
2808         * libwebrtc.xcodeproj/project.pbxproj:
2809         I got a little carried away removing -fobjc-arc.  These files need it.
2810         It was originally added in r211902 and these files are in the 
2811         EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] list in libwebrtc.xcconfig
2812         so adding this flag won't break the 32-bit El Capitan build.
2813
2814 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2815
2816         Remove unnecessary automatic reference counting in libwebrtc
2817         https://bugs.webkit.org/show_bug.cgi?id=168134
2818
2819         Reviewed by Youenn Fablet.
2820
2821         * libwebrtc.xcodeproj/project.pbxproj:
2822
2823 2017-02-10  Youenn Fablet  <youennf@gmail.com>
2824
2825         [WebRTC] Activate libwebrtc G711/G722 audio codecs
2826         https://bugs.webkit.org/show_bug.cgi?id=168123
2827
2828         Reviewed by Alex Christensen.
2829
2830         Adding G711/G722 missing codec files.
2831         Activating use of these in the build system.
2832
2833         * Configurations/libwebrtc.xcconfig:
2834         * Source/webrtc/modules/audio_coding/codecs/g711/g711.c: Added.
2835         (ulaw_to_alaw):
2836         * Source/webrtc/modules/audio_coding/codecs/g711/g711.h: Added.
2837         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc: Added.
2838         * Source/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h: Added.
2839         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc: Added.
2840         * Source/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h: Added.
2841         * Source/webrtc/modules/audio_coding/codecs/g722/g722_decode.c: Added.
2842         * Source/webrtc/modules/audio_coding/codecs/g722/g722_enc_dec.h: Added.
2843         * Source/webrtc/modules/audio_coding/codecs/g722/g722_encode.c: Added.
2844         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.c: Added.
2845         * Source/webrtc/modules/audio_coding/codecs/g722/g722_interface.h: Added.
2846         * Source/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc: Added.
2847         * libwebrtc.xcodeproj/project.pbxproj:
2848
2849 2017-02-10  Alex Christensen  <achristensen@webkit.org>
2850
2851         Fix ASAN build.
2852
2853         * Source/webrtc/base/sanitizer.h:
2854         SANITIZER_UNUSED3 wasn't defined if we are using address_sanitizer but not memory_sanitizer.
2855
2856 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2857
2858         Fix El Capitan build.
2859
2860         * libwebrtc.xcodeproj/project.pbxproj:
2861         Remove more SSE4 code.
2862
2863 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2864
2865         Fix El Capitan build.
2866
2867         * libwebrtc.xcodeproj/project.pbxproj:
2868         Remove more SSE4 code.
2869
2870 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2871
2872         Fix iOS and El Capitan builds of libwebrtc.
2873
2874         * Configurations/libwebrtc.xcconfig:
2875         Skip building audio_mixer_manager_mac.cc on iOS.
2876         * libwebrtc.xcodeproj/project.pbxproj:
2877         El Capitan doesn't like the SSE4 optimizations in opus.
2878         Just don't include them for now.
2879
2880 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2881
2882         Fix warnings in libwebrtc build
2883         https://bugs.webkit.org/show_bug.cgi?id=168088
2884
2885         Reviewed by Youenn Fablet.
2886
2887         * Source/third_party/opus/src/src/opus_decoder.c:
2888         Silence a warning.  Debug builds of opus can be slow.  No big deal.
2889         * libwebrtc.xcodeproj/project.pbxproj:
2890         More sdk files need ARC.
2891
2892 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2893
2894         Fix iOS libwebrtc build after r211960
2895         https://bugs.webkit.org/show_bug.cgi?id=168038
2896
2897         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
2898         GlContextType declaration needs to be platform specific here like it is in RTCOpenGLDefines.h
2899
2900 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2901
2902         Fix i386 libwebrtc build
2903         https://bugs.webkit.org/show_bug.cgi?id=168038
2904
2905         Reviewed by Geoffrey Garen.
2906
2907         Unfortunately, 32-bit ObjC can't use all the coolest new features of ObjC.
2908         Fortunately, we can move things around a bit to become valid old ObjC.
2909
2910         * Source/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm:
2911         * Source/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm:
2912         * Source/webrtc/sdk/objc/Framework/Classes/RTCFileLogger.mm:
2913         * Source/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:
2914         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm:
2915         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource+Private.h:
2916         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm:
2917         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStream.mm:
2918         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h:
2919         * Source/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack.mm:
2920         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h:
2921         * Source/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm:
2922         * Source/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm:
2923         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:
2924         * Source/webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm:
2925         * Source/webrtc/sdk/objc/Framework/Classes/RTCShader.h:
2926         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm:
2927         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h:
2928         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm:
2929         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm:
2930         * Source/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack.mm:
2931         * Source/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm:
2932         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h:
2933         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h:
2934         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h:
2935         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCConfiguration.h:
2936         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h:
2937         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFileLogger.h:
2938         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h:
2939         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h:
2940         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h:
2941         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h:
2942         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h:
2943         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStream.h:
2944         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h:
2945         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h:
2946         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h:
2947         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h:
2948         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h:
2949         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h:
2950         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h:
2951         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpSender.h:
2952         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h:
2953         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h:
2954         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h:
2955         * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h:
2956         Make code compile for i386.
2957         * libwebrtc.xcodeproj/project.pbxproj:
2958         Added missing headers so Xcode can search them.
2959
2960 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2961
2962         Remove svn:executable property from headers.
2963
2964         * Source/webrtc/base/sigslottester.h: Removed property svn:executable.
2965         * Source/webrtc/modules/video_processing/util/skin_detection.h: Removed property svn:executable.
2966
2967 2017-02-08  Alex Christensen  <achristensen@webkit.org>
2968
2969         Fix libwebrtc build.
2970         https://bugs.webkit.org/show_bug.cgi?id=168017
2971
2972         * Configurations/libwebrtc.xcconfig:
2973         Trying to compile audio_device_not_implemented_ios.mm on Mac doesn't work.
2974         * libwebrtc.xcodeproj/project.pbxproj:
2975         Add some neon files.  They are nicely protected by macros at the top, so their contents are only compiled if necessary.
2976
2977 2017-02-08  Alex Christensen  <achristensen@webkit.org>
2978
2979         Fix libwebrtc build on iOS simulator
2980         https://bugs.webkit.org/show_bug.cgi?id=168017
2981
2982         Reviewed by Tim Horton.
2983
2984         * Configurations/libwebrtc.xcconfig:
2985         * Configurations/libwebrtcpcrtc.xcconfig:
2986         Use $(inherited)
2987         * Source/webrtc/modules/audio_device/ios/audio_device_ios.h:
2988         * Source/webrtc/modules/audio_device/ios/audio_device_ios.mm:
2989         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Configuration.mm:
2990         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h:
2991         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h:
2992         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm:
2993         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h:
2994         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.m:
2995         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h:
2996         * Source/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.mm:
2997         Renamed RTCAudioSession* to WebRTCAudioSession* so that all ObjC classes in WebCore start with Web prefix.
2998         * libwebrtc.xcodeproj/project.pbxproj:
2999         Add necessary files.  Some iOS-specific files need ARC, 
3000         and this matches the Build.gn in Source/webrtc/modules/audio_device
3001
3002 2017-02-08  Alex Christensen  <achristensen@webkit.org>
3003
3004         Fix iOS libwebrtc build
3005         https://bugs.webkit.org/show_bug.cgi?id=168004
3006
3007         Reviewed by Youenn Fablet.
3008
3009         We might still need to add some neon files.
3010
3011         * Configurations/libwebrtc.xcconfig:
3012         * Configurations/libwebrtcpcrtc.xcconfig:
3013         * Configurations/opus.xcconfig:
3014         Don't build sse-specific files for iOS.
3015         * libwebrtc.xcodeproj/project.pbxproj:
3016         Don't include the sse4 optimization for now.
3017         We can add the optimization for CPUs that support it later.
3018
3019 2017-02-08  Youenn Fablet  <youennf@gmail.com>
3020
3021         [WebRTC] Fix libwebrtc build system
3022         https://bugs.webkit.org/show_bug.cgi?id=167978
3023
3024         Reviewed by Alex Christensen.
3025
3026         * Configurations/libwebrtc.xcconfig:
3027         * Configurations/libwebrtcpcrtc.xcconfig:
3028         * Configurations/usrsctp.xcconfig:
3029         * libwebrtc.xcodeproj/project.pbxproj:
3030
3031 2017-02-07  Youenn Fablet  <youenn@apple.com>
3032
3033         Fix libwebrtcpcrtc target include path
3034         https://bugs.webkit.org/show_bug.cgi?id=167971
3035
3036         Reviewed by Alex Christensen.
3037
3038         * Configurations/libwebrtcpcrtc.xcconfig:
3039
3040 2017-02-07  Youenn Fablet  <youenn@apple.com>
3041
3042         [WebRTC] usrsctp (libwebrtc third party library) is not compiling
3043         https://bugs.webkit.org/show_bug.cgi?id=167969
3044
3045         Reviewed by Alex Christensen.
3046
3047         Also removing .gitignore files in libwebrtc directory.
3048
3049         * Source/.gitignore: Removed.
3050         * Source/third_party/boringssl/src/.gitignore: Removed.
3051         * Source/third_party/gflags/src/.gitignore: Removed.
3052         * Source/third_party/jsoncpp/source/.gitignore: Removed.
3053         * Source/third_party/libyuv/.gitignore: Removed.
3054         * Source/third_party/protobuf/.gitignore: Removed.
3055         * Source/third_party/protobuf/csharp/.gitignore: Removed.
3056         * Source/third_party/protobuf/ruby/.gitignore: Removed.
3057         * Source/third_party/usrsctp/usrsctplib/.gitignore: Removed.
3058         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_input.c:
3059         (sctp_process_cookie_existing):
3060         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_output.c:
3061         * Source/tools/.gitignore: Removed.
3062         * Source/webrtc/.gitignore: Removed.
3063
3064 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3065
3066         Move webrtc/pc to own Xcode target
3067         https://bugs.webkit.org/show_bug.cgi?id=167970
3068
3069         Reviewed by Youenn Fablet.
3070
3071         It needs to include different directories than the rest of libwebrtc.
3072         Also moved some target names so liblibsrtp.a is changed to libsrtp.a, etc.
3073
3074         * Configurations/libwebrtcpcrtc.xcconfig: Added.
3075         * libwebrtc.xcodeproj/project.pbxproj:
3076
3077 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3078
3079         [libwebrtc] Move libsrtp and libyuv to own Xcode targets
3080         https://bugs.webkit.org/show_bug.cgi?id=167966
3081
3082         Reviewed by Youenn Fablet.
3083
3084         * Configurations/libsrtp.xcconfig: Added.
3085         * Configurations/libyuv.xcconfig: Added.
3086         * Configurations/usrsctp.xcconfig:
3087         * libwebrtc.xcodeproj/project.pbxproj:
3088
3089 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3090
3091         Fix libwebrtc build after r211817
3092         https://bugs.webkit.org/show_bug.cgi?id=167944
3093
3094         * Configurations/usrsctp.xcconfig:
3095         Disable more warnings.
3096
3097 2017-02-07  Alex Christensen  <achristensen@webkit.org>
3098
3099         build usrsctp with Xcode
3100         https://bugs.webkit.org/show_bug.cgi?id=167944
3101
3102         Reviewed by Youenn Fablet.
3103
3104         * Configurations/usrsctp.xcconfig:
3105         * Source/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_pcb.c:
3106         * Source/third_party/usrsctp/usrsctplib/usrsctplib/user_atomic.h:
3107         * libwebrtc.xcodeproj/project.pbxproj:
3108
3109 2017-02-06  Alex Christensen  <achristensen@webkit.org>
3110
3111         [WebRTC] Remove unneeded build directory accidentally checked in with libwebrtc source.
3112
3113         Reviewed by Youenn Fablet.
3114
3115         * third_party/usrsctp/build: Removed.
3116
3117 2017-02-03  Alex Christensen  <achristensen@webkit.org>
3118
3119         [WebRTC] Add more files to libwebrtc build
3120         https://bugs.webkit.org/show_bug.cgi?id=167824
3121
3122         Reviewed by Youenn Fablet.
3123
3124         * Configurations/libwebrtc.xcconfig:
3125         * Configurations/usrsctp.xcconfig: Added.
3126         * libwebrtc.xcodeproj/project.pbxproj:
3127
3128 2017-02-02  Alex Christensen  <achristensen@webkit.org>
3129
3130         Build libwebrtc and dependencies with Xcode
3131         https://bugs.webkit.org/show_bug.cgi?id=167758
3132
3133         Reviewed by Dean Jackson.
3134
3135         * Configurations: Added.
3136         * Configurations/Base.xcconfig: Added.
3137         * Configurations/DebugRelease.xcconfig: Added.
3138         * Configurations/boringssl.xcconfig: Added.
3139         * Configurations/libwebrtc.xcconfig: Added.
3140         * Configurations/opus.xcconfig: Added.
3141         * libwebrtc.xcodeproj/project.pbxproj:
3142
3143 2017-01-30  Youenn Fablet  <youennf@gmail.com>
3144
3145         [WebRTC] Upload a diff of WebKit libwebrtc code and original libwebrtc code
3146         https://bugs.webkit.org/show_bug.cgi?id=167573
3147
3148         Reviewed by Alex Christensen.
3149
3150         * WebKit/patch-libwebrtc: Added.
3151
3152 2017-01-27  Dan Bernstein  <mitz@apple.com>
3153
3154         Ignore Xcode’s project.xcworkspace and userdata directories in this new project like we do
3155         in other projects.
3156
3157         * libwebrtc.xcodeproj: Added property svn:ignore.
3158
3159 2017-01-24  Youenn Fablet  <youenn@apple.com>
3160
3161         [WebRTC] Use HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE for libwebrtc
3162         https://bugs.webkit.org/show_bug.cgi?id=167353
3163
3164         Reviewed by Alex Christensen.
3165
3166         * CMakeLists.txt:
3167
3168 2017-01-23  Youenn Fablet  <youenn@apple.com>
3169
3170         [WebRTC] Filter libwebrtc link flags
3171         https://bugs.webkit.org/show_bug.cgi?id=167287
3172
3173         Reviewed by Alex Christensen.
3174
3175         * CMakeLists.txt:
3176
3177 2017-01-23  Youenn Fablet  <youennf@gmail.com>
3178
3179         [WebRTC] Make VP8 optional in libwebrtc
3180         https://bugs.webkit.org/show_bug.cgi?id=167257
3181
3182         Reviewed by Darin Adler.
3183
3184         Reusing strategy used to have VP9 optional for VP8 codec.
3185
3186         * CMakeLists.txt: Updated tocompile and link vp8_noop.cc
3187         * Source/webrtc/media/engine/webrtcvideoengine2.cc:
3188         * Source/webrtc/modules/video_coding/codecs/vp8/include/vp8.h:
3189         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:
3190         * Source/webrtc/modules/video_coding/codecs/vp8/vp8_noop.cc: Added.
3191         * Source/webrtc/video/video_encoder.cc:
3192
3193 2017-01-20  Youenn Fablet  <youennf@gmail.com>
3194
3195         [WebRTC] Update build system to make G711 optional in libwebrtc
3196         https://bugs.webkit.org/show_bug.cgi?id=167256
3197
3198         Reviewed by Alex Christensen.
3199
3200         * CMakeLists.txt: Updating to add compilation of generic pcm encoder functions.
3201
3202 2017-01-20  Youenn Fablet  <youennf@gmail.com>
3203
3204         [WebRTC] Update libwertc AudioRtpSender::SetAudioSend
3205         https://bugs.webkit.org/show_bug.cgi?id=167243
3206
3207         Reviewed by Alex Christensen.
3208
3209         Introducing  WEBRTC_WEBKIT_BUILD macro to match existing WEBRTC_CHROMIUM_BUILD.
3210         WEBRTC_WEBKIT_BUILD is defined by current WebKit libwebrtc build system.
3211
3212         * Source/webrtc/api/rtpsender.cc:
3213
3214 2017-01-20  Youenn Fablet  <youennf@gmail.com>
3215
3216         [WebRTC] libwebrtc NO_RETURN is conflicting with WebKit one
3217         https://bugs.webkit.org/show_bug.cgi?id=167244
3218
3219         Reviewed by Alex Christensen.
3220
3221         * Source/webrtc/typedefs.h: Defining NO_RETURN only if not already defined.
3222
3223 2017-01-20  Youenn Fablet  <youenn@apple.com>
3224
3225         [WebRTC] libwebrtc headers are incompatible with WebKit compilation flags
3226         https://bugs.webkit.org/show_bug.cgi?id=167242
3227
3228         Reviewed by Alex Christensen.
3229
3230         WebKit is enforcing -Wunused-parameter and -Wunused-variable which conflict with some included libwertc headers.
3231         Removed unused parameter names for inlined functions.
3232
3233         * Source/webrtc/api/jsep.h:
3234         (webrtc::SessionDescriptionInterface::RemoveCandidates):
3235         * Source/webrtc/api/mediastreaminterface.h:
3236         (webrtc::AudioSourceInterface::SetVolume):
3237         (webrtc::AudioSourceInterface::RegisterAudioObserver):
3238         (webrtc::AudioSourceInterface::UnregisterAudioObserver):
3239         (webrtc::AudioSourceInterface::AddSink):
3240         (webrtc::AudioSourceInterface::RemoveSink):
3241         (webrtc::AudioTrackInterface::GetSignalLevel):
3242         * Source/webrtc/api/peerconnectionfactory.h:
3243         * Source/webrtc/api/peerconnectioninterface.h:
3244         (webrtc::MetricsObserverInterface::IncrementEnumCounter):
3245         (webrtc::PeerConnectionInterface::AddTrack):
3246         (webrtc::PeerConnectionInterface::RemoveTrack):
3247         (webrtc::PeerConnectionInterface::CreateSender):
3248         (webrtc::PeerConnectionInterface::GetStats):
3249         (webrtc::PeerConnectionInterface::CreateOffer):
3250         (webrtc::PeerConnectionInterface::CreateAnswer):
3251         (webrtc::PeerConnectionInterface::UpdateIce):
3252         (webrtc::PeerConnectionInterface::SetConfiguration):
3253         (webrtc::PeerConnectionInterface::RemoveIceCandidates):
3254         (webrtc::PeerConnectionInterface::StartRtcEventLog):
3255         (webrtc::PeerConnectionObserver::OnAddStream):
3256         (webrtc::PeerConnectionObserver::OnRemoveStream):
3257         (webrtc::PeerConnectionObserver::OnDataChannel):
3258         (webrtc::PeerConnectionObserver::OnIceCandidatesRemoved):
3259         (webrtc::PeerConnectionObserver::OnIceConnectionReceivingChange):
3260         * Source/webrtc/api/rtpsender.cc:
3261         * Source/webrtc/base/messagehandler.h:
3262         (rtc::FunctorMessageHandler::OnMessage):
3263         * Source/webrtc/base/sanitizer.h:
3264         (rtc_AsanPoison):
3265         (rtc_AsanUnpoison):
3266         (rtc_MsanMarkUninitialized):
3267         (rtc_MsanCheckInitialized):
3268         * Source/webrtc/base/stream.h:
3269         (rtc::StreamInterface::ConsumeReadData):
3270         (rtc::StreamInterface::ConsumeWriteBuffer):
3271         * Source/webrtc/media/base/mediachannel.h:
3272         (cricket::DataMediaChannel::GetStats):
3273         (cricket::DataMediaChannel::OnNetworkRouteChanged):
3274         * Source/webrtc/media/engine/webrtcvideodecoderfactory.h:
3275         (cricket::WebRtcVideoDecoderFactory::CreateVideoDecoderWithParams):
3276         * Source/webrtc/media/engine/webrtcvideoencoderfactory.h:
3277         (cricket::WebRtcVideoEncoderFactory::VideoCodec::VideoCodec):
3278         (cricket::WebRtcVideoEncoderFactory::EncoderTypeHasInternalSource):
3279         * Source/webrtc/media/engine/webrtcvideoengine2.cc:
3280         * Source/webrtc/modules/include/module.h:
3281         (webrtc::Module::ProcessThreadAttached):
3282         * Source/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc:
3283         * Source/webrtc/p2p/base/port.h:
3284         (cricket::Port::HandleIncomingPacket):
3285         (cricket::Port::HandleConnectionDestroyed):
3286         (cricket::Connection::set_receiving_timeout):
3287         * Source/webrtc/p2p/base/stun.h:
3288         (cricket::StunAttribute::SetOwner):
3289         * Source/webrtc/p2p/base/stunrequest.h:
3290         (cricket::StunRequest::Prepare):
3291         (cricket::StunRequest::OnResponse):
3292         (cricket::StunRequest::OnErrorResponse):
3293         * Source/webrtc/p2p/base/transport.h:
3294         (cricket::Transport::SetLocalCertificate):
3295         (cricket::Transport::GetLocalCertificate):
3296         (cricket::Transport::GetSslRole):
3297         (cricket::Transport::SetSslMaxProtocolVersion):
3298         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc:
3299         * Source/webrtc/typedefs.h:
3300
3301 2017-01-20  Youenn Fablet  <youennf@gmail.com>
3302
3303         [WebRTC] Update libwertc AudioRtpSender::SetAudioSend
3304         https://bugs.webkit.org/show_bug.cgi?id=167243
3305
3306         Reviewed by Alex Christensen.
3307
3308         Introducing  WEBRTC_WEBKIT_BUILD macro to match existing WEBRTC_CHROMIUM_BUILD.
3309         WEBRTC_WEBKIT_BUILD is defined by current WebKit libwebrtc build system.
3310
3311         * Source/webrtc/api/rtpsender.cc:
3312
3313 2017-01-20  Youenn Fablet  <youennf@gmail.com>
3314
3315         [WebRTC] libwebrtc H.264 codec is using VTB only for IOS
3316         https://bugs.webkit.org/show_bug.cgi?id=167245
3317
3318         Reviewed by Alex Christensen.
3319
3320         * Source/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc: Removing WEBRTC_IOS flag.
3321
3322 2017-01-19  Youenn Fablet  <youenn@apple.com>
3323
3324         [WebRTC] Upload libwebrtc code base
3325         https://bugs.webkit.org/show_bug.cgi?id=167205
3326
3327         Reviewed by Alex Christensen and Jon Lee.
3328
3329         Add initial libwebrtc source from branch 56. Here's how to get what we committed:
3330         git clone https://chromium.googlesource.com/external/webrtc.git && cd webrtc && git checkout 7bf536976366443ea59153ff3d22da0ec32badc1