Re: [Live-devel] Client IP address for RTSP streaming

2023-06-23 Thread Ross Finlayson
> On Jun 23, 2023, at 1:03 AM, Willdoner Christian via live-devel > wrote: > > I think it is a windows problem again.. > Finally I managed to filter out the IP with > char ipbuff[INET_ADDRSTRLEN]; > inet_ntop(clientAddr.ss_family, &(((struct > sockaddr_in*)

Re: [Live-devel] Client IP address for RTSP streaming

2023-06-22 Thread Ross Finlayson
> On Jun 22, 2023, at 6:50 AM, Willdoner Christian via live-devel > wrote: > > > From: Willdoner Christian > Subject: [Live-devel] Client IP address for RTSP streaming > Date: June 22, 2023 at 6:50:21 AM PDT > To: "live-devel@lists.live555.com" > > > Thank you for the code! it seems to wo

Re: [Live-devel] Client IP address for RTSP streaming

2023-06-21 Thread Ross Finlayson
> On Jun 21, 2023, at 7:52 AM, Ross Finlayson wrote: > > virtual ClientConnection* createNewClientConnection(int clientSocket, struct > sockaddr_storage const& clientAddr) { > // The client’s IP address is in “clientAddr”; do what you want with it here In particular, if you want to get the IP

Re: [Live-devel] Client IP address for RTSP streaming

2023-06-21 Thread Ross Finlayson
> On Jun 21, 2023, at 5:15 AM, Willdoner Christian via live-devel > wrote: > Is it now possible to get the IP address from each client connected to the > stream? If this is not easily done, the amount of connected clients would be > sufficient. > If doable, could you please share a code sni