[Live-devel] General questions

2023-10-04 Thread Willdoner Christian via live-devel
--- Begin Message --- Hello, I got two questions arised: 1. Can you please explain what the ref_estimate_bitrate variable does and what value it should have when I override it by hand? virtual FramedSource* createNewStreamSource(unsigned client_session_id, unsigned& ref_estimate_bi

[Live-devel] Client IP address for RTSP streaming

2023-06-23 Thread Willdoner Christian via live-devel
--- Begin Message --- 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*)&clientAddr)->sin_addr), ipbuff, INET_ADDRSTRLEN); instead of the Addr

[Live-devel] Client IP address for RTSP streaming

2023-06-22 Thread Willdoner Christian via live-devel
--- Begin Message --- Thank you for the code! it seems to work, except the AddressString(clientAddr).val() seems not to output what I want. Can you please elaborate a bit more what should I get here? Right now I get some strange ASCII characters _ Christian Will

[Live-devel] Client IP address for RTSP streaming

2023-06-21 Thread Willdoner Christian via live-devel
--- Begin Message --- 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(