From d5de611aa960326fe27a2067a5de84ad300f3ea1 Mon Sep 17 00:00:00 2001 From: suresh-khurdiya-infosys Date: Fri, 13 Sep 2024 11:32:10 +0530 Subject: [PATCH] [ONEM-36505]:Webrtc PortChanges_ --- .../platform/mediastream/libwebrtc/LibWebRTCProvider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp b/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp index fcf4ea543ea34..6cfcd000e1783 100644 --- a/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp +++ b/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp @@ -392,6 +392,8 @@ rtc::scoped_refptr LibWebRTCProvider::createPee auto basicPortAllocator = makeUniqueWithoutFastMallocCheck(&networkManager, &packetSocketFactory); basicPortAllocator->set_allow_tcp_listen(false); + fprintf(stderr,"Suresh setPortRange 1 to 65535\n"); + basicPortAllocator->SetPortRange(1, 65535); portAllocator = WTFMove(basicPortAllocator); });