Tomas Gunnarsson
8408c9938c
Remove 'secondary sink' concept from webrtc::VideoReceiveStream.
...
In practice, support for multiple sinks is not needed and supporting
the API that allows for dynamically adding/removing sinks at runtime,
adds to the complexity of the implementation.
This CL removes that Add/Remove methods for secondary sinks as well
as vectors of callback pointers (which were either of size 0 or 1).
Instead, an optional callback pointer is added to the config struct
for VideoReceiveStream, that an implementation can consider to be
const and there's not a need to do thread synchronization for that
pointer for every network packet.
As part of webrtc:11993, this simplifies the work towards keeping
the processing of network packets on the network thread. The secondary
sinks, currently operate on the worker thread.
Bug: webrtc:11993
Change-Id: I10c473e57d3809527a1b689f4352e903a4c78168
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/207421
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33272}
2021-02-15 18:08:17 +00:00
..
2021-02-10 15:04:55 +00:00
2021-01-12 17:47:32 +00:00
2020-10-07 18:01:13 +00:00
2021-01-19 16:59:11 +00:00
2021-01-19 16:59:11 +00:00
2021-01-19 16:59:11 +00:00
2020-02-17 14:52:03 +00:00
2020-09-28 13:51:51 +00:00
2019-09-24 08:22:38 +00:00
2021-02-10 15:04:55 +00:00
2021-02-11 12:00:05 +00:00
2021-02-11 12:00:05 +00:00
2021-02-11 12:00:05 +00:00
2020-05-14 18:12:40 +00:00
2020-07-08 12:21:08 +00:00
2021-02-10 15:04:55 +00:00
2019-01-11 17:11:39 +00:00
2019-04-09 08:18:20 +00:00
2020-09-23 12:51:30 +00:00
2020-03-25 11:20:47 +00:00
2019-04-15 15:11:39 +00:00
2020-02-18 16:09:50 +00:00
2019-04-01 13:10:49 +00:00
2019-04-01 13:10:49 +00:00
2019-11-26 19:19:36 +00:00
2020-07-08 12:21:08 +00:00
2020-07-08 12:21:08 +00:00
2021-01-14 13:33:22 +00:00
2019-08-21 09:49:02 +00:00
2020-09-23 12:51:30 +00:00
2020-09-22 09:58:27 +00:00
2020-07-27 09:42:25 +00:00
2020-10-30 10:13:11 +00:00
2020-09-28 17:53:00 +00:00
2020-02-19 14:05:46 +00:00
2020-09-28 17:53:00 +00:00
2020-07-08 12:21:08 +00:00
2019-09-30 12:52:07 +00:00
2019-05-28 16:23:55 +00:00
2019-09-09 15:22:57 +00:00
2021-02-15 15:10:49 +00:00
2018-11-28 18:25:07 +00:00
2020-05-10 20:43:40 +00:00
2020-06-04 08:11:21 +00:00
2021-02-10 15:04:55 +00:00
2020-04-07 19:50:20 +00:00
2020-07-08 12:21:08 +00:00
2021-02-10 15:04:55 +00:00
2019-08-02 08:58:36 +00:00
2019-08-01 14:09:23 +00:00
2019-08-01 14:09:23 +00:00
2020-09-15 15:54:54 +00:00
2021-02-10 15:04:55 +00:00
2020-09-15 15:54:54 +00:00
2021-02-10 15:04:55 +00:00
2021-02-15 18:08:17 +00:00
2021-02-15 18:08:17 +00:00
2021-02-15 18:08:17 +00:00
2020-05-22 17:07:16 +00:00
2020-05-22 17:07:16 +00:00
2021-02-10 15:04:55 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 14:42:02 +00:00
2021-02-10 15:04:55 +00:00
2020-07-08 13:53:57 +00:00
2019-12-09 13:55:50 +00:00
2020-07-08 12:21:08 +00:00
2020-07-08 12:21:08 +00:00
2020-11-11 14:00:52 +00:00
2020-11-11 14:00:52 +00:00
2020-07-08 12:21:08 +00:00
2018-09-24 09:39:19 +00:00
2019-01-11 17:11:39 +00:00
2020-09-15 15:54:54 +00:00
2020-09-09 15:44:47 +00:00
2020-09-09 15:44:47 +00:00
2020-07-08 13:53:57 +00:00
2019-07-08 13:45:15 +00:00
2020-09-14 09:51:21 +00:00
2020-09-18 17:42:53 +00:00
2019-03-06 14:37:33 +00:00
2019-03-06 14:37:33 +00:00
2020-07-08 13:53:57 +00:00
2019-03-06 14:37:33 +00:00
2020-05-10 11:47:52 +00:00
2020-05-10 11:47:52 +00:00
2020-04-07 19:50:20 +00:00
2019-08-02 12:38:34 +00:00
2020-10-29 20:39:10 +00:00
2020-10-29 20:39:10 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 18:08:17 +00:00
2021-02-15 18:08:17 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 18:08:17 +00:00
2020-10-23 13:43:32 +00:00
2021-02-10 15:04:55 +00:00
2020-10-15 17:39:06 +00:00
2021-02-10 15:04:55 +00:00
2021-01-07 09:29:05 +00:00
2021-02-10 15:04:55 +00:00
2020-05-14 18:12:40 +00:00
2020-09-21 13:29:53 +00:00
2021-02-10 15:04:55 +00:00
2020-04-27 09:25:47 +00:00
2020-07-16 13:52:28 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 14:42:02 +00:00
2021-02-15 14:42:02 +00:00
2019-09-09 11:23:54 +00:00
2020-07-08 12:21:08 +00:00
2021-02-05 09:49:13 +00:00
2021-02-10 15:04:55 +00:00
2021-02-10 15:04:55 +00:00