Files
platform-external-webrtc/p2p/base
Jonas Oreland 715d02334b Add feature to not discard candidates after connection is established
In P2PTransportChannel::OnConnectionStateChange there is
code that stop port allocation sessions if the modified
connection is stronly connected.

This means that local candidates are discarded (they are still
gathered, only not surfaced).

The implication of this is that if e.g doing a TURN allocation
slower than P2P is established, the TURN allocation will not be
added to list of local candidates => no TURN connection will be
created.

NOTE: If first connecting kRelay (only RELAY ONLY) then this
patch does matter that much...until an ICE restart happens :)

I discovered this when adding the emulated TURN server
to tests, and being surprised that the TURN allocations
never got used. These test does not (currently) use kRelay
as start.

Bug: webrtc:12210
Change-Id: I78a67201cf421b0e6fdd2ea684a00d740e063f5e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/194141
Reviewed-by: Taylor <deadbeef@webrtc.org>
Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32647}
2020-11-20 06:07:34 +00:00
..
2019-11-18 16:11:27 +00:00
2020-03-03 13:26:27 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-11-04 08:31:07 +00:00
2020-09-07 12:57:15 +00:00
2019-07-08 13:45:15 +00:00
2019-11-18 16:11:27 +00:00
2019-07-08 13:45:15 +00:00
2019-11-18 16:11:27 +00:00
2020-11-02 13:46:16 +00:00