<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, our server starts sending out RTP packets just before sending back the RTSP "PLAY" response. The reason for this is that the RTSP response includes a "RTP-Info" header, whose contents (in part) depend upon parameters obtained as a result of starting to send out RTP packets.<div><br></div><div>But this should not be a problem for our receiving code - even when using RTP/RTP-over-TCP - because RTP or RTCP packets - when included in a TCP stream - are framed beginning with a dollar ('$') character (plus channel id and length fields), and are demultiplexed and redirected properly: RTP or RTCP packets go to their appropriate reading objects ("RTPSource" or "RTCPInstance", respectively), and RTSP requests or responses go to the 'alternative byte handler' (which, for a "RTSPClient", is the "handleAlternativeRequestByte()" function - which ends up calling "handleResponseBytes()").</div><div><br></div><div>So I don't know why you might be having a problem receiving data like this - especially if you're seeing the problem on one kind of network, but not another. I wonder if perhaps you have a driver or network bug somewhere that's losing some data somewhere, even though it's part of a TCP stream??</div><br><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>