<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div dir="ltr"><div><div>I am writing an application which I would like to stream 8 and 16 bit pcm audio from wav files over rtp to a receiver elsewhere on my network. The control mechanism for this however will eventually be snmp (with SAP messages for the reciever configuration) rather than rtcp so I would like the stream to simply be rtp.<br>
<br></div>I have seen the example program 'testWAVAudioStreamer' which is clearly very close to my needs however using rtsp.<br><br>I was wondering whether there is an example available to use the libraries to send out rtp without the control protocol?<br></div></div></blockquote><div><br></div>Kevin,</div><div><br></div><div>Sorry for the delay in responding.</div><div><br></div><div>Because the "test*Streamer" applications (including "testWAVAudioStreamer") transmit using IP multicast rather than IP unicast, receiving applications *do not* need to use RTSP. RTSP just happens to be a convenient way for a receiving application to get the stream's SDP description. (This is especially true for "testWAVAudioStreamer", because the SDP description depends upon the properties of the particular WAV audio file that it's streaming.</div><div><br></div><div>But there's no reason why the multicast streaming application (e.g., "testWAVAudioStreamer") can't make the SDP description available some other way - e.g., via SAP. To do this, add the following code at line 214 of "testProgs/testWAVAudioStreamer.cpp":</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>char* ourSDPDescription = sms->generateSDPDescription();</div><div><br></div><div>This will give you a SDP description string that you can announce using SAP. (We don't provide code for SAP announcing; you'd have to write that yourself.)</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>