<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>yes, i know you said, but i think the problem is when a client not receive data, it will do while in <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> MultiFramedRTPSource::doGetNextFrame1, return after receive RTCP BYE from server(about 2min) .  in  </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">doGetNextFrame1 the other client can't receive data. </span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div>i try to check stream in thread, if 15 sec not receive ,  i  shutdown the client,but it will crash</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>wangdanhui_jx@aliyun.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:live-devel-request@ns.live555.com">live-devel-request</a></div><div><b>Date:</b> 2017-09-21 03:00</div><div><b>To:</b> <a href="mailto:live-devel@ns.live555.com">live-devel</a></div><div><b>Subject:</b> live-devel Digest, Vol 166, Issue 11</div></div></div><div><div>Send live-devel mailing list submissions to</div>
<div>     live-devel@lists.live555.com</div>
<div> </div>
<div>To subscribe or unsubscribe via the World Wide Web, visit</div>
<div>     http://lists.live555.com/mailman/listinfo/live-devel</div>
<div>or, via email, send a message with subject or body 'help' to</div>
<div>     live-devel-request@lists.live555.com</div>
<div> </div>
<div>You can reach the person managing the list at</div>
<div>     live-devel-owner@lists.live555.com</div>
<div> </div>
<div>When replying, please edit your Subject line so it is more specific</div>
<div>than "Re: Contents of live-devel digest..."</div>
<div> </div>
<div> </div>
<div>Today's Topics:</div>
<div> </div>
<div>   1. Your problems with "testRTSPClient" (Ross Finlayson)</div>
<div> </div>
<div> </div>
<div>----------------------------------------------------------------------</div>
<div> </div>
<div>Message: 1</div>
<div>Date: Wed, 20 Sep 2017 00:38:17 -0700</div>
<div>From: Ross Finlayson <finlayson@live555.com></div>
<div>To: LIVE555 Streaming Media - development & use</div>
<div>     <live-devel@ns.live555.com></div>
<div>Subject: [Live-devel] Your problems with "testRTSPClient"</div>
<div>Message-ID: <82B00BEC-9459-473E-A46F-D00366D5D925@live555.com></div>
<div>Content-Type: text/plain; charset=utf-8</div>
<div> </div>
<div>> sorry. it will return after 1min32sec  as receive BYE . </div>
<div> </div>
<div>What is probably happening here is that your RTSP server is not receiving any RTCP ?RR? (Reception Report) packets from the client, and is therefore concluding that the client is no longer alive.  The server therefore 'times out? and closes the session (and sends a RTCP ?BYE? when it does this).</div>
<div> </div>
<div>It appears that you have a firewall - somewhere between the client and the server - that is blocking RTCP packets from the client.  If you fix (or remove) this firewall, the server will start receiving RTCP ?RR? packets from the client, and will no longer 'time out? the connection after ~ 1min32sec.</div>
<div> </div>
<div>(Another way to solve this is to arrange for your client to periodically send a ?keep-alive? RTSP command (e.g., ?OPTIONS?) back to the server - to tell the server that the client is still alive.  For an example of how to do this, see how our ?openRTSP? application <http://www.live555.com/openRTSP/> implements the ?-K? option; see ?playCommon.cpp?, lines 371-374.)</div>
<div> </div>
<div> </div>
<div>Another problem you have (though less serious than the first problem) is that RTCP ?SR? (Sender Report) packets from the server 192.168.11.114 are not reaching the client.  You can see this by the exclamation point (i.e., ?!?) at the end of the ?Presentation time?s for that server; ?testRTSPClient? outputs this when the presentation time has not been synchronized by the arrival of a RTCP ?SR? packet.</div>
<div> </div>
<div>This is not serious, as long as the stream contains only a video track.  However, if you want to have both a video and an audio track, and have them properly synchronized, then it?s important that the server send out RTCP ?SR? packets, and that the client be able to receive them.</div>
<div> </div>
<div> </div>
<div>Ross Finlayson</div>
<div>Live Networks, Inc.</div>
<div>http://www.live555.com/</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>------------------------------</div>
<div> </div>
<div>Subject: Digest Footer</div>
<div> </div>
<div>_______________________________________________</div>
<div>live-devel mailing list</div>
<div>live-devel@lists.live555.com</div>
<div>http://lists.live555.com/mailman/listinfo/live-devel</div>
<div> </div>
<div> </div>
<div>------------------------------</div>
<div> </div>
<div>End of live-devel Digest, Vol 166, Issue 11</div>
<div>*******************************************</div>
</div></blockquote>
</body></html>