Steve Anton
5c72e71e14
[Unified Plan] Fix issues with recycling m= sections
...
Previously, the PeerConnection would look at the pending local
and remote descriptions also to determine if an m= section is
recycled. That is not quite spec compliant and breaks down under
some edge cases. This changes the PeerConnection to look only at
the *current* local or remote description (i.e., the descriptions
from the last time the PeerConnection was in a stable signaling
state) to determine if an m= section is recycled.
Additionally, the MediaSessionFactory only looked at the local
description to determine if an m= section is recycled. The full
criteria requires looking at the current local and current remote
m= sections. This change adds a state enum to the
MediaDescriptionOptions so that the MediaSessionFactory knows if
a media section is being recycled without duplicating the logic
in PeerConnection.
Tests are added to cover additional edge cases.
Bug: chromium:899680
Change-Id: I5bcf0f88957a61653269ed8bb50b2018500bc1d5
Reviewed-on: https://webrtc-review.googlesource.com/c/111293
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25959}
2018-12-10 23:38:55 +00:00
..
2018-12-04 10:29:32 +00:00
2017-11-28 21:29:18 +00:00
2018-11-28 18:25:07 +00:00
2018-12-03 20:13:53 +00:00
2018-12-04 12:36:50 +00:00
2018-11-16 19:31:11 +00:00
2018-11-16 19:31:11 +00:00
2018-11-14 16:23:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-09 00:40:32 +00:00
2018-05-18 17:07:16 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 19:39:28 +00:00
2018-12-06 12:06:34 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-08-31 22:49:26 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-10-12 09:59:40 +00:00
2018-11-28 19:39:28 +00:00
2018-12-06 18:11:28 +00:00
2018-11-28 19:39:28 +00:00
2018-12-10 10:01:24 +00:00
2018-12-10 10:01:24 +00:00
2018-11-28 19:39:28 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-12-10 23:38:55 +00:00
2018-12-10 23:38:55 +00:00
2018-12-10 23:38:55 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-07-25 14:53:33 +00:00
2018-07-03 20:39:17 +00:00
2018-11-28 19:39:28 +00:00
2018-11-22 09:07:51 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-22 09:07:51 +00:00
2018-12-10 10:01:24 +00:00
2018-12-10 23:38:55 +00:00
2018-11-16 15:40:45 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-22 09:07:51 +00:00
2018-12-10 23:38:55 +00:00
2018-12-07 09:54:59 +00:00
2018-11-13 16:14:50 +00:00
2018-11-28 18:25:07 +00:00
2018-11-16 15:40:45 +00:00
2018-10-08 18:11:06 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 20:22:10 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 14:00:39 +00:00
2018-11-28 18:25:07 +00:00
2018-01-18 19:01:38 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 14:00:39 +00:00
2017-12-20 00:21:52 +00:00
2018-11-28 18:25:07 +00:00
2018-11-27 15:10:09 +00:00
2018-11-27 15:10:09 +00:00
2018-07-25 14:53:33 +00:00
2018-11-28 18:25:07 +00:00
2018-03-19 15:32:16 +00:00
2018-11-28 18:25:07 +00:00
2018-01-27 02:20:29 +00:00
2018-11-28 18:25:07 +00:00
2018-05-03 10:41:41 +00:00
2018-11-07 15:35:56 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-14 16:23:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-14 16:23:07 +00:00
2018-12-04 12:36:50 +00:00
2018-11-28 18:25:07 +00:00
2018-11-05 16:21:39 +00:00
2018-11-05 16:21:39 +00:00
2018-07-19 23:00:20 +00:00
2018-11-05 16:21:39 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-12-03 20:13:53 +00:00
2018-12-03 20:13:53 +00:00
2018-12-03 20:13:53 +00:00
2018-07-05 10:59:49 +00:00
2017-12-20 00:21:52 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-12-03 20:13:53 +00:00
2018-12-03 20:13:53 +00:00
2018-12-03 20:13:53 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-10-31 16:04:16 +00:00
2018-11-28 18:25:07 +00:00
2018-10-09 12:10:55 +00:00
2018-10-09 12:10:55 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-12-10 18:49:34 +00:00
2018-11-28 20:22:10 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-06-19 20:55:07 +00:00
2018-02-23 00:13:45 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 20:55:07 +00:00
2018-07-25 14:53:33 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-10-15 19:52:31 +00:00
2018-12-05 09:53:21 +00:00
2018-12-03 20:13:53 +00:00
2018-10-25 11:41:16 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00