[Live-devel] Client IP address for RTSP streaming

Willdoner Christian Christian.Willdoner at voestalpine.com
Wed Jun 21 05:15:29 PDT 2023


Hello,

I am establishing a RTSP Server connection for streaming H264. With m_p_rtsp_server = RTSPServer::createNew(...) and m_p_server_media_session = ServerMediaSession::createNew(...) which is added to the RTSP server instance with m_p_rtsp_server->addServerMediaSession(m_p_server_media_session); where m_p_server_media_session->addSubsession(p_sms); is called before. p_sms is a subclassed version from OnDemandServerMediaSubsession for H264 purpose.

This works very good so far. With e.g. VLC player every client is able to receive the stream from the server.

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 snippet?

Thank you!

_________________________________

Christian Willdoner
Sensor Systems & Machine Learning
SFM - F&E Mechatronik

voestalpine Stahl GmbH
voestalpine-Straße 3
4020 Linz, Austria
M: 0664 8364729
christian.willdoner at voestalpine.com<mailto:christian.willdoner at voestalpine.com>
www.voestalpine.com<http://www.voestalpine.com/>

voestalpine - One step ahead.

Firmensitz: Linz
Firmenbuchnummer: FN 78052h
Firmenbuchgericht: Landesgericht Linz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20230621/7628d5b8/attachment.htm>


More information about the live-devel mailing list