[Live-devel] [live555] doesn't call closeSockets after teardown for rtsp over tcp

Cihan Kömeçoğlu cihan at thundernsi.com
Sun Feb 23 22:43:37 PST 2020


Hi Qian

I have faced this bug and just solved this a week ago.

I commented following lines and rtsp over tcp is working as expected. 
clientsession and closesockets is caledd properly.

void RTPInterface::clearServerRequestAlternativeByteHandler
(UsageEnvironment& env, int socketNum) {
//*setServerRequestAlternativeByteHandler(env, socketNum, NULL, NULL);*
}

Sincerely


On 23.02.2020 18:20, Zhang Qian(张倩) wrote:
> Hi Ross,
>>
>>
>> I found for rtsp/rtp over tcp, it seems that it doesn't destrcuct 
>> RTSPClientConnection and call closeSockets to close sockets after 
>> teardown for rtsp. Is it normal?
>>
>>
>> for rtsp over udp, I found it will close socket when 
>> handling handleRequestBytes(-1) in RTSPServer.cpp,
>>
>> but for tcp,   after handling teardown, it doesn't call 
>> handleRequestBytes(-1) to close socket.
>>
>>
>> Thanks.
>>
>> /Qian
>>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20200224/a4fd75c4/attachment.htm>


More information about the live-devel mailing list