<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 14pt; position: static; z-index: auto;"><div>I am sending a RTP + MPEG-TS live stream from a windows machine over the WAN to a server machine which is running "testMPEG2TransportReceiver" and piping its output to "testOnDemandRTSPServer". I then connect a client to receive the RTSP stream. I noticed that the "testOnDeamandRTSPServer" buffers data if no client is connected to it.</div></div></div></blockquote><div><br></div>Sort of. Data is being buffered, but it's not happening in the "LIVE555 Streaming Media" library or application code. The buffering is happening in the receiver's OS (in the OS kernel, and the pipe).</div><div><br></div><div>A better solution would be have your server not start receiving data until a client asks for it. A way to do this is to run a "LIVE555 Proxy server" (see <<a href="http://www.live555.com/proxyServer/">http://www.live555.com/proxyServer/</a>>), rather than "testOnDemandRTSPServer". For this to work, your Windows machine will also need to run a RTSPServer (i.e., a 'back end' server) delivering your MPEG TS/RTP stream.</div><br><br><div apple-content-edited="true">
<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; "><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; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>