--- Begin Message ---
You are awesome! I just tested your suggestion and, at least according to
netstat, it seems that this did the trick. Thanks a ton :)
----- Original Message -----
From: "Ross Finlayson" <finlay...@live555.com>
To: "LIVE555 Streaming Media, development & use" <live-de...@us.live555.com>
Sent: Wednesday, July 3, 2024 2:06:36 PM
Subject: Re: [Live-devel] RTSP over HTTP on localhost only possible?
> 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
--- End Message ---
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel