[Live-devel] 【External】Re: multiple TCP connections RTSP option keep a live not work

Mono Lu (盧俊佑) Mono.Lu at primax.com.tw
Fri Mar 4 02:15:53 PST 2022


Hi,
        We used two NVRs (set to TCP with RTSP option Keep a live) and we found that the connection dropped every 1 minute. After tracing the packets, we found that the keep-alive option command of the first connection did not get a response from the RTSP server, so the RTSP server closed it after timeout.
And I found that handleAlternativeRequestByte did not receive any data, I also checked AWAITING_DOLLAR in tcpReadHandler1, the fServerRequestAlternativeByteHandler of the first line was modified to NULL, so the first line did not receive Keep a live.

        Is there any reason to do this? Can it be fixed?

Thanks,
Mono

-----Original Message-----
From: live-devel <live-devel-bounces at us.live555.com> On Behalf Of Ross Finlayson
Sent: Wednesday, March 2, 2022 5:04 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: 【External】Re: [Live-devel] multiple TCP connections RTSP option keep a live not work



> On Mar 2, 2022, at 9:59 PM, Mono Lu (盧俊佑) <Mono.Lu at primax.com.tw> wrote:
>
> Hi,
>         We need to implement RTSP server and use it with NVR, but we found that when we connect two TCP connections, the first connection cannot receive any commands, such as OPTION and Teardown.
>         Is this a known issue? Is there any solution?

How specifically are you using our software?  (If you are not using our software, then we cannot help you.)

I suggest that you begin by using our demo applications: The “LIVE555 Media Server”, and “testOnDemandRTSPServer”.  Do you see the same problem when using these server applications (unmodified)?


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

________________________________

The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

本郵件(含所有附件)包含受法律保護以及機密之資訊,僅供本郵件指定的收件人使用。如果您並非指定的收件人,請立即以電子郵件通知寄件人,並將本郵件及所有複印本刪除。請注意,非經授權,嚴格禁止閱覽、散播、散佈或複製本郵件及其內容。



More information about the live-devel mailing list