Bjorn A Mellem
4c85828ab2
Refactor SCTP data channels to use DataChannelTransportInterface.
...
This change moves SctpTransport to be owned by JsepTransport, which now
holds a DataChannelTransport implementation for SCTP when it is used for
data channels.
This simplifies negotiation and fallback to SCTP. Negotiation can now
use a composite DataChannelTransport, just as negotiation for RTP uses a
composite RTP transport.
PeerConnection also has one fewer way it needs to manage data channels.
It now handles SCTP and datagram- or media-transport-based data channels
the same way.
There are a few leaky abstractions left. For example, PeerConnection
calls Start() on the SctpTransport at a particular point in negotiation,
but does not need to call this for other transports. Similarly, PC
exposes an interface to the SCTP transport directly to the user; there
is no equivalent for other transports.
Bug: webrtc:9719
Change-Id: I0d3151c48c1a511368277981fc4cf818a9f8ebb4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150341
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Benjamin Wright <benwright@webrtc.org>
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29012}
2019-08-29 17:30:27 +00:00
..
2019-08-20 06:52:05 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-08-29 17:30:27 +00:00
2019-01-28 18:56:02 +00:00
2019-07-08 13:45:15 +00:00
2019-06-11 13:43:36 +00:00
2019-06-11 13:43:36 +00:00
2019-08-02 09:26:36 +00:00
2019-08-02 09:26:36 +00:00
2019-05-24 23:58:46 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-06-07 20:14:36 +00:00
2019-07-08 13:45:15 +00:00
2019-06-07 20:14:36 +00:00
2019-07-08 13:45:15 +00:00
2019-08-21 18:47:58 +00:00
2019-07-31 13:19:08 +00:00
2019-08-29 15:56:40 +00:00
2019-08-21 00:42:37 +00:00
2019-01-28 11:17:00 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-04-12 08:29:59 +00:00
2019-04-12 08:29:59 +00:00
2019-04-16 07:28:06 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-04-02 10:13:36 +00:00
2019-07-01 21:37:54 +00:00
2019-04-09 09:12:10 +00:00
2019-01-30 16:16:51 +00:00
2019-04-18 19:11:31 +00:00
2019-04-18 19:11:31 +00:00
2019-07-08 13:45:15 +00:00
2019-04-18 19:11:31 +00:00
2019-04-18 19:11:31 +00:00
2019-01-11 17:11:39 +00:00
2019-07-12 05:38:20 +00:00
2019-07-12 05:38:20 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-05-13 18:37:47 +00:00
2019-05-13 18:37:47 +00:00
2019-07-08 13:45:15 +00:00
2019-08-21 18:47:58 +00:00
2019-06-24 08:50:07 +00:00
2019-01-29 02:33:50 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-08-19 22:37:51 +00:00
2019-06-03 20:07:37 +00:00
2019-07-08 13:45:15 +00:00
2019-07-03 14:02:45 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-08-13 15:07:00 +00:00
2019-06-27 07:33:59 +00:00
2019-08-20 06:52:05 +00:00
2019-08-20 06:52:05 +00:00
2019-08-21 18:47:58 +00:00
2019-08-20 06:52:05 +00:00
2019-03-27 18:14:00 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-05-29 10:14:22 +00:00
2019-07-08 13:45:15 +00:00
2019-01-31 13:23:33 +00:00
2019-07-04 15:54:36 +00:00
2019-07-08 13:45:15 +00:00
2019-03-21 15:23:05 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-04-18 19:11:31 +00:00
2019-08-28 13:22:08 +00:00
2019-08-28 13:22:08 +00:00
2019-05-27 12:45:22 +00:00
2019-08-28 13:22:08 +00:00
2019-04-09 17:18:20 +00:00
2019-05-27 12:45:22 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-04-16 12:04:33 +00:00
2019-04-16 12:04:33 +00:00
2019-07-08 13:45:15 +00:00
2019-05-24 12:44:14 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-07 10:58:17 +00:00
2019-07-26 17:52:49 +00:00
2019-05-20 18:38:06 +00:00
2019-01-11 17:11:39 +00:00
2019-05-01 20:14:59 +00:00
2019-05-01 20:14:59 +00:00
2019-05-24 23:58:46 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-05-24 23:58:46 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-05-21 10:24:41 +00:00
2019-05-21 10:24:41 +00:00
2019-05-21 10:24:41 +00:00
2019-04-09 17:18:20 +00:00
2019-08-29 17:30:27 +00:00
2019-08-29 17:30:27 +00:00
2019-07-08 13:45:15 +00:00
2019-04-09 21:19:31 +00:00
2019-01-11 17:11:39 +00:00
2019-04-12 05:42:46 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-24 15:29:24 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-28 13:22:08 +00:00
2019-08-28 13:22:08 +00:00
2019-08-16 11:49:55 +00:00
2019-01-11 17:11:39 +00:00
2019-04-09 17:18:20 +00:00
2019-01-28 09:53:50 +00:00
2019-01-11 17:11:39 +00:00
2019-02-05 15:12:20 +00:00
2019-08-28 13:22:08 +00:00
2019-07-08 13:45:15 +00:00
2019-06-24 08:50:07 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-07-24 15:29:24 +00:00
2019-08-28 18:26:56 +00:00
2019-04-02 10:13:36 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00