Henrik Boström
0a16276290
Restore FiredDirection and maybe fire OnTrack in Rollback.
...
Prior to this CL, rollback did not restore FiredDirection and remote
streams were only sometimes restored. This resulted in not firing
ontrack if a track was rolled back and then added again on the same
transceiver.
Rollback also never performed OnTrack, which is incorrect because a
transceiver that goes from sendrecv to inactive will cause OnRemoveTrack
and if this is rolled back (so we become sendrecv again) then we need
OnTrack to fire.
This CL improves rollback's "memory", fires ontrack in Rollback() and
adds test coverage.
Needed to solve similar bugs in the Chromium layers as well:
https://chromium-review.googlesource.com/c/chromium/src/+/3613313
Bug: chromium:1320669
Change-Id: I655dd7d8a6b86080fe0e7c32c9e8c6434062ae91
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260330
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36734}
2022-05-02 18:07:24 +00:00
..
2022-04-04 10:30:46 +00:00
2022-04-20 13:18:33 +00:00
2022-04-30 19:21:11 +00:00
2022-03-22 14:04:04 +00:00
2022-04-27 11:57:52 +00:00
2022-04-27 11:57:52 +00:00
2022-02-17 09:00:54 +00:00
2022-02-22 11:14:15 +00:00
2022-04-27 17:13:11 +00:00
2022-04-30 19:21:11 +00:00
2022-04-30 19:21:11 +00:00
2022-04-30 19:21:11 +00:00
2022-04-30 19:21:11 +00:00
2022-03-11 07:46:34 +00:00
2022-02-24 11:05:06 +00:00
2022-03-17 12:13:04 +00:00
2022-04-20 06:35:27 +00:00
2022-04-20 06:35:27 +00:00
2022-04-19 19:41:37 +00:00
2022-04-19 19:41:37 +00:00
2022-04-06 09:35:03 +00:00
2022-02-24 11:05:06 +00:00
2022-03-09 13:23:21 +00:00
2022-03-29 10:14:00 +00:00
2022-03-29 10:14:00 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-03-10 18:36:43 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-03-10 18:36:43 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2021-08-11 23:36:28 +00:00
2022-02-24 11:05:06 +00:00
2022-03-09 13:23:21 +00:00
2022-03-17 09:08:45 +00:00
2022-04-27 17:13:11 +00:00
2022-03-09 13:23:21 +00:00
2022-05-02 10:13:54 +00:00
2022-01-20 11:00:18 +00:00
2021-11-02 11:51:31 +00:00
2021-11-02 11:51:31 +00:00
2022-03-29 10:14:00 +00:00
2022-03-29 10:14:00 +00:00
2022-03-29 10:14:00 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-21 12:32:17 +00:00
2022-02-15 21:55:59 +00:00
2022-04-21 12:32:17 +00:00
2022-04-21 12:32:17 +00:00
2022-04-21 12:32:17 +00:00
2021-08-31 14:27:49 +00:00
2022-04-20 13:18:33 +00:00
2022-04-07 11:25:12 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 06:35:27 +00:00
2022-04-20 06:35:27 +00:00
2022-04-20 13:18:33 +00:00
2022-04-28 12:58:56 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-25 08:50:50 +00:00
2022-04-20 06:35:27 +00:00
2022-05-02 18:07:24 +00:00
2022-04-06 11:57:50 +00:00
2022-04-20 13:18:33 +00:00
2022-01-04 20:44:07 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-05-02 09:04:32 +00:00
2022-04-28 14:19:16 +00:00
2022-03-18 16:17:24 +00:00
2022-03-18 16:17:24 +00:00
2022-02-24 11:05:06 +00:00
2022-04-27 17:13:11 +00:00
2022-05-02 10:56:22 +00:00
2022-05-02 10:56:22 +00:00
2022-02-24 11:05:06 +00:00
2022-05-02 10:56:22 +00:00
2022-02-24 11:05:06 +00:00
2021-11-15 21:44:59 +00:00
2021-08-11 21:50:08 +00:00
2021-11-15 21:44:59 +00:00
2022-03-10 18:36:43 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-04-27 11:57:52 +00:00
2022-04-30 19:21:11 +00:00
2022-04-20 13:18:33 +00:00
2022-02-24 11:05:06 +00:00
2022-04-30 19:21:11 +00:00
2022-05-02 18:07:24 +00:00
2022-05-02 18:07:24 +00:00
2022-04-21 12:32:17 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-03-18 16:17:24 +00:00
2021-10-18 13:32:22 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-04-20 13:18:33 +00:00
2022-05-02 18:07:24 +00:00
2022-04-30 19:21:11 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-01-25 08:25:50 +00:00
2022-01-25 08:25:50 +00:00
2021-11-04 14:46:27 +00:00
2022-02-24 11:05:06 +00:00
2022-01-27 12:55:44 +00:00
2022-03-09 13:23:21 +00:00
2022-04-06 07:41:52 +00:00
2022-04-06 07:41:52 +00:00
2022-03-09 13:23:21 +00:00
2022-03-29 10:14:00 +00:00
2022-03-29 10:14:00 +00:00
2022-04-21 12:32:17 +00:00
2022-03-29 10:14:00 +00:00
2022-03-29 10:14:00 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-05-02 18:07:24 +00:00
2022-05-02 18:07:24 +00:00
2022-05-02 10:13:54 +00:00
2022-02-24 11:05:06 +00:00
2022-01-18 13:46:37 +00:00
2022-02-24 11:05:06 +00:00
2022-04-27 11:57:52 +00:00
2022-04-27 11:57:52 +00:00
2022-02-24 11:05:06 +00:00
2022-01-20 11:00:18 +00:00
2022-03-18 16:17:24 +00:00
2022-02-24 11:05:06 +00:00
2022-02-09 16:54:06 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2022-03-21 10:38:52 +00:00
2022-03-21 10:38:52 +00:00
2022-04-25 08:50:50 +00:00
2022-04-25 08:50:50 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 06:35:27 +00:00