<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><blockquote><p>Please, see file OnDemandServerMediaSubsession.cpp</p></blockquote><div><div>if (clientRTCPPort.num() == 0) {</div><div>      // We're streaming raw UDP (not RTP). Create a single groupsock:</div><div>      NoReuse dummy; // ensures that we skip over ports that are already in use</div><div>      for (serverPortNum = fInitialPortNum; ; ++serverPortNum) {</div><div>struct in_addr dummyAddr; dummyAddr.s_addr = 0;</div></div><div> </div><div>if the second port number was specified, you answer to client - Transport: RAW/RAW/UDP etc, but create RTPSink instead BasicUDPSink.</div><div>Server create BasicUDPSink _only_ if transport raw-udp requested and _one_ port specified.</div></blockquote><div><br></div></div>OK, I understand now what you're asking for.  I find it strange, however, that a client would ask for "RAW/RAW/UDP", but also specify two port numbers in the "client_port=" part of the header.  However, to support clients like this, please change line 714 of "liveMedia/RTSPServer.cpp" from<div><span class="Apple-tab-span" style="white-space:pre">       clientRTCPPortNum = p2;</span></div><div>to</div><div><span class="Apple-tab-span" style="white-space:pre">     clientRTCPPortNum = streamingMode == RAW_UDP ? 0 : p2;</span></div><div><br></div><div>This change will be included in the next version of the software.</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; 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>