DescriptionFixing the behavior of the candidate filter with pooled candidates.
According to JSEP, the candidate filter does not affect pooled
candidates because they can be filtered once they're ready to be
surfaced to the application.
So, pooled port allocator sessions will use a filter of CF_ALL, with a
new filter applied when the session is taken by a P2PTransportChannel.
When the filter is applied:
* Some candidates may no longer be returned by ReadyCandidates()
* Some candidates may no longer have a "related address" (for privacy)
* Some ports may no longer be returned by ReadyPorts()
To simplify this, the candidate filtering logic is now moved up from
the Ports to the BasicPortAllocator, with some helper methods to perform
the filtering and stripping out of data.
R=honghaiz@webrtc.org, pthatcher@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/417eebe5dd5b7ee9e9e8da11a48fc8a19df4eca3
Patch Set 1 #
Total comments: 2
Patch Set 2 : Merge with master #Patch Set 3 : Revising a comment and changing order of member variable declaration #
Total comments: 8
Patch Set 4 : Responding to comments and using cricket:: namespace in unit test file. #Patch Set 5 : Merge with master (no more OnShake!) #Patch Set 6 : Merge with master again #Patch Set 7 : Updating unit tests. #Patch Set 8 : Fixing another merge conflict (just change in timeout value in test) #Patch Set 9 : Undoing unintentional "git cl format" of unrelated files. #
Messages
Total messages: 25 (12 generated)
|