gecko-dev/media/mtransport/test
Michael Froman 032f9ca0bc Bug 1345511 - pt 1 - nICEr changes to support stun addr gathering from main process. r=bwc
Expose a tweaked version of nr_ice_get_local_addresses to allow callers to
provide pre-fetched stun addrs if they are available.  By default, the normal
call to nr_ice_gather calls this with no pre-fetched stun addrs (read
non-e10s).  In e10s, the stun addrs are discovered on the main process and
provided to nr_ice_get_local_addreses.  When nr_ice_gather is called from
the content process the local addresses have already been gathered.

In the past, nr_ice_get_local_addresses also applied policy (by removing
duplicate addrs, and, based on stun prefs, removing loopback and/or
link_local addrs.  This functionality has been moved to
nr_ice_set_local_addresses where other policy is being applied (like
default route only, forcing specific interfaces, and prioritization).

Because we're now serializing nr_local_addr (wrapped by NrIceStunAddr), we
can't assume that certain pointer references in the source nr_local_addr
are correct when calling nr_local_addr_copy.  New non-pointer-arithmetic
version of setting up the pointer on the copied nr_local_addr is used.  Also
easier to understand when walking up to it the first time.

MozReview-Commit-ID: KVRFl4dfr7J

--HG--
extra : rebase_source : c0437700ad77ee3b7f98947d3505551ca9ed43e9
2017-03-16 12:06:09 -05:00
..
buffered_stun_socket_unittest.cpp Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup 2016-03-02 15:28:27 -05:00
dummysocket.h
gtest_ringbuffer_dumper.h Bug 1309129: enable redirecting of nICEr logging to NSPR logging. r=bwc 2016-10-11 00:17:26 -07:00
gtest_utils.h Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc 2016-02-25 14:25:49 -08:00
ice_unittest.cpp Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno 2017-02-24 14:05:27 -06:00
moz.build Bug 1309129: enable redirecting of nICEr logging to NSPR logging. r=bwc 2016-10-11 00:17:26 -07:00
mtransport_test_utils.h Bug 1193762 part 8 - Fix things that will break; r=froydnj 2016-05-01 21:29:23 +03:00
multi_tcp_socket_unittest.cpp Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/mtransport/ r=bwc=jesup 2017-02-13 14:42:00 +01:00
nrappkit_unittest.cpp Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures 2016-02-26 17:14:57 -08:00
proxy_tunnel_socket_unittest.cpp Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup 2016-03-02 15:28:27 -05:00
rlogconnector_unittest.cpp Bug 1309129: enable redirecting of nICEr logging to NSPR logging. r=bwc 2016-10-11 00:17:26 -07:00
runnable_utils_unittest.cpp Bug 1329932 - Remove unneeded nsXPCOMGlue includes. r=glandium 2017-01-10 18:40:50 +09:00
sctp_unittest.cpp Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures 2016-02-26 17:14:57 -08:00
simpletokenbucket_unittest.cpp Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures 2016-02-26 17:14:57 -08:00
sockettransportservice_unittest.cpp Bug 1329932 - Remove unneeded nsXPCOMGlue includes. r=glandium 2017-01-10 18:40:50 +09:00
stunserver.cpp Bug 1345511 - pt 1 - nICEr changes to support stun addr gathering from main process. r=bwc 2017-03-16 12:06:09 -05:00
stunserver.h Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup 2016-03-02 15:28:27 -05:00
test_nr_socket_unittest.cpp Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno 2016-02-29 12:33:47 -06:00
TestSyncRunnable.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
transport_unittests.cpp Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno 2017-02-24 14:05:27 -06:00
turn_unittest.cpp Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug 2016-04-08 09:20:53 -05:00