feat(libwebrtc): implement the rtc::NetworkManager::GetMdnsResponder default #15265
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15265"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-02T22:35:12Z.
What
Implements the base-class default of
rtc::NetworkManager::GetMdnsResponder() constin libwebrtc, and the_ZThn8_thunk through whichNetworkManager'sMdnsResponderProviderbase at offset 8 reaches it. Both threw and were declared without parameters.The module's WebRTC revision lies between M127 and M134, as recorded in the debt file. The default in
network.cc(M127, M134) returns null at both without reading the object, and so does the thunk.src/NetworkManager.cppstarts with that file's WebRTC notice and the BSD licence. It removes 2 exports from the inventory.Tested
Ubuntu 26.04 (WSL2, kernel 6.18), GCC 15.2.0, Release, full build with
BUILD_TESTING=ON.guest_webrtc_network_managertest: both entry points return null, also for a null object.ctest -j16on head a8544d43a1: 3596/3596 pass.check_conventions.py --base upstream/mainpasses.pr_overlap.py: no open pull request implements these functions. The shared lines are the pending-export count indocs/dev/debt/libwebrtc.mdand the source, test and declaration lists inCMakeLists.txtandApi.hpp.main4f41f4c375, head 8c4b681a29, to resolve the conflicts on the sharedCMakeLists.txt,Export.cppand debt-file lines; both sides are kept and the debt count is recomputed fromExport.cpp. Full build andctest -j16: 3796/3800 pass;guest_sce_net,guest_poll,guest_select_waitandguest_memoryfailed under that load, pass when run alone, andmain4f41f4c375passes all 3799 with-j16on the same machine.check_conventions.py --base upstream/mainpasses.Derived fromline forrtc_base/network.cc. Full build andctest -j16: 3796/3800 pass;guest_sce_net,guest_poll,guest_select_waitandguest_memoryfail only when the suite runs as a background job here, and pass when run in the foreground on this head and onmain.check_conventions.py --base upstream/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)