Tomas Gunnarsson
6cd4058504
Fix unsynchronized access to mid_to_transport_ in JsepTransportController
...
* Added several thread checks to JTC to help with programmer errors.
* Avoid a few Invokes() to the network thread here and there such
as for fetching sctp transport name for getStats(). The transport
name is now cached when it changes on the network thread.
* JsepTransportController instances now get deleted on the network
thread rather than on the signaling thread + issuing an Invoke()
in the dtor.
* Moved some thread hops from JTC over to PC which is where the problem
exists and also (imho) makes it easier to see where hops happen in
the PC code.
* The sctp transport is now started asynchronously when we push down the
media description.
* PeerConnection proxy calls GetSctpTransport directly on the network
thread instead of to the signaling thread + blocking on the network
thread.
* The above changes simplified things for webrtc::SctpTransport which
allowed for removing locking from that class and delete some code.
Bug: webrtc:9987, webrtc:12445
Change-Id: Ic89a9426e314e1b93c81751d4f732f05fa448fbc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/205620
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33191}
2021-02-08 14:45:25 +00:00
..
2020-11-24 09:19:54 +00:00
2021-02-02 14:56:27 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-09-10 13:11:44 +00:00
2021-02-02 14:56:27 +00:00
2021-02-04 13:16:26 +00:00
2021-01-29 21:56:38 +00:00
2020-06-17 08:41:14 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-02-03 17:44:47 +00:00
2021-02-04 13:40:46 +00:00
2021-02-04 13:40:46 +00:00
2021-01-20 10:51:07 +00:00
2020-11-04 11:10:53 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-11 11:31:33 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-01-28 11:17:00 +00:00
2020-03-21 18:53:46 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 16:14:10 +00:00
2020-03-21 18:53:46 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-01-22 20:46:52 +00:00
2020-01-22 20:46:52 +00:00
2021-01-29 16:14:10 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2020-11-27 11:08:10 +00:00
2021-01-29 16:14:10 +00:00
2019-04-02 10:13:36 +00:00
2019-09-17 15:47:29 +00:00
2021-01-29 16:14:10 +00:00
2021-02-02 14:56:27 +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
2021-01-29 16:14:10 +00:00
2019-04-18 19:11:31 +00:00
2021-01-05 12:55:24 +00:00
2021-01-05 12:55:24 +00:00
2021-01-05 12:55:24 +00:00
2021-02-08 14:45:25 +00:00
2021-02-08 14:45:25 +00:00
2021-02-08 14:45:25 +00:00
2021-02-05 10:08:46 +00:00
2021-02-06 00:26:00 +00:00
2021-02-06 00:26:00 +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
2021-01-29 16:14:10 +00:00
2019-05-13 18:37:47 +00:00
2021-01-19 14:28:11 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-01-29 02:33:50 +00:00
2019-01-25 20:29:58 +00:00
2020-05-18 17:06:25 +00:00
2019-07-08 13:45:15 +00:00
2020-09-10 13:11:44 +00:00
2020-02-25 14:45:04 +00:00
2020-06-11 14:17:01 +00:00
2021-01-20 10:51:07 +00:00
2020-05-12 14:43:43 +00:00
2020-09-01 12:17:00 +00:00
2021-01-20 10:51:07 +00:00
2019-07-08 13:45:15 +00:00
2021-02-08 14:45:25 +00:00
2021-01-29 16:14:10 +00:00
2020-12-17 23:43:42 +00:00
2021-01-20 10:51:07 +00:00
2020-08-25 09:56:39 +00:00
2021-02-08 14:45:25 +00:00
2021-01-26 09:52:14 +00:00
2020-08-05 22:34:46 +00:00
2020-09-24 08:03:50 +00:00
2020-08-11 10:46:23 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-09-11 14:11:27 +00:00
2021-01-20 10:51:07 +00:00
2020-10-21 08:20:05 +00:00
2020-08-11 10:46:23 +00:00
2020-07-29 11:27:43 +00:00
2019-10-14 12:40:53 +00:00
2021-02-08 14:45:25 +00:00
2021-02-08 14:45:25 +00:00
2020-05-18 17:06:25 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-11-17 12:34:39 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-20 10:51:07 +00:00
2019-04-09 17:18:20 +00:00
2020-11-17 12:34:39 +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
2020-07-10 00:03:21 +00:00
2021-01-29 16:14:10 +00:00
2019-07-08 13:45:15 +00:00
2020-08-11 10:46:23 +00:00
2021-01-29 16:14:10 +00:00
2020-01-09 09:28:07 +00:00
2021-01-29 16:14:10 +00:00
2020-01-09 09:28:07 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-06-17 08:41:14 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-14 17:46:25 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-11-10 14:41:45 +00:00
2021-01-29 16:14:10 +00:00
2019-05-24 23:58:46 +00:00
2020-03-20 16:55:38 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-09-21 08:12:50 +00:00
2021-01-29 16:14:10 +00:00
2019-11-16 14:56:01 +00:00
2021-02-08 14:45:25 +00:00
2021-02-08 14:45:25 +00:00
2021-01-11 11:31:33 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-02-08 14:45:25 +00:00
2021-01-29 21:56:38 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-10-26 10:22:46 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-19 14:28:11 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 16:14:10 +00:00
2021-02-02 14:56:27 +00:00
2020-07-16 13:52:28 +00:00
2021-02-06 09:47:02 +00:00
2021-02-02 14:56:27 +00:00
2019-09-17 15:47:29 +00:00
2021-01-29 16:14:10 +00:00
2019-07-08 13:45:15 +00:00
2020-10-05 12:41:23 +00:00
2020-10-12 07:28:01 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-01-11 17:11:39 +00:00
2020-05-17 17:15:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-02-05 15:12:20 +00:00
2019-10-28 11:30:23 +00:00
2020-10-09 08:29:45 +00:00
2021-01-29 16:14:10 +00:00
2019-09-24 08:56:24 +00:00
2019-06-24 08:50:07 +00:00
2020-05-18 17:06:25 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2020-05-18 17:06:25 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2019-07-08 13:45:15 +00:00
2021-02-02 14:56:27 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 16:14:10 +00:00
2021-02-02 14:56:27 +00:00
2021-01-29 10:54:00 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-02-04 10:59:16 +00:00
2021-01-29 16:14:10 +00:00