Make negotiationneeded processing in PeerConnection spec compliant.

This CL fixes the problem of misfired negotiationneeded notifications due
to the lack of a NegotiationNeeded slot and the proper procedure to
update it.


Change-Id: Ie273c691f11316c9846606446f6cf838226b5d5c
Bug: chromium:740501
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131283
Commit-Queue: Guido Urdaneta <guidou@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27594}
This commit is contained in:
Guido Urdaneta
2019-04-11 14:37:27 +02:00
committed by Commit Bot
parent 16cb8f5d74
commit 1fa06041bc
7 changed files with 289 additions and 26 deletions

View File

@ -1132,8 +1132,10 @@ public class PeerConnectionTest {
System.gc();
}
// TODO(https://bugs.webrtc.org/10526): Fix and re-enable this test.
@Test
@MediumTest
@DisabledTest
public void testDataChannelOnlySession() throws Exception {
// Allow loopback interfaces too since our Android devices often don't
// have those.
@ -1291,8 +1293,10 @@ public class PeerConnectionTest {
System.gc();
}
// TODO(https://bugs.webrtc.org/10526): Fix and re-enable this test.
@Test
@MediumTest
@DisabledTest
public void testTrackRemovalAndAddition() throws Exception {
// Allow loopback interfaces too since our Android devices often don't
// have those.