webrtc/api/transport
Bjorn A Mellem 0cda7b832a Allow non-identical datagram transport parameters.
Currently, datagram transports must report identical transport
parameters in order to negotiate use of the datagram transport.  This is
not strictly necessary, they just need parameters that fit some notion
of "compatability" (eg. both ends share some mutually-supported version
of the datagram protocol).

This change allows datagram transports to implement their own notion of
compatible transport parameters, by adding a
SetRemoteTransportParameters method to DatagramTransportInterface which
checks if the remote parameters are compatible with the local endpoint
and returns an error if they are not.

Bug: webrtc:9719
Change-Id: I166c787b468b89d9082d7e3c9995a6ed50a1650a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167741
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30412}
2020-01-29 18:14:24 +00:00
..
media Reformat GN files. 2020-01-21 12:13:11 +00:00
rtp Publish DependencyDescriptor structures in the api 2020-01-20 15:05:48 +00:00
test Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
bitrate_settings.cc New api struct BitrateSettings. 2018-05-07 15:01:28 +00:00
bitrate_settings.h Remove webrtc::MinPositive from api/. 2019-09-18 12:52:09 +00:00
BUILD.gn Reformat GN files. 2020-01-21 12:13:11 +00:00
congestion_control_interface.h Move MediaTransportInterface out of the libjingle_peerconnection_api target 2019-09-13 10:49:56 +00:00
data_channel_transport_interface.h Stop an SCTP connection when the DTLS transport closes. 2019-12-16 14:54:56 +00:00
datagram_transport_interface.h Allow non-identical datagram transport parameters. 2020-01-29 18:14:24 +00:00
DEPS Move stun.h to api/. 2019-11-18 16:11:27 +00:00
enums.h Add a turn port prune policy to keep the first ready turn port. 2019-10-14 19:08:23 +00:00
field_trial_based_config.cc Format almost everything. 2019-07-08 13:45:15 +00:00
field_trial_based_config.h Format almost everything. 2019-07-08 13:45:15 +00:00
goog_cc_factory.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
goog_cc_factory.h Removing deprecated min_pacing_rate alias in StreamsConfig. 2019-09-17 11:20:34 +00:00
network_control.h Clarify NetworkControl interface: result of each function must be used 2019-10-21 12:35:07 +00:00
network_types.cc Cleanup of simple TODO(srte) comments. 2019-10-04 07:57:16 +00:00
network_types.h Using unit types in TransportFeedbackAdapter. 2019-11-06 12:25:00 +00:00
OWNERS Adds OWNERS to api/transport. 2018-11-15 02:04:42 +00:00
stun_unittest.cc [Cleanup/Optim] Pass IPAddress by const reference. 2020-01-03 18:42:32 +00:00
stun.cc STUN PING request 2019-12-11 14:23:30 +00:00
stun.h GOOG_PING: improve handshake 2020-01-15 16:09:38 +00:00
webrtc_key_value_config.h Adds injectable trials from peerconnection down to transport controller. 2019-11-21 12:41:45 +00:00