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