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
..
TestSyncRunnable.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
buffered_stun_socket_unittest.cpp
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
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
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
proxy_tunnel_socket_unittest.cpp
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
simpletokenbucket_unittest.cpp
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
test_nr_socket_unittest.cpp
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