Re: [Live-devel] Use of fTCPStreams

2019-12-31 Thread Ross Finlayson
> On Jan 1, 2020, at 7:27 AM, Jeff Shanab wrote: > > I have, I think a unique problem that uses the same section of code so it > seems a good time to ask a related question. > > I have reuseFirstSource set because it is a live source. > In this test I have 2 or more clients connected, 1 of th

Re: [Live-devel] Use of fTCPStreams

2019-12-31 Thread Jeff Shanab
I have, I think a unique problem that uses the same section of code so it seems a good time to ask a related question. I have reuseFirstSource set because it is a live source. In this test I have 2 or more clients connected, 1 of them is a slow consumer causing the OS to backup the socket until a

Re: [Live-devel] Use of fTCPStreams

2019-12-31 Thread Ross Finlayson
> In which condition same RTP/RTCP packet needs to be sent to each > socket(fTCPStreams)? or > What is the use case of same RTP/RTCP packet needs to be sent to each > socket(fTCPStreams)? This can happen, for example, if a RTSP server is sending the exact same stream to more than one client - i

[Live-devel] Use of fTCPStreams

2019-12-31 Thread Saurabh Modi via live-devel
--- Begin Message --- Hi, Thanks for the quick response I have not modified live555 code. I am going through the sending logic over tcp in live555 library. I found the below code in RTPInterface.cpp file. Boolean RTPInterface:sendPacket(unsigned char* packet, unsigned packetsize) { Boolea

Re: [Live-devel] Use of fTCPStreams

2019-12-30 Thread Ross Finlayson
This part of the code is used only internally to our library - to implement the optional sending/receiving of RTP/RTCP over the RTSP TCP (control channel) connection. This happens automatically when a client and server have set up streaming over TCP; It should never be called directly by applic

[Live-devel] Use of fTCPStreams

2019-12-30 Thread Saurabh Modi via live-devel
--- Begin Message --- Hi, We have a tcpStreamRecord type variable in the RTPInterface class. What is it actually used for? In the sendPacket method, we have used this to send the RTP packet over each of the TCP streams that it points to but what could be the case for these multiple streams requirin