[Live-devel] Stream WAV audio over RTP

Kevin Silver ksilver986 at gmail.com
Wed Feb 12 01:54:55 PST 2014


Ross,

Thank you very much for this.  Exactly the information I required.  I have
written a SAP implementation and this is now working well for my needs.

Thank you for your help

Kevin


On 7 February 2014 02:52, Ross Finlayson <finlayson at live555.com> wrote:

> 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.
>
> I have seen the example program 'testWAVAudioStreamer' which is clearly
> very close to my needs however using rtsp.
>
> I was wondering whether there is an example available to use the libraries
> to send out rtp without the control protocol?
>
>
> Kevin,
>
> Sorry for the delay in responding.
>
> 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.
>
> 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":
>
> char* ourSDPDescription = sms->generateSDPDescription();
>
> 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.)
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140212/f58cb0e7/attachment-0001.html>


More information about the live-devel mailing list