Tomas Gunnarsson
f554b3c577
Remove thread hops from events provided by JsepTransportController.
...
Events associated with Subscribe* methods in JTC had trampolines that
would use an async invoker to fire the events on the signaling thread.
This was being done for the purposes of PeerConnection but the concept
of a signaling thread is otherwise not applicable to JTC and use of
JTC from PC is inconsistent across threads (as has been flagged in
webrtc:9987).
This change makes all CallbackList members only accessible from the
network thread and moves the signaling thread related work over to
PeerConnection, which makes hops there more visible as well as making
that class easier to refactor for thread efficiency.
This CL removes the AsyncInvoker from JTC (webrtc:12339)
The signaling_thread_ variable is also removed from JTC and more thread
checks added to catch errors.
Bug: webrtc:12427, webrtc:11988, webrtc:12339
Change-Id: Id232aedd00dfd5403b2ba0ca147d3eca7c12c7c5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/206062
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33195}
2021-02-08 17:52:01 +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
2021-02-08 17:52:01 +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 17:52:01 +00:00
2021-02-08 17:52:01 +00:00
2021-02-08 17:52:01 +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 17:52:01 +00:00
2021-02-08 17:52:01 +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 17:52:01 +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