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

Cihan Kömeçoğlu cihan at thundernsi.com
Mon Feb 24 00:46:25 PST 2020


Hi Qian,

Ross is solved this issue more proper way in latest version.

It has just deployed an hour ago

On 24.02.2020 11:06, Zhang Qian(张倩) wrote:
>
> Thanks. Cihan, I will try it.
>
> *发件人:*live-devel <live-devel-bounces at us.live555.com> *代表 *Cihan 
> K?me?o?lu
> *发送时间:*2020年2月24日14:44
> *收件人:*LIVE555 Streaming Media - development & use 
> <live-devel at us.live555.com>
> *主题:*Re: [Live-devel] [live555] doesn't call closeSockets after 
> teardown for rtsp over tcp
>
> 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 <mailto:live-devel at lists.live555.com>
>
>     http://lists.live555.com/mailman/listinfo/live-devel
>
>
> _______________________________________________
> 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/c3ff24ad/attachment.htm>


More information about the live-devel mailing list