webrtc/pc
Harald Alvestrand 1f928d3316 Close data channels when ID assignment fails.
This prevents crashes due to unassigned IDs.

Bug: chromium:945256
Change-Id: I63f3a17cc7dff07dab58a6bc59fe3606b23e8e18
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129902
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27349}
2019-03-28 17:34:07 +00:00
..
test Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +00:00
audio_rtp_receiver.cc Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
audio_rtp_receiver.h Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
audio_track.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
audio_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
BUILD.gn Use TaskQueueForTest instead or TaskQueue in unittests 2019-03-26 14:42:49 +00:00
channel.cc Minor fixes and refactoring for RtpTransport until the Demux. 2019-03-19 16:48:47 +00:00
channel.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_interface.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_manager.cc "Remove" loophole in rtc::Thread::ScopedDisallowBlockingCalls 2019-02-21 13:20:53 +00:00
channel_manager.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_manager_unittest.cc Remove deprecated CreateMediaTransport method 2019-02-26 18:32:22 +00:00
channel_unittest.cc [clang-tidy] Apply performance-move-const-arg fixes. 2019-02-01 15:02:36 +00:00
data_channel.cc Revert "Don't crash when a datachannel can't get an ID" 2019-03-27 07:23:41 +00:00
data_channel.h Close data channels when ID assignment fails. 2019-03-28 17:34:07 +00:00
data_channel_unittest.cc Revert "Don't crash when a datachannel can't get an ID" 2019-03-27 07:23:41 +00:00
DEPS Remove +api from internal DEPS files. 2019-01-28 11:17:00 +00:00
dtls_srtp_transport.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
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 (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_transport.cc DtlsTransport::ice_transport is const and can be called off thread 2019-02-21 16:38:37 +00:00
dtls_transport.h DtlsTransport::ice_transport is const and can be called off thread 2019-02-21 16:38:37 +00:00
dtls_transport_unittest.cc Added underscore to dtls_transport_unittest.cc. 2019-02-27 18:55:15 +00:00
dtmf_sender.cc Remove comments about using std::shared_ptr. 2019-01-15 13:15:58 +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 (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.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 Update parsing of stun and turn urls for RFC 7064-7065 2019-03-19 08:13:13 +00:00
ice_server_parsing.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_unittest.cc Update parsing of stun and turn urls for RFC 7064-7065 2019-03-19 08:13:13 +00:00
ice_transport.cc Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
ice_transport.h Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
ice_transport_unittest.cc Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
jsep_ice_candidate.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
jsep_session_description.cc Use c=IN IP4 <hostname> to support the presence of hostname candidates. 2019-02-08 22:51:37 +00:00
jsep_session_description_unittest.cc Use c=IN IP4 <hostname> to support the presence of hostname candidates. 2019-02-08 22:51:37 +00:00
jsep_transport.cc Modifying MediaChannel to accept CopyOnWriteBuffer by value. 2019-03-12 23:49:57 +00:00
jsep_transport.h Add DTLSTransport info into sender/receiver state. 2019-01-17 10:21:32 +00:00
jsep_transport_controller.cc Delete always-true member is_media_transport_factory_enabled_ 2019-03-11 08:04:09 +00:00
jsep_transport_controller.h Delete always-true member is_media_transport_factory_enabled_ 2019-03-11 08:04:09 +00:00
jsep_transport_controller_unittest.cc Add x-mt line to the offer. 2019-03-01 20:32:16 +00:00
jsep_transport_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +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_session.cc Update URI of TransportSequenceNumberV2 2019-03-11 10:15:52 +00:00
media_session.h Add x-mt line to the offer. 2019-03-01 20:32:16 +00:00
media_session_unittest.cc Update URI of TransportSequenceNumberV2 2019-03-11 10:15:52 +00:00
media_stream.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_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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
OWNERS Update per-file OWNERS to reflect renamed file names 2019-03-22 16:47:56 +00:00
peer_connection.cc Close data channels when ID assignment fails. 2019-03-28 17:34:07 +00:00
peer_connection.h Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +00:00
peer_connection_bundle_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_crypto_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_data_channel_unittest.cc Add x-mt line to the offer. 2019-03-01 20:32:16 +00:00
peer_connection_end_to_end_unittest.cc Close data channels when ID assignment fails. 2019-03-28 17:34:07 +00:00
peer_connection_factory.cc Make PeerConnectionFactory constructor taking dependency the only constructor 2019-03-19 19:37:15 +00:00
peer_connection_factory.h Make PeerConnectionFactory constructor taking dependency the only constructor 2019-03-19 19:37:15 +00:00
peer_connection_factory_unittest.cc Update parsing of stun and turn urls for RFC 7064-7065 2019-03-19 08:13:13 +00:00
peer_connection_histogram_unittest.cc Make PeerConnectionFactory constructor taking dependency the only constructor 2019-03-19 19:37:15 +00:00
peer_connection_ice_unittest.cc Use metrics::Samples in a couple pc/ tests 2019-03-05 22:49:48 +00:00
peer_connection_integrationtest.cc Add missing using declarations for names in testing namespace. 2019-03-28 13:20:00 +00:00
peer_connection_interface_unittest.cc Make PeerConnectionFactory constructor taking dependency the only constructor 2019-03-19 19:37:15 +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 Make PeerConnectionFactory constructor taking dependency the only constructor 2019-03-19 19:37:15 +00:00
peer_connection_media_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_rampup_tests.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
peer_connection_rtp_unittest.cc Add metrics::Samples to facilitate easier testing 2019-03-05 17:51:14 +00:00
peer_connection_signaling_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_simulcast_unittest.cc Adding metrics to measure usage of simulcast API. 2019-03-05 22:01:34 +00:00
peer_connection_wrapper.cc Move rtc::FunctionView to the public API 2019-03-21 15:23:05 +00:00
peer_connection_wrapper.h Move rtc::FunctionView to the public API 2019-03-21 15:23:05 +00:00
playout_latency.cc Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
playout_latency.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
playout_latency_interface.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
playout_latency_proxy.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
playout_latency_unittest.cc Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
proxy_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
remote_audio_source.cc Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
remote_audio_source.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
rtc_stats_collector.cc Expose relative packet arrival delay metric in stats API. 2019-03-06 16:35:16 +00:00
rtc_stats_collector.h Reland "Fix getStats() freeze bug affecting Chromium but not WebRTC standalone." 2019-02-28 12:38:30 +00:00
rtc_stats_collector_unittest.cc Expose relative packet arrival delay metric in stats API. 2019-03-06 16:35:16 +00:00
rtc_stats_integrationtest.cc Expose relative packet arrival delay metric in stats API. 2019-03-06 16:35:16 +00:00
rtc_stats_traversal.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
rtc_stats_traversal.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
rtc_stats_traversal_unittest.cc [clang-tidy] Apply performance-inefficient-vector-operation fixes. 2019-01-29 09:45:21 +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 (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.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_media_utils_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
rtp_parameters_conversion.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_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 Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
rtp_receiver.cc Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
rtp_receiver.h Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
rtp_sender.cc RtpSender's RtpParameters were invalidated in a call to SLD/SRD. 2019-02-27 01:46:50 +00:00
rtp_sender.h RtpSender's RtpParameters were invalidated in a call to SLD/SRD. 2019-02-27 01:46:50 +00:00
rtp_sender_receiver_unittest.cc Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
rtp_transceiver.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
rtp_transceiver.h webrtc: Remove semicolons. 2019-02-20 16:02: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 Delete last traces of RtpTransportAdapter 2019-03-25 08:52:45 +00:00
rtp_transport.h Delete last traces of RtpTransportAdapter 2019-03-25 08:52:45 +00:00
rtp_transport_internal.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_transport_unittest.cc Removes rtp level keep alive support. 2019-03-11 14:47:15 +00:00
sctp_transport.cc Add SCTP transport to the public API. 2019-02-28 10:15:05 +00:00
sctp_transport.h Add SCTP transport to the public API. 2019-02-28 10:15:05 +00:00
sctp_transport_unittest.cc Add SCTP transport to the public API. 2019-02-28 10:15:05 +00:00
sctp_utils.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
sctp_utils.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
sctp_utils_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
sdp_serializer.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +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 Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
sdp_utils.cc Replace deprecated std::not2 with a lambda 2019-03-20 06:10:31 +00:00
sdp_utils.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
session_description.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
session_description.h Add a parser for the x-mt line. 2019-02-27 21:00:58 +00:00
session_description_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
simulcast_description.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
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 (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.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 (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_session.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
srtp_session.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
srtp_session_unittest.cc Use metrics::Samples in a couple pc/ tests 2019-03-05 22:49:48 +00:00
srtp_transport.cc Minor fixes and refactoring for RtpTransport until the Demux. 2019-03-19 16:48:47 +00:00
srtp_transport.h Minor fixes and refactoring for RtpTransport until the Demux. 2019-03-19 16:48:47 +00:00
srtp_transport_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
stats_collector.cc Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +00:00
stats_collector.h Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +00:00
stats_collector_unittest.cc Use RtpSender/RtpReceiver track ID for legacy GetStats 2019-03-27 18:14:00 +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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +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 [clang-tidy] Apply performance-move-const-arg fixes (misc). 2019-02-05 15:12:20 +00:00
video_rtp_receiver.cc Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
video_rtp_receiver.h Propagate base minimum delay from video jitter buffer to webrtc/api. 2019-02-27 15:08:34 +00:00
video_track.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
video_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
video_track_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
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 Refactor VideoTrackTest to not depend on cricket::VideoCapturer 2019-01-21 07:33:35 +00:00
webrtc_sdp.cc Add x-mt line to the offer. 2019-03-01 20:32:16 +00:00
webrtc_sdp.h Make webrtc::ParseCandidate() public. 2019-01-25 13:58:57 +00:00
webrtc_sdp_unittest.cc Add x-mt line to the offer. 2019-03-01 20:32:16 +00:00
webrtc_session_description_factory.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
webrtc_session_description_factory.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00