> On Jul 2, 2024, at 8:44 PM, Jörg Dommaschk via live-devel > <live-de...@us.live555.com> wrote: > > Is there a way to make the live555 RTSP server only listen on localhost for > the RTSP-over-HTTP port?
The following code *might* work (although I can’t guarantee it): ipv4AddressBits ReceivingInterfaceAddr_save = ReceivingInterfaceAddr; inet_pton(AF_INET, “127.0.0.1", (u_int8_t*)&ReceivingInterfaceAddr; in6_addr ReceivingInterfaceAddr6_save = ReceivingInterfaceAddr6; inet_pton(AF_INET6, “::1”, (u_int8_t*)&ReceivingInterfaceAddr6; rtspServer->setUpTunnelingOverHTTP(yourDesiredPortNumber); ReceivingInterfaceAddr6 = ReceivingInterfaceAddr6_save; ReceivingInterfaceAddr = ReceivingInterfaceAddr_save; A reminder, once again, that doing RTP/RTCP-over-TCP (including over HTTP) is generally not recommented; you should do it *only if* you have a firewall - between the server and client - that blocks UDP packets. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel