webrtc/pc
Henrik Boström ee6f4f67ef [PeerConnection] Implement asynchronous version of AddIceCandidate().
This is the same as the existing version, except it uses the Operations
Chain. As such, if an asynchronous operation that uses the chain is
currently pending, such as CreateOffer() or CreateAnswer(),
AddIceCandidate() will not happen until the previous operation
completes.

Bug: chromium:1019222
Change-Id: Ie6e5fc386fa9c29b5e2f8e3f65bfbaf9837d351c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158741
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29704}
2019-11-06 12:16:00 +00:00
..
test [PeerConnection] Implement parameterless SetLocalDescription(). 2019-10-30 10:24:44 +00:00
audio_rtp_receiver.cc Refactor Rtp Receivers to accept SSRC 0. 2019-09-16 21:29:58 +00:00
audio_rtp_receiver.h Refactor Rtp Receivers to accept SSRC 0. 2019-09-16 21:29:58 +00:00
audio_track.cc Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
audio_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
BUILD.gn Reland "[PeerConnection] Use an OperationsChain in PeerConnection for async ops." 2019-10-28 12:35:50 +00:00
channel.cc Add/remove receive streams with SSRC 0 from media channels 2019-10-07 23:01:28 +00:00
channel.h Add/remove receive streams with SSRC 0 from media channels 2019-10-07 23:01:28 +00:00
channel_interface.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_manager.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
channel_manager.h Move MediaTransportInterface out of the libjingle_peerconnection_api target 2019-09-13 10:49:56 +00:00
channel_manager_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
channel_unittest.cc Remove RTCP tests from channel_unittest. 2019-10-10 18:33:07 +00:00
composite_data_channel_transport.cc Unset sinks when deleting CompositeDataChannelTransport. 2019-09-24 22:35:44 +00:00
composite_data_channel_transport.h Delete old placeholders for moved api/ header files 2019-10-01 12:23:19 +00:00
composite_rtp_transport.cc Format almost everything. 2019-07-08 13:45:15 +00:00
composite_rtp_transport.h Reland: Implement true negotiation for DatagramTransport with fallback to RTP. 2019-06-07 20:14:36 +00:00
composite_rtp_transport_test.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
data_channel.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
data_channel.h Make ID of datachannel stats not depend on dc.id 2019-07-31 13:19:08 +00:00
data_channel_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
datagram_rtp_transport.cc Make the RtpHeaderParserImpl available to tests and tools only. 2019-08-29 15:56:40 +00:00
datagram_rtp_transport.h Move MediaTransportInterface out of the libjingle_peerconnection_api target 2019-09-13 10:49:56 +00:00
DEPS Remove +api from internal DEPS files. 2019-01-28 11:17:00 +00:00
dtls_srtp_transport.cc Format almost everything. 2019-07-08 13:45:15 +00:00
dtls_srtp_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtls_srtp_transport_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
dtls_transport.cc Expose TLS version and SRTP cipher to API 2019-10-29 22:20:49 +00:00
dtls_transport.h Delete unneeded includes of async_invoker.h 2019-04-16 07:28:06 +00:00
dtls_transport_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
dtmf_sender.cc Format almost everything. 2019-07-08 13:45:15 +00:00
dtmf_sender.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtmf_sender_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
external_hmac.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
external_hmac.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
ice_server_parsing.cc Format almost everything. 2019-07-08 13:45:15 +00:00
ice_server_parsing.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
ice_server_parsing_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
ice_transport.cc Fix comment - ice transport is cleared on the networking thread. 2019-04-09 09:12:10 +00:00
ice_transport.h Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
ice_transport_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
jitter_buffer_delay.cc Remove SetLatency/GetLatency from MediaSourceInterface API level 2019-04-18 19:11:31 +00:00
jitter_buffer_delay.h Remove SetLatency/GetLatency from MediaSourceInterface API level 2019-04-18 19:11:31 +00:00
jitter_buffer_delay_interface.h Remove SetLatency/GetLatency from MediaSourceInterface API level 2019-04-18 19:11:31 +00:00
jitter_buffer_delay_proxy.h Remove SetLatency/GetLatency from MediaSourceInterface API level 2019-04-18 19:11:31 +00:00
jitter_buffer_delay_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
jsep_ice_candidate.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
jsep_session_description.cc Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
jsep_session_description_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
jsep_transport.cc Implement crypto stats on DTLS transport 2019-10-28 11:30:23 +00:00
jsep_transport.h Add an alt-protocol to SDP to indicate which m= sections use a plugin transport. 2019-09-30 23:10:34 +00:00
jsep_transport_controller.cc Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
jsep_transport_controller.h Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
jsep_transport_controller_unittest.cc Add an alt-protocol to SDP to indicate which m= sections use a plugin transport. 2019-09-30 23:10:34 +00:00
jsep_transport_unittest.cc Reland "Reland "Refactor SCTP data channels to use DataChannelTransportInterface."" 2019-09-24 17:10:52 +00:00
local_audio_source.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
local_audio_source.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
local_audio_source_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
media_protocol_names.cc Reland "Reland "Version 2 "Refactoring DataContentDescription class""" 2019-05-13 18:37:47 +00:00
media_protocol_names.h Reland "Reland "Version 2 "Refactoring DataContentDescription class""" 2019-05-13 18:37:47 +00:00
media_session.cc Update the header extensions capabilities with mid, rid and rrid 2019-10-15 14:45:58 +00:00
media_session.h Add an alt-protocol to SDP to indicate which m= sections use a plugin transport. 2019-09-30 23:10:34 +00:00
media_session_unittest.cc Update the header extensions capabilities with mid, rid and rrid 2019-10-15 14:45:58 +00:00
media_stream.cc Format almost everything. 2019-07-08 13:45:15 +00:00
media_stream.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
media_stream_observer.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
media_stream_observer.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
media_stream_track.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
media_stream_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
OWNERS Remove zhihuang@webrtc.org from OWNERS 2019-08-19 22:37:51 +00:00
peer_connection.cc [PeerConnection] Implement asynchronous version of AddIceCandidate(). 2019-11-06 12:16:00 +00:00
peer_connection.h [PeerConnection] Implement asynchronous version of AddIceCandidate(). 2019-11-06 12:16:00 +00:00
peer_connection_bundle_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_crypto_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_data_channel_unittest.cc Reland "Reland "Refactor SCTP data channels to use DataChannelTransportInterface."" 2019-09-24 17:10:52 +00:00
peer_connection_end_to_end_unittest.cc Delete AudioDecoder method IncomingPacket 2019-09-24 08:30:24 +00:00
peer_connection_factory.cc Enable injection of a custom NetEqFactory into PeerConnectionFactory. 2019-11-01 11:30:36 +00:00
peer_connection_factory.h Enable injection of a custom NetEqFactory into PeerConnectionFactory. 2019-11-01 11:30:36 +00:00
peer_connection_factory_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
peer_connection_histogram_unittest.cc Removes the flakiness in PeerConnectionUsageHistogramTest. 2019-10-31 00:18:16 +00:00
peer_connection_ice_unittest.cc [PeerConnection] Implement asynchronous version of AddIceCandidate(). 2019-11-06 12:16:00 +00:00
peer_connection_integrationtest.cc do not offer gcm as the preferred cipher suite 2019-10-31 20:59:42 +00:00
peer_connection_interface_unittest.cc Add a turn port prune policy to keep the first ready turn port. 2019-10-14 19:08:23 +00:00
peer_connection_internal.h Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +00:00
peer_connection_jsep_unittest.cc Add firing of OnRemoveTrack and OnRenegotationNeeded during rollback 2019-10-21 20:47:16 +00:00
peer_connection_media_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_rampup_tests.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_rtp_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_signaling_unittest.cc [PeerConnection] Implement parameterless SetLocalDescription(). 2019-10-30 10:24:44 +00:00
peer_connection_simulcast_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
peer_connection_wrapper.cc Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
peer_connection_wrapper.h Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
proxy_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
remote_audio_source.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
remote_audio_source.h Remove SetLatency/GetLatency from MediaSourceInterface API level 2019-04-18 19:11:31 +00:00
rtc_stats_collector.cc Implement crypto stats on DTLS transport 2019-10-28 11:30:23 +00:00
rtc_stats_collector.h Implement RTCRemoteInboundRtpStreamStats for both audio and video. 2019-05-27 12:45:22 +00:00
rtc_stats_collector_unittest.cc Implement crypto stats on DTLS transport 2019-10-28 11:30:23 +00:00
rtc_stats_integrationtest.cc Implement crypto stats on DTLS transport 2019-10-28 11:30:23 +00:00
rtc_stats_traversal.cc Implement RTCRemoteInboundRtpStreamStats for both audio and video. 2019-05-27 12:45:22 +00:00
rtc_stats_traversal.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
rtc_stats_traversal_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
rtcp_mux_filter.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtcp_mux_filter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtcp_mux_filter_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_media_utils.cc Reland "Make negotiationneeded processing in PeerConnection spec compliant." 2019-04-16 12:04:33 +00:00
rtp_media_utils.h Reland "Make negotiationneeded processing in PeerConnection spec compliant." 2019-04-16 12:04:33 +00:00
rtp_media_utils_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_parameters_conversion.cc Negotiate use of RTCP loss notification feedback (LNTF) 2019-05-24 12:44:14 +00:00
rtp_parameters_conversion.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_parameters_conversion_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_receiver.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_receiver.h Refactor Rtp Receivers to accept SSRC 0. 2019-09-16 21:29:58 +00:00
rtp_sender.cc Guard GenerateUniqueId() against concurrent access. 2019-07-26 17:52:49 +00:00
rtp_sender.h Add RtpSenderInterface.SetStreams 2019-05-20 18:38:06 +00:00
rtp_sender_receiver_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
rtp_transceiver.cc Implement RTCRtpTransceiver.setCodecPreferences 2019-05-01 20:14:59 +00:00
rtp_transceiver.h Implement RTCRtpTransceiver.setCodecPreferences 2019-05-01 20:14:59 +00:00
rtp_transceiver_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_transport.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_transport.h Remove rtp_ and rtcp_packet_transport() from the RtpTransport interface. 2019-05-24 23:58:46 +00:00
rtp_transport_internal.h Remove rtp_ and rtcp_packet_transport() from the RtpTransport interface. 2019-05-24 23:58:46 +00:00
rtp_transport_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sctp_data_channel_transport.cc Reland "Reland "Refactor SCTP data channels to use DataChannelTransportInterface."" 2019-09-24 17:10:52 +00:00
sctp_data_channel_transport.h Delete old placeholders for moved api/ header files 2019-10-01 12:23:19 +00:00
sctp_transport.cc Implement max-channels for SCTP datachannels. 2019-05-21 10:24:41 +00:00
sctp_transport.h Implement max-channels for SCTP datachannels. 2019-05-21 10:24:41 +00:00
sctp_transport_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
sctp_utils.cc Reland "Reland "Refactor SCTP data channels to use DataChannelTransportInterface."" 2019-09-24 17:10:52 +00:00
sctp_utils.h Delete old placeholders for moved api/ header files 2019-10-01 12:23:19 +00:00
sctp_utils_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
sdp_serializer.cc Reland "Adding a restriction for legal RID values." 2019-04-09 21:19:31 +00:00
sdp_serializer.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sdp_serializer_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sdp_utils.cc Reland "Implement rollback for setRemoteDescription" 2019-10-14 12:40:53 +00:00
sdp_utils.h Add 3 missing RTC_EXPORT. 2019-11-05 09:40:03 +00:00
session_description.cc Format almost everything. 2019-07-08 13:45:15 +00:00
session_description.h Add missing RTC_EXPORT for the component build. 2019-10-15 09:07:44 +00:00
session_description_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
simulcast_description.cc Format almost everything. 2019-07-08 13:45:15 +00:00
simulcast_description.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_filter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
srtp_filter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
srtp_session.cc Clarify expectation on GlobalLock 2019-10-11 13:11:11 +00:00
srtp_session.h Clarify expectation on GlobalLock 2019-10-11 13:11:11 +00:00
srtp_session_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
srtp_transport.cc Format almost everything. 2019-07-08 13:45:15 +00:00
srtp_transport.h Format almost everything. 2019-07-08 13:45:15 +00:00
srtp_transport_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
stats_collector.cc Reland "Fix GetStats bytesSent/Received, wireup headerBytesSent/Received" 2019-10-15 10:43:59 +00:00
stats_collector.h Reland "Fix GetStats bytesSent/Received, wireup headerBytesSent/Received" 2019-10-15 10:43:59 +00:00
stats_collector_unittest.cc Reland "Fix GetStats bytesSent/Received, wireup headerBytesSent/Received" 2019-10-15 10:43:59 +00:00
stream_collection.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
track_media_info_map.cc [clang-tidy] Apply performance-for-range-copy fixes. 2019-01-28 09:53:50 +00:00
track_media_info_map.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
track_media_info_map_unittest.cc Split out RtpSource from libjingle_peerconnection_api 2019-09-02 14:04:47 +00:00
transport_stats.cc [clang-tidy] Apply performance-move-const-arg fixes (misc). 2019-02-05 15:12:20 +00:00
transport_stats.h Implement crypto stats on DTLS transport 2019-10-28 11:30:23 +00:00
used_ids.h Add support for two-byte RTP header extensions to UsedRtpHeaderExtensionIds 2019-06-24 08:50:07 +00:00
used_ids_unittest.cc Always pass arguments to INSTANTIATE_TEST_SUITE_P. 2019-09-24 08:56:24 +00:00
video_rtp_receiver.cc Refactor Rtp Receivers to accept SSRC 0. 2019-09-16 21:29:58 +00:00
video_rtp_receiver.h Refactor Rtp Receivers to accept SSRC 0. 2019-09-16 21:29:58 +00:00
video_track.cc Format almost everything. 2019-07-08 13:45:15 +00:00
video_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
video_track_source.cc Format almost everything. 2019-07-08 13:45:15 +00:00
video_track_source.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_track_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
webrtc_sdp.cc Add an alt-protocol to SDP to indicate which m= sections use a plugin transport. 2019-09-30 23:10:34 +00:00
webrtc_sdp.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
webrtc_sdp_unittest.cc Add an alt-protocol to SDP to indicate which m= sections use a plugin transport. 2019-09-30 23:10:34 +00:00
webrtc_session_description_factory.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
webrtc_session_description_factory.h Format almost everything. 2019-07-08 13:45:15 +00:00